[PATCH] gfp annotations: scsi_error
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 10 Oct 2006 21:47:47 +0000 (22:47 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Oct 2006 22:37:23 +0000 (15:37 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/scsi/scsi_error.c

index 3d355d054612bd0ec6a30cda4af65ff8aacd6001..aff1b0cfd4b25bfcdf2ceda22e6d522969d7ab9b 100644 (file)
@@ -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;