Re: kernel 2.4.6 segfault in scsi sr.c

pazke@orbita1.ru
Thu, 19 Jul 2001 12:28:26 +0400


--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 19, 2001 at 09:57:50AM +0200, Martin Vogt wrote:
>=20
>=20
> In line 604 begins a switch statement:
>=20
> switch (sector_size) {
> case 0: =20

WILD GUESS: why not insert 'case 2336:' here ?

> case 2340:
> case 2352:
> sector_size =3D 2048;
> /* fall through */
> case 2048:
> scsi_CDs[i].capacity *=3D 4;
> /* fall through */
> case 512:
> break;
> default:
> kernel message --> printk("sr%d: unsupported sector size %d.\n",

--=20
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin=
.asc

--0OAP2g/MAC+5xKAE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7VpopBm4rlNOo3YgRAoLyAKCBjD/kVzkecl5s5MuXo93gP+JDJQCfUH0L
XZdHetwnC+Y4n8Goh7bgG4U=
=SnJX
-----END PGP SIGNATURE-----

--0OAP2g/MAC+5xKAE--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/