> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Sergei Shtylyov
> Sent: Friday, August 24, 2018 2:03 AM
> To: Kirsher, Jeffrey T <[email protected]>; [email protected]
> Cc: Keller, Jacob E <[email protected]>; [email protected];
> [email protected]; [email protected]; [email protected];
> Venkataramanan, Anirudh <[email protected]>
> Subject: Re: [net 07/13] ice: Use order_base_2 to calculate higher power of 2
> 
> Hello!
> 
> On 8/23/2018 10:14 PM, Jeff Kirsher wrote:
> 
> > From: Jacob Keller <[email protected]>
> >
> > Currently, we use a combination of ilog2 and is_power_of_2() to
> > calculate the next power of 2 for the qcount. This appears to be causing
> > a warning on some combinations of GCC and the Linux kernel:
> >
> > MODPOST 1 modules
> > WARNING: "____ilog2_NaN" [ice.ko] undefined!
> >
> > This appears to because because GCC realizes that qcount could be zero
> 
>     One "because" is enough. :-)

Woops! Thanks for catching it.

Regards,
Jake


Reply via email to