Re: [net 07/13] ice: Use order_base_2 to calculate higher power of 2

2018-08-24 Thread Sergei Shtylyov
On 08/24/2018 06:39 PM, Keller, Jacob E wrote: >>> From: Jacob Keller >>> >>> 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: >>> >>> MODPOS

RE: [net 07/13] ice: Use order_base_2 to calculate higher power of 2

2018-08-24 Thread Keller, Jacob E
t; nhor...@redhat.com; sassm...@redhat.com; jogre...@redhat.com; > Venkataramanan, Anirudh > 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 > > > >

Re: [net 07/13] ice: Use order_base_2 to calculate higher power of 2

2018-08-24 Thread Sergei Shtylyov
Hello! On 8/23/2018 10:14 PM, Jeff Kirsher wrote: From: Jacob Keller 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:

[net 07/13] ice: Use order_base_2 to calculate higher power of 2

2018-08-23 Thread Jeff Kirsher
From: Jacob Keller 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