summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2015-02-02 13:52:26 +0100
committerMauro Carvalho Chehab2015-02-02 13:56:55 +0100
commitb5603a943d11cd4c74e90fdd68296ffdc8f6749c (patch)
tree42fe2f2a74cb2623a2f80fb5aad083ee662b2674 /MAINTAINERS
parent[media] cx231xx: fix usbdev leak on failure paths in cx231xx_usb_probe() (diff)
downloadkernel-qcow2-linux-b5603a943d11cd4c74e90fdd68296ffdc8f6749c.tar.gz
kernel-qcow2-linux-b5603a943d11cd4c74e90fdd68296ffdc8f6749c.tar.xz
kernel-qcow2-linux-b5603a943d11cd4c74e90fdd68296ffdc8f6749c.zip
[media] cx231xx: don't use dev it not allocated
changeset 5eeb3014827f added a fixup at the error check code. However, it introduced a new error: drivers/media/usb/cx231xx/cx231xx-cards.c:1586 cx231xx_usb_probe() error: we previously assumed 'dev' could be null (see line 1430) This happens when dev = kmalloc() fails. So, instead of relying on it to succeed, just change the parameter of clear_bit() from 'dev->devno' to 'nr'. Cc: Alexey Khoroshilov <khoroshilov@ispras.ru> Cc: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions