Building driver r8188eu in staging with -warray-bounds exposes two places where arrays are too small. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> --- v2 - get proper To and Cc v3 - Use Dan Carpenter's suggestion for correct patch. Larry Finger (2): staging: r8188eu: Fix undersized array in rtw_xmit.c staging: r8188eu: Fix warning of array overflow in ioctl_linux.c drivers/staging/r8188eu/core/rtw_xmit.c | 17 ++++------------- drivers/staging/r8188eu/os_dep/ioctl_linux.c | 2 +- 2 files changed, 5 insertions(+), 14 deletions(-) -- 2.36.1