diff options
| author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-27 07:51:10 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-03-01 12:00:34 -0300 |
| commit | 5d0f2df471f50c0ef1512d114ab5c711adfe2103 (patch) | |
| tree | 0fe8fdc301d4429f1dd3c70ef612cdd47da5971b /scripts/stackusage | |
| parent | [media] dib0090: Do the right check for state->rf_ramp (diff) | |
| download | linux-5d0f2df471f50c0ef1512d114ab5c711adfe2103.tar.gz linux-5d0f2df471f50c0ef1512d114ab5c711adfe2103.zip | |
[media] technisat-usb2: don't do DMA on the stack
As warned by smatch:
drivers/media/usb/dvb-usb/technisat-usb2.c:263 technisat_usb2_set_led() error: doing dma on the stack (led)
drivers/media/usb/dvb-usb/technisat-usb2.c:280 technisat_usb2_set_led_timer() error: doing dma on the stack (&b)
drivers/media/usb/dvb-usb/technisat-usb2.c:341 technisat_usb2_identify_state() error: doing dma on the stack (version)
drivers/media/usb/dvb-usb/technisat-usb2.c:609 technisat_usb2_get_ir() error: doing dma on the stack (buf)
drivers/media/usb/dvb-usb/technisat-usb2.c:619 technisat_usb2_get_ir() error: doing dma on the stack (buf)
Create a buffer at the device state and use it for all the DMA
transfers.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
