scsi: sun_esp: don't use GFP_ATOMIC for command block allocation
authorChristoph Hellwig <hch@lst.de>
Sat, 13 Oct 2018 07:26:24 +0000 (09:26 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 16 Oct 2018 03:00:38 +0000 (23:00 -0400)
commit10c0cd38ce4cd2015a683e296596738adab9221f
treec4a2432190f35e40c4fc8c27db5ba86de9e6700d
parentd47b3bd797f158366a4b2193ae82e191a21c45f3
scsi: sun_esp: don't use GFP_ATOMIC for command block allocation

esp_sbus_map_command_block is called straight from the probe routine
without any locks held, so we can safely use GFP_KERNEL here.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sun_esp.c