RE: [PATCH net-next v4 2/9] net: rswitch: Use unsigned int for desc related array index

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Sergey,

> From: Sergey Shtylyov, Sent: Thursday, December 7, 2023 6:09 PM
> 
> On 12/7/23 11:12 AM, Yoshihiro Shimoda wrote:
> 
> > Array index should not be negative, so use unsigned int for
> > descriptors related array index.
> >
> > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
> > ---
> >  drivers/net/ethernet/renesas/Makefile  |  1 -
> >  drivers/net/ethernet/renesas/rswitch.c | 88 ++++++++++++++------------
> >  drivers/net/ethernet/renesas/rswitch.h | 14 ++--
> >  3 files changed, 56 insertions(+), 47 deletions(-)
> >
> > diff --git a/drivers/net/ethernet/renesas/Makefile b/drivers/net/ethernet/renesas/Makefile
> > index 9070acfd6aaf..f9cfd9750c1c 100644
> > --- a/drivers/net/ethernet/renesas/Makefile
> > +++ b/drivers/net/ethernet/renesas/Makefile
> > @@ -2,7 +2,6 @@
> >  #
> >  # Makefile for the Renesas network device drivers
> >  #
> > -
> 
>    Unrelated whitespace change. :-/

Oops. I'll drop this on v5.

Best regards,
Yoshihiro Shimoda

> >  obj-$(CONFIG_SH_ETH) += sh_eth.o
> [...]
> 
> MBR, Sergey




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux