diff options
| author | Mikulas Patocka <[email protected]> | 2014-10-09 22:26:20 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-10-10 02:25:51 +0000 |
| commit | 9163582c3f22cfba90a78749751ac70b127a9167 (patch) | |
| tree | e3300b170d693fae1ae2f35dce016f5ecedb6058 /lib/genalloc.c | |
| parent | kernel/kthread.c: partial revert of 81c98869faa5 ("kthread: ensure locality o... (diff) | |
| download | kernel-9163582c3f22cfba90a78749751ac70b127a9167.tar.gz kernel-9163582c3f22cfba90a78749751ac70b127a9167.zip | |
slab: fix for_each_kmem_cache_node()
Fix a bug (discovered with kmemcheck) in for_each_kmem_cache_node(). The
for loop reads the array "node" before verifying that the index is within
the range. This results in kmemcheck warning.
Signed-off-by: Mikulas Patocka <[email protected]>
Reviewed-by: Pekka Enberg <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions
