]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: aacraid: remove bogus GFP_DMA32 specifies
authorChristoph Hellwig <hch@lst.de>
Wed, 30 May 2018 09:09:59 +0000 (11:09 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 6 Jun 2018 01:15:08 +0000 (21:15 -0400)
commit1ea601602aafcd07894a5249081c8108fcec0bb8
tree4dac32f80e5ebdbb048b37cbb5c4fee334f7b539
parent72ead8d7bcec8077ba28d2918676b38f8dda840a
scsi: aacraid: remove bogus GFP_DMA32 specifies

For one GFP_DMA32 does not actually work with kmalloc, as we only have
GFP_DMA and GFP_KERNEL caches, but not GFP_DMA32.  Second the memory
is mapped using the proper DMA API anyway, which would include proper
bounce buffering if needed by the device.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/commctrl.c