diff options
author | Antti Palosaari <crope@iki.fi> | 2013-02-26 21:13:41 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-18 23:54:26 +0400 |
commit | 6c604e8e8611385d48cd9dea8926b2a309ed85c0 (patch) | |
tree | f73dbe4fbe060f4a9ebef0886b5d0948361841ac /drivers/media/usb/dvb-usb-v2/anysee.h | |
parent | 3484d37a66bb45dc9b4f70868b68739262bf6832 (diff) | |
download | linux-6c604e8e8611385d48cd9dea8926b2a309ed85c0.tar.xz |
[media] anysee: do not use buffers from stack for usb_bulk_msg()
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/anysee.h')
-rw-r--r-- | drivers/media/usb/dvb-usb-v2/anysee.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/anysee.h b/drivers/media/usb/dvb-usb-v2/anysee.h index c1a4273f14ff..8f426d9fc6e1 100644 --- a/drivers/media/usb/dvb-usb-v2/anysee.h +++ b/drivers/media/usb/dvb-usb-v2/anysee.h @@ -52,8 +52,9 @@ enum cmd { }; struct anysee_state { - u8 hw; /* PCB ID */ + u8 buf[64]; u8 seq; + u8 hw; /* PCB ID */ u8 fe_id:1; /* frondend ID */ u8 has_ci:1; u8 ci_attached:1; |