diff options
| author | Jan Kara <[email protected]> | 2015-02-13 22:36:47 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-02-14 05:21:36 +0000 |
| commit | 310ee9e8f370f8fd7a76856726aea88839bb0f8f (patch) | |
| tree | e1cb008a16a701566c81f89ad4d68cc714b34381 /lib/bitmap.c | |
| parent | lib/string.c: improve strrchr() (diff) | |
| download | kernel-310ee9e8f370f8fd7a76856726aea88839bb0f8f.tar.gz kernel-310ee9e8f370f8fd7a76856726aea88839bb0f8f.zip | |
lib/genalloc.c: check result of devres_alloc()
devm_gen_pool_create() calls devres_alloc() and dereferences its result
without checking whether devres_alloc() succeeded. Check for error and
bail out if it happened.
Coverity-id 1016493.
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
