Skip to contentSkip to conversation

gfp annotations: scsi_error

PATCH New Al Viro 1 participant 1 message Oct 10, 2006 SCSI

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 gfp annotations: scsi_error

---
 drivers/scsi/scsi_error.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/scsi_error.c +1 -1
index 3d355d0..aff1b0c 100644
@@ -495,7 +495,7 @@ static int scsi_send_eh_cmnd(struct scsi
 	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;
Signature · 1 line
1.4.2.GIT