diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-02-28 08:43:12 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-04 15:13:58 +0400 |
commit | fddedd8334d8b4ac6374894d5eed237d18ce1afb (patch) | |
tree | 632c27fac1fa3f3322b586667c547227cef8e594 /tools/perf/scripts/python/syscall-counts.py | |
parent | 57ae575b8a51fd98c9b0066c6c030d5ccce3d77d (diff) | |
download | linux-fddedd8334d8b4ac6374894d5eed237d18ce1afb.tar.xz |
usb: gadget: f_uac1: silence an info leak warning
Smatch complains that "len" could be larger than the sizeof(value)
so we could be copying garbage here. I have changed this to match
how things are done in composite_setup().
The call tree looks like:
composite_setup()
--> f_audio_setup()
--> audio_get_intf_req()
composite_setup() expects the return value to be set to
sizeof(value).
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions