2005-04-04 10:01:21

by Michael Hunold

[permalink] [raw]
Subject: [PATCH] Fix Oops in MXB driver (v4l2 subsystem)

Hi Linus, Andrew,

the attached patch fixes a NULL pointer dereference Oops in my
"Multimedia eXtension Board" driver.

The tda9840 i2c driver dereferences the argument pointer, but the MXB
driver is supplying a NULL pointer for one of the commands. The patch
makes this one command behave like the others, ie. it expects an int
argument.

Please apply.

Thanks!
Michael Hunold.


Attachments:
mxb_tda9840_oops.diff (1.20 kB)