patch-2.4.20 linux-2.4.20/drivers/scsi/aic7xxx/aic7770.c
Next file: linux-2.4.20/drivers/scsi/aic7xxx/aic7xxx_core.c
Previous file: linux-2.4.20/drivers/scsi/aha152x.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu Nov 28 15:53:14 2002
- Orig file:
linux-2.4.19/drivers/scsi/aic7xxx/aic7770.c
- Orig date:
Fri Aug 2 17:39:44 2002
diff -urN linux-2.4.19/drivers/scsi/aic7xxx/aic7770.c linux-2.4.20/drivers/scsi/aic7xxx/aic7770.c
@@ -273,8 +273,8 @@
if (bootverbose)
printf("%s: Reading SEEPROM...", ahc_name(ahc));
- have_seeprom = ahc_read_seeprom(&sd, (uint16_t *)&sc,
- /*start_addr*/0, sizeof(sc)/2);
+ have_seeprom = ahc_read_seeprom(&sd, (uint16_t *)sc,
+ /*start_addr*/0, sizeof(*sc)/2);
if (have_seeprom) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)