aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/aachba.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/aacraid/aachba.c')
-rw-r--r--drivers/scsi/aacraid/aachba.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c
index f3fc35386060..66d48e0c4cd7 100644
--- a/drivers/scsi/aacraid/aachba.c
+++ b/drivers/scsi/aacraid/aachba.c
@@ -562,10 +562,10 @@ static void setinqstr(int devtype, void *data, int tindex)
562 inqstrcpy ("V1.0", str->prl); 562 inqstrcpy ("V1.0", str->prl);
563} 563}
564 564
565void set_sense(u8 *sense_buf, u8 sense_key, u8 sense_code, 565static void set_sense(u8 *sense_buf, u8 sense_key, u8 sense_code,
566 u8 a_sense_code, u8 incorrect_length, 566 u8 a_sense_code, u8 incorrect_length,
567 u8 bit_pointer, u16 field_pointer, 567 u8 bit_pointer, u16 field_pointer,
568 u32 residue) 568 u32 residue)
569{ 569{
570 sense_buf[0] = 0xF0; /* Sense data valid, err code 70h (current error) */ 570 sense_buf[0] = 0xF0; /* Sense data valid, err code 70h (current error) */
571 sense_buf[1] = 0; /* Segment number, always zero */ 571 sense_buf[1] = 0; /* Segment number, always zero */
@@ -813,7 +813,7 @@ static void write_callback(void *context, struct fib * fibptr)
813 aac_io_done(scsicmd); 813 aac_io_done(scsicmd);
814} 814}
815 815
816int aac_read(struct scsi_cmnd * scsicmd, int cid) 816static int aac_read(struct scsi_cmnd * scsicmd, int cid)
817{ 817{
818 u32 lba; 818 u32 lba;
819 u32 count; 819 u32 count;