Re: [PATCH 2.6] to fix i2o_proc kernel panic on access of /proc/i2o/iop0/lct

From: Ingo Oeser
Date: Sat May 08 2004 - 13:04:32 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Markus,

On Saturday 08 May 2004 13:33, Markus Lidel wrote:
> the patch fixes a bug in the i2o_proc.c module, where the kernel panics,
> if you access /proc/i2o/iop0/lct and read more then 1024 bytes of it.
>
> The problem was, that no paging was implemented by the function. This is
> now solved.

What about solving this properly and using the seq_file API for this
problem class as anywhere else in the kernel?

Code will also get much more readable by this ;-)


Regards

Ingo Oeser


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAnP9FU56oYWuOrkARAgpwAKDHengtnPOk9c8mj7uD8mZkMx/LjACfWHts
utVH2yGfVRoJ7Sy8+bhJRBQ=
=E50x
-----END PGP SIGNATURE-----

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