summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/si470x/radio-si470x.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-12-13 08:06:07 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-18 11:28:04 -0200
commit567e2e9660c71372e8bd50efa9d37a0281e4abe1 (patch)
tree37310df56a90db585aab901fe3cd052b50fa7d00 /drivers/media/radio/si470x/radio-si470x.h
parent0149a2e1498dba7937dd14bf924dedd6f0c15587 (diff)
downloadlinux-567e2e9660c71372e8bd50efa9d37a0281e4abe1.tar.gz
linux-567e2e9660c71372e8bd50efa9d37a0281e4abe1.tar.bz2
linux-567e2e9660c71372e8bd50efa9d37a0281e4abe1.zip
[media] si470x: don't use buffer on the stack for USB transfers
You shouldn't use buffers allocated on the stack for USB transfers, always kmalloc them. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/radio/si470x/radio-si470x.h')
-rw-r--r--drivers/media/radio/si470x/radio-si470x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/radio/si470x/radio-si470x.h b/drivers/media/radio/si470x/radio-si470x.h
index 467e95575488..4b7660470e2f 100644
--- a/drivers/media/radio/si470x/radio-si470x.h
+++ b/drivers/media/radio/si470x/radio-si470x.h
@@ -167,6 +167,7 @@ struct si470x_device {
/* reference to USB and video device */
struct usb_device *usbdev;
struct usb_interface *intf;
+ char *usb_buf;
/* Interrupt endpoint handling */
char *int_in_buffer;