diff options
author | 2020-08-26 22:21:19 +0300 | |
---|---|---|
committer | 2020-08-27 09:25:06 +0200 | |
commit | bfd08d06d978d0304eb6f7855b548aa2cd1c5486 (patch) | |
tree | 545c1bafeb772a17cc375930efd40cdaae0244bc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | USB: quirks: Ignore duplicate endpoint on Sound Devices MixPre-D (diff) | |
download | wireguard-linux-bfd08d06d978d0304eb6f7855b548aa2cd1c5486.tar.xz wireguard-linux-bfd08d06d978d0304eb6f7855b548aa2cd1c5486.zip |
USB: gadget: u_f: Unbreak offset calculation in VLAs
Inadvertently the commit b1cd1b65afba ("USB: gadget: u_f: add overflow checks
to VLA macros") makes VLA macros to always return 0 due to different scope of
two variables of the same name. Obviously we need to have only one.
Fixes: b1cd1b65afba ("USB: gadget: u_f: add overflow checks to VLA macros")
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Brooke Basile <brookebasile@gmail.com>
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/20200826192119.56450-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions