summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2019-11-02 00:25:08 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-05 09:19:40 +0100
commit8ef58b82d1e48378a53d2390629f23fba3aaf8c2 (patch)
treef6f96929ac8e124932b7cd91982e5040e3a76632 /sound
parent88358c7610cc29234f795bb9deca4ece95fd2c1b (diff)
idr: Fix idr_alloc_u32 on 32-bit systems
[ Upstream commit b7e9728f3d7fc5c5c8508d99f1675212af5cfd49 ] Attempting to allocate an entry at 0xffffffff when one is already present would succeed in allocating one at 2^32, which would confuse everything. Return -ENOSPC in this case, as expected. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions