[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160106.012326.1058946039396006074.davem@davemloft.net>
Date: Wed, 06 Jan 2016 01:23:26 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: jarod@...hat.com
Cc: linux-kernel@...r.kernel.org, eugene.shatokhin@...alab.ru,
prudy1@...pl, jcliburn@...il.com, chris.snook@...il.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next] ethernet/atheros/alx: sanitize buffer sizing
and padding
From: Jarod Wilson <jarod@...hat.com>
Date: Tue, 5 Jan 2016 18:12:34 -0500
> - if ((raw_mtu + 8) < ALX_TXQ1_JUMBO_TSO_TH)
> - val = (raw_mtu + 8 + 7) >> 3;
> + if ((raw_mtu) < ALX_TXQ1_JUMBO_TSO_TH)
> + val = (raw_mtu + 7) >> 3;
The parenthesis around 'raw_mtu' is superfluous, please
remove it.
Otherwise this looks great, please resubmit with that fixed
up.
Thanks.
--
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