[PATCH] 2.5.3-pre6: getmodes
authorTim Waugh <twaugh@redhat.com>
Tue, 5 Feb 2002 08:36:47 +0000 (00:36 -0800)
committerLinus Torvalds <torvalds@athlon.transmeta.com>
Tue, 5 Feb 2002 08:36:47 +0000 (00:36 -0800)
commit50e4706d60fda6eff32243d25cba19f3b89756a2
treed088651439614510ac8334bfd7ac411e3879fa6e
parent77093e9a7814c81652ed12abe284470c72fc3ab5
[PATCH] 2.5.3-pre6: getmodes

This patch prevents ppdev from oopsing when the PPGETMODES ioctl is
used before a PPCLAIM.

* drivers/char/ppdev.c: Fix an oops in PPGETMODES handling.
drivers/char/ppdev.c