[PATCH] gfp annotations: scsi_error
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@@ -495,7 +495,7 @@ static int scsi_send_eh_cmnd(struct scsi_cmnd *scmd, unsigned char *cmnd,
|
|||||||
memcpy(scmd->cmnd, cmnd, cmnd_size);
|
memcpy(scmd->cmnd, cmnd, cmnd_size);
|
||||||
|
|
||||||
if (copy_sense) {
|
if (copy_sense) {
|
||||||
int gfp_mask = GFP_ATOMIC;
|
gfp_t gfp_mask = GFP_ATOMIC;
|
||||||
|
|
||||||
if (shost->hostt->unchecked_isa_dma)
|
if (shost->hostt->unchecked_isa_dma)
|
||||||
gfp_mask |= __GFP_DMA;
|
gfp_mask |= __GFP_DMA;
|
||||||
|
Reference in New Issue
Block a user