aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2020-08-26 22:21:19 +0300
committerGreg Kroah-Hartman <[email protected]>2020-08-27 09:25:06 +0200
commitbfd08d06d978d0304eb6f7855b548aa2cd1c5486 (patch)
tree545c1bafeb772a17cc375930efd40cdaae0244bc /include/linux/fpga/fpga-mgr.h
parent068834a2773b6a12805105cfadbb3d4229fc6e0a (diff)
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 <[email protected]> Tested-by: Marek Szyprowski <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Cc: Brooke Basile <[email protected]> Cc: stable <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions