Explorar el Código

[PATCH] gfp annotations: scsi_error

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Al Viro hace 18 años
padre
commit
fa1f5ea860
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/scsi/scsi_error.c

+ 1 - 1
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);
 	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;