Bug 16037

Summary: NULL Pointer dereference in __ir_input_register/budget_ci_attach
Product: v4l-dvb Reporter: Sean Finney (seanius)
Component: ttpciAssignee: Mauro Carvalho Chehab (mchehab)
Status: CLOSED CODE_FIX    
Severity: high CC: maciej.rutecki, mchehab, rjw
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: v2.6.34-7098-g80050ff Subsystem:
Regression: Yes Bisected commit-id:
Bug Depends on:    
Bug Blocks: 16055    
Attachments: the BUG() trace
lspci -v output

Description Sean Finney 2010-05-23 19:52:20 UTC
Created attachment 26511 [details]
the BUG() trace

Hi, it looks like the merge from fb091be08d1acf184e8801dfdcace6e0cb19b1fe has introduced a regression, when the ttpci module is loaded at boot up a get a kernel BUG() about null pointer derferencing.  info attached.

i've been riding latest from git for the past couple weeks but only saw this in the past week or so, so i'm strongly suspecting that it came from the above mentioned commit.  i believe others have seen this too:

http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/19494/match=
Comment 1 Sean Finney 2010-05-23 19:53:39 UTC
Created attachment 26512 [details]
lspci -v output
Comment 2 Mauro Carvalho Chehab 2010-06-09 02:20:47 UTC
Could you please check if this patch solves the issue?

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=84b14f181a36eea6591779156ef356f8d198bbfd
Comment 3 Sean Finney 2010-06-09 06:39:52 UTC
Hi Mauro,

I just pulled from the linux-2.6 remote (which has merged this commit), and no longer see the error.  

In fact I had just spent the last 15 minutes reviewing the merges since the last update and come to the same conclusion that it was probably this commit that had fixed it... so I say we consider it fixed unless heard otherwise from someone else :)