]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fnic: fix incorrect use of SLAB_CACHE_DMA flag
authorAbhijeet Joglekar <abjoglek@cisco.com>
Tue, 14 Jun 2011 04:21:01 +0000 (21:21 -0700)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:20:56 +0000 (15:20 +0800)
commit78f58655b26bb9b5cc5b19c1270d7d1d4a549ad9
tree019d481ac9c421b73bf4488337c893f21b6be2aa
parentd5bb49e6a40d147a23693c106b532225b5300043
fnic: fix incorrect use of SLAB_CACHE_DMA flag

Driver was incorrectly using the SLAB_CACHE_DMA flag when creating a cache
for SGLs. fnic device does not have 24-bit DMA restrictions. Remove the flag
and allocations from ZONE_DMA.

Thanks to Roland Dreier and David Rientjes for pointing out the bug.

Signed-off-by: Abhijeet Joglekar <abjoglek@cisco.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
(cherry picked from commit 0c79c74272b25bbcfb0149d5a4627ed768795d2d)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/fnic/fnic.h
drivers/scsi/fnic/fnic_main.c
drivers/scsi/fnic/fnic_scsi.c