Revision bfd08d06d978d0304eb6f7855b548aa2cd1c5486 authored by Andy Shevchenko on 26 August 2020, 19:21:19 UTC, committed by Greg Kroah-Hartman on 27 August 2020, 07:25:06 UTC
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>
1 parent 068834a
History
File Mode Size
Kconfig -rw-r--r-- 8.6 KB
Makefile -rw-r--r-- 810 bytes
asn1.c -rw-r--r-- 13.0 KB
cache.c -rw-r--r-- 3.7 KB
cifs_debug.c -rw-r--r-- 29.1 KB
cifs_debug.h -rw-r--r-- 4.3 KB
cifs_dfs_ref.c -rw-r--r-- 10.3 KB
cifs_fs_sb.h -rw-r--r-- 4.2 KB
cifs_ioctl.h -rw-r--r-- 2.4 KB
cifs_spnego.c -rw-r--r-- 6.4 KB
cifs_spnego.h -rw-r--r-- 1.6 KB
cifs_unicode.c -rw-r--r-- 15.5 KB
cifs_unicode.h -rw-r--r-- 9.6 KB
cifs_uniupr.h -rw-r--r-- 11.9 KB
cifsacl.c -rw-r--r-- 37.1 KB
cifsacl.h -rw-r--r-- 6.8 KB
cifsencrypt.c -rw-r--r-- 22.9 KB
cifsfs.c -rw-r--r-- 45.7 KB
cifsfs.h -rw-r--r-- 6.6 KB
cifsglob.h -rw-r--r-- 67.4 KB
cifspdu.h -rw-r--r-- 83.9 KB
cifsproto.h -rw-r--r-- 28.7 KB
cifsroot.c -rw-r--r-- 2.1 KB
cifssmb.c -rw-r--r-- 187.1 KB
connect.c -rw-r--r-- 147.4 KB
dfs_cache.c -rw-r--r-- 35.9 KB
dfs_cache.h -rw-r--r-- 2.8 KB
dir.c -rw-r--r-- 22.6 KB
dns_resolve.c -rw-r--r-- 2.9 KB
dns_resolve.h -rw-r--r-- 1.2 KB
export.c -rw-r--r-- 2.4 KB
file.c -rw-r--r-- 123.5 KB
fscache.c -rw-r--r-- 9.8 KB
fscache.h -rw-r--r-- 5.3 KB
inode.c -rw-r--r-- 74.5 KB
ioctl.c -rw-r--r-- 8.8 KB
link.c -rw-r--r-- 17.4 KB
misc.c -rw-r--r-- 30.6 KB
netmisc.c -rw-r--r-- 39.6 KB
nterr.c -rw-r--r-- 32.9 KB
nterr.h -rw-r--r-- 29.4 KB
ntlmssp.h -rw-r--r-- 5.7 KB
readdir.c -rw-r--r-- 28.6 KB
rfc1002pdu.h -rw-r--r-- 2.8 KB
sess.c -rw-r--r-- 46.7 KB
smb1ops.c -rw-r--r-- 35.1 KB
smb2file.c -rw-r--r-- 8.0 KB
smb2glob.h -rw-r--r-- 2.0 KB
smb2inode.c -rw-r--r-- 20.5 KB
smb2maperror.c -rw-r--r-- 127.3 KB
smb2misc.c -rw-r--r-- 26.0 KB
smb2ops.c -rw-r--r-- 146.5 KB
smb2pdu.c -rw-r--r-- 148.2 KB
smb2pdu.h -rw-r--r-- 50.8 KB
smb2proto.h -rw-r--r-- 14.6 KB
smb2status.h -rw-r--r-- 106.4 KB
smb2transport.c -rw-r--r-- 21.4 KB
smbdirect.c -rw-r--r-- 71.3 KB
smbdirect.h -rw-r--r-- 8.2 KB
smbencrypt.c -rw-r--r-- 4.7 KB
smberr.h -rw-r--r-- 7.5 KB
smbfsctl.h -rw-r--r-- 7.9 KB
trace.c -rw-r--r-- 195 bytes
trace.h -rw-r--r-- 23.2 KB
transport.c -rw-r--r-- 40.9 KB
winucase.c -rw-r--r-- 36.2 KB
xattr.c -rw-r--r-- 13.5 KB

back to top