diff options
author | Florian Mickler <florian@mickler.org> | 2011-08-10 07:05:20 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-03 11:40:16 -0700 |
commit | f2685ef0fbc5fff0a8f1cdc204bf37ab0c9a04a7 (patch) | |
tree | c72bd449b9fba10dfdfa264a52a5814d63252e0c /fs/readdir.c | |
parent | ac0a6fa16b992606e52d45191fcad3d7ea5b7f11 (diff) | |
download | kernel_samsung_aries-f2685ef0fbc5fff0a8f1cdc204bf37ab0c9a04a7.zip kernel_samsung_aries-f2685ef0fbc5fff0a8f1cdc204bf37ab0c9a04a7.tar.gz kernel_samsung_aries-f2685ef0fbc5fff0a8f1cdc204bf37ab0c9a04a7.tar.bz2 |
vp7045: fix buffer setup
commit fc61ccd35fd59d5362d37c8bf9c0526c85086c84 upstream.
dvb_usb_device_init calls the frontend_attach method of this driver which
uses vp7045_usb_ob. In order to have a buffer ready in vp7045_usb_op, it has to
be allocated before that happens.
Luckily we can use the whole private data as the buffer as it gets separately
allocated on the heap via kzalloc in dvb_usb_device_init and is thus apt for
use via usb_control_msg.
This fixes a
BUG: unable to handle kernel paging request at 0000000000001e78
reported by Tino Keitel and diagnosed by Dan Carpenter.
Tested-by: Tino Keitel <tino.keitel@tikei.de>
Signed-off-by: Florian Mickler <florian@mickler.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/readdir.c')
0 files changed, 0 insertions, 0 deletions