summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2008-03-23 11:45:44 +0100
committerJeff Garzik <jeff@garzik.org>2008-03-26 04:42:06 +0100
commit9f5e60dd5ffca938da4cabc197af8b9405b5512e (patch)
treee6764734215126ccbcac1c7e52b0e48f117df7c0 /drivers/gpio
parentcxgb3: Fix lockdep problems with sge.reg_lock (diff)
downloadlinux-9f5e60dd5ffca938da4cabc197af8b9405b5512e.tar.xz
linux-9f5e60dd5ffca938da4cabc197af8b9405b5512e.zip
rndis_host: fix oops when query for OID_GEN_PHYSICAL_MEDIUM fails
When query for OID_GEN_PHYSICAL_MEDIUM fails, uninitialized pointer 'phym' is being accessed in generic_rndis_bind(), resulting OOPS. Patch fixes phym to be initialized and setup correctly when rndis_query() for physical medium fails. Bug was introduced by following commit: commit 039ee17d1baabaa21783a0d5ab3e8c6d8c794bdf Author: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Date: Sun Jan 27 23:34:33 2008 +0200 Reported-by: Dmitri Monakhov <dmonakhov@openvz.org> Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions