diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-05-25 21:31:17 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2008-05-25 21:31:17 -0400 |
commit | 6c704b27377af4d7802223b3e7a7ec4f154fb158 (patch) | |
tree | 61b068157b40802438e94796e21ec0b3cb395857 /linux/drivers/media/video/saa6588.c | |
parent | a0d9e3d53e8d1fdcb98dc8c106e790e09ed703f3 (diff) | |
download | mediapointer-dvb-s2-6c704b27377af4d7802223b3e7a7ec4f154fb158.tar.gz mediapointer-dvb-s2-6c704b27377af4d7802223b3e7a7ec4f154fb158.tar.bz2 |
tuner-simple: fix tuner_warn() induced kernel oops in simple_tuner_attach()
From: Andy Walls <awalls@radix.net>
The tuner_warn() macro relies on the local variable "priv" to be a valid
pointer. There was a case in simple_tuner_attach() where this cannot be the
case yet, so tuner_warn() would dereference a NULL "priv" pointer. Changed
the tuner_warn() to a printk() with the originally intended output format.
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/saa6588.c')
0 files changed, 0 insertions, 0 deletions