[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130712.161357.1592789294361087970.davem@redhat.com>
Date: Fri, 12 Jul 2013 16:13:57 -0700 (PDT)
From: David Miller <davem@...hat.com>
To: hayeswang@...ltek.com
Cc: gregkh@...uxfoundation.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: [PATCH net 1/2] usb/net/r8152: fix integer overflow in
expression
From: Hayes Wang <hayeswang@...ltek.com>
Date: Fri, 12 Jul 2013 16:26:15 +0800
> config: make ARCH=avr32 allyesconfig
> drivers/net/usb/r8152.c: In function 'rtl8152_start_xmit':
> drivers/net/usb/r8152.c:956: warning: integer overflow in expression
>
> 955 memset(tx_desc, 0, sizeof(*tx_desc));
> > 956 tx_desc->opts1 = cpu_to_le32((len & TX_LEN_MASK) | TX_FS | TX_LS);
> 957 tp->tx_skb = skb;
>
> Signed-off-by: Hayes Wang <hayeswang@...ltek.com>
> Spotted-by: kbuild test robot <fengguang.wu@...el.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists