From: Al Viro Date: Tue, 10 Oct 2006 21:47:47 +0000 (+0100) Subject: [PATCH] gfp annotations: scsi_error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fa1f5ea860af34d74c1475eddde3364e71fac15d;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [PATCH] gfp annotations: scsi_error Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index 3d355d054612..aff1b0cfd4b2 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c @@ -495,7 +495,7 @@ static int scsi_send_eh_cmnd(struct scsi_cmnd *scmd, unsigned char *cmnd, memcpy(scmd->cmnd, cmnd, cmnd_size); if (copy_sense) { - int gfp_mask = GFP_ATOMIC; + gfp_t gfp_mask = GFP_ATOMIC; if (shost->hostt->unchecked_isa_dma) gfp_mask |= __GFP_DMA;