Commit 0c80a5b2 authored by James Bottomley's avatar James Bottomley

aacraid warning fix

From: Christoph Hellwig <hch@lst.de>

Fix:

drivers/scsi/aacraid/aachba.c:1409: warning: `flag' might be used uninitialized in this function
parent 0eeaad0c
......@@ -1427,6 +1427,7 @@ static int aac_send_srb_fib(struct scsi_cmnd* scsicmd)
flag = SRB_DataIn;
break;
case DMA_NONE:
default: /* shuts up some versions of gcc */
flag = SRB_NoDataXfer;
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment