lkml.org 
[lkml]   [2002]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] AIC7XXX 6.2.8 oops in aha2840_load_seeprom
From
This buglet crept in around AIC7XXX 6.2.8 which is included in Linux 2.4.19.
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Index: aic7770.c
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.4/drivers/scsi/aic7xxx/aic7770.c,v
retrieving revision 1.1.1.5
diff -u -r1.1.1.5 aic7770.c
--- aic7770.c 3 Aug 2002 00:39:44 -0000 1.1.1.5
+++ aic7770.c 6 Oct 2002 06:14:17 -0000
@@ -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) {
\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.031 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site