[PATCH 0/2] Fix some compile warnings in v5.18+

Larry Finger posted 2 patches 3 years, 11 months ago
There is a newer version of this series
drivers/staging/r8188eu/include/rtw_xmit.h   | 2 +-
drivers/staging/r8188eu/os_dep/ioctl_linux.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH 0/2] Fix some compile warnings in v5.18+
Posted by Larry Finger 3 years, 11 months ago
Building driver r8188eu in staging with -warray-bounds exposes two places
where arrays are too small.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>


Larry Finger (2):
  staging: r8188eu: Fix warning of array overflow in ioctl_linux.c
  staging: r8188eu: Fix undersized array in rtw_xmit.c

 drivers/staging/r8188eu/include/rtw_xmit.h   | 2 +-
 drivers/staging/r8188eu/os_dep/ioctl_linux.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.36.1
Re: [PATCH 0/2] Fix some compile warnings in v5.18+
Posted by Linus Torvalds 3 years, 11 months ago
On Sat, May 28, 2022 at 2:15 PM Larry Finger <Larry.Finger@lwfinger.net> wrote:
>
> Building driver r8188eu in staging with -warray-bounds exposes two places
> where arrays are too small.

Odd participant list.

This should go to Greg, not me, and I think you should cc the other
people (ie Phillip Potter) listed for that driver too, no?

                    Linus