aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-27 07:51:07 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-03-01 10:48:17 -0300
commitf6f7b58ef0257e864c51933b37e8131110b8d8da (patch)
treecf8b5cf9f3443400e0b00d2ec2aa76a204939354 /scripts/stackusage
parent[media] gspca: Remove unused ovfx2_vga_mode/ovfx2_cif_mode arrays (diff)
downloadlinux-f6f7b58ef0257e864c51933b37e8131110b8d8da.tar.gz
linux-f6f7b58ef0257e864c51933b37e8131110b8d8da.zip
[media] airspy: fix bit set/clean mess on s->flags
As warned by smatch: drivers/media/usb/airspy/airspy.c:541 airspy_start_streaming() warn: test_bit() takes a bit number drivers/media/usb/airspy/airspy.c:569 airspy_start_streaming() warn: test_bit() takes a bit number drivers/media/usb/airspy/airspy.c:605 airspy_stop_streaming() warn: test_bit() takes a bit number set_bit/clear_bit argument is the bit number, and not 1 << bit. Thankfully, one of the bits was not used (URB_BUF), with would otherwise cause a driver misfunctioning. Clean this mess by always using set_bit/clear_bit/test_bit and removing the unused bit. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions