diff options
| author | Andy Walls <[email protected]> | 2008-05-26 01:31:17 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2008-06-05 06:35:44 -0300 |
| commit | 3b4a9714f43a1d675a4352260a12daae197f37c3 (patch) | |
| tree | a095208ac75a02bf70ed33d4f4440ebaa354276e /scripts/stackusage | |
| parent | 5cf3f5cd1f6ee0d81b75c659c732dd8dd245a350 (diff) | |
V4L/DVB (7922): tuner-simple: fix tuner_warn() induced kernel oops in simple_tuner_attach()
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 <[email protected]>
Signed-off-by: Michael Krufky <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions