On 08/24/2018 06:39 PM, Keller, Jacob E wrote: >>> From: Jacob Keller <jacob.e.kel...@intel.com> >>> >>> 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.
You probably meant to type "happen" instead of the 1st because... > Regards, > Jake MBR, Sergei