summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorJoonsoo Kim <js1304@gmail.com>2013-02-04 23:46:46 +0900
committerPekka Enberg <penberg@kernel.org>2013-02-06 20:37:55 +0200
commitb1e0541674904db00e17ce646b0a1d54f59136a5 (patch)
tree2d53f1ffcca5fcb72fe22e0797c7d829c7bd28c2 /drivers/i2c
parentdb8450673458e724229e91050ac9a92253b01234 (diff)
downloadlinux-b1e0541674904db00e17ce646b0a1d54f59136a5.tar.gz
linux-b1e0541674904db00e17ce646b0a1d54f59136a5.tar.bz2
linux-b1e0541674904db00e17ce646b0a1d54f59136a5.zip
mm/sl[au]b: correct allocation type check in kmalloc_slab()
commit "slab: Common Kmalloc cache determination" made mistake in kmalloc_slab(). SLAB_CACHE_DMA is for kmem_cache creation, not for allocation. For allocation, we should use GFP_XXX to identify type of allocation. So, change SLAB_CACHE_DMA to GFP_DMA. Acked-by: Christoph Lameter <cl@linux.com> Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Joonsoo Kim <js1304@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions