Re: [Intel-wired-lan] [PATCH net-next 06/12] dpll: Support dynamic pin index allocation

2026-01-12 Thread kernel test robot
Hi Ivan,

kernel test robot noticed the following build warnings:

[auto build test WARNING on net-next/main]

url:
https://github.com/intel-lab-lkp/linux/commits/Ivan-Vecera/dt-bindings-dpll-add-common-dpll-pin-consumer-schema/20260109-022618
base:   net-next/main
patch link:
https://lore.kernel.org/r/20260108182318.20935-7-ivecera%40redhat.com
patch subject: [Intel-wired-lan] [PATCH net-next 06/12] dpll: Support dynamic 
pin index allocation
config: hexagon-allmodconfig 
(https://download.01.org/0day-ci/archive/20260113/[email protected]/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 
6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260113/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot 
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> drivers/dpll/dpll_core.c:499:21: warning: overflow in expression; result is 
>> -2147483648 with type 'int' [-Winteger-overflow]
 499 | pin_idx -= INT_MAX + 1;
 |^
   1 warning generated.


vim +/int +499 drivers/dpll/dpll_core.c

   490  
   491  static void dpll_pin_idx_free(u32 pin_idx)
   492  {
   493  if (pin_idx <= INT_MAX)
   494  return; /* Not a dynamic pin index */
   495  
   496  /* Map the index value from dynamic pin index range to IDA 
range and
   497   * free it.
   498   */
 > 499  pin_idx -= INT_MAX + 1;
   500  ida_free(&dpll_pin_idx_ida, pin_idx);
   501  }
   502  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


Re: [Intel-wired-lan] [PATCH net-next 06/12] dpll: Support dynamic pin index allocation

2026-01-12 Thread Ivan Vecera




On 1/12/26 4:13 PM, kernel test robot wrote:

Hi Ivan,

kernel test robot noticed the following build warnings:

[auto build test WARNING on net-next/main]

url:
https://github.com/intel-lab-lkp/linux/commits/Ivan-Vecera/dt-bindings-dpll-add-common-dpll-pin-consumer-schema/20260109-022618
base:   net-next/main
patch link:
https://lore.kernel.org/r/20260108182318.20935-7-ivecera%40redhat.com
patch subject: [Intel-wired-lan] [PATCH net-next 06/12] dpll: Support dynamic 
pin index allocation
config: m68k-allmodconfig 
(https://download.01.org/0day-ci/archive/20260112/[email protected]/config)
compiler: m68k-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260112/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot 
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

drivers/dpll/dpll_core.c: In function 'dpll_pin_idx_free':

drivers/dpll/dpll_core.c:499:28: warning: integer overflow in expression of 
type 'int' results in '-2147483648' [-Woverflow]

  499 | pin_idx -= INT_MAX + 1;
  |^


vim +499 drivers/dpll/dpll_core.c

490 
491 static void dpll_pin_idx_free(u32 pin_idx)
492 {
493 if (pin_idx <= INT_MAX)
494 return; /* Not a dynamic pin index */
495 
496 /* Map the index value from dynamic pin index range to IDA 
range and
497  * free it.
498  */
  > 499  pin_idx -= INT_MAX + 1;


'pin_idx -= (u32)INT_MAX + 1' should be here..

Will fix.

I.

500 ida_free(&dpll_pin_idx_ida, pin_idx);
501 }
502 





Re: [Intel-wired-lan] [PATCH net-next 06/12] dpll: Support dynamic pin index allocation

2026-01-12 Thread kernel test robot
Hi Ivan,

kernel test robot noticed the following build warnings:

[auto build test WARNING on net-next/main]

url:
https://github.com/intel-lab-lkp/linux/commits/Ivan-Vecera/dt-bindings-dpll-add-common-dpll-pin-consumer-schema/20260109-022618
base:   net-next/main
patch link:
https://lore.kernel.org/r/20260108182318.20935-7-ivecera%40redhat.com
patch subject: [Intel-wired-lan] [PATCH net-next 06/12] dpll: Support dynamic 
pin index allocation
config: m68k-allmodconfig 
(https://download.01.org/0day-ci/archive/20260112/[email protected]/config)
compiler: m68k-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260112/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot 
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

   drivers/dpll/dpll_core.c: In function 'dpll_pin_idx_free':
>> drivers/dpll/dpll_core.c:499:28: warning: integer overflow in expression of 
>> type 'int' results in '-2147483648' [-Woverflow]
 499 | pin_idx -= INT_MAX + 1;
 |^


vim +499 drivers/dpll/dpll_core.c

   490  
   491  static void dpll_pin_idx_free(u32 pin_idx)
   492  {
   493  if (pin_idx <= INT_MAX)
   494  return; /* Not a dynamic pin index */
   495  
   496  /* Map the index value from dynamic pin index range to IDA 
range and
   497   * free it.
   498   */
 > 499  pin_idx -= INT_MAX + 1;
   500  ida_free(&dpll_pin_idx_ida, pin_idx);
   501  }
   502  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


Re: [Intel-wired-lan] [PATCH net-next 06/12] dpll: Support dynamic pin index allocation

2026-01-09 Thread kernel test robot
Hi Ivan,

kernel test robot noticed the following build warnings:

[auto build test WARNING on net-next/main]

url:
https://github.com/intel-lab-lkp/linux/commits/Ivan-Vecera/dt-bindings-dpll-add-common-dpll-pin-consumer-schema/20260109-022618
base:   net-next/main
patch link:
https://lore.kernel.org/r/20260108182318.20935-7-ivecera%40redhat.com
patch subject: [Intel-wired-lan] [PATCH net-next 06/12] dpll: Support dynamic 
pin index allocation
config: x86_64-rhel-9.4 
(https://download.01.org/0day-ci/archive/20260110/[email protected]/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260110/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot 
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

   drivers/dpll/dpll_core.c: In function 'dpll_pin_idx_free':
>> drivers/dpll/dpll_core.c:499:28: warning: integer overflow in expression of 
>> type 'int' results in '-2147483648' [-Woverflow]
 499 | pin_idx -= INT_MAX + 1;
 |^


vim +499 drivers/dpll/dpll_core.c

   490  
   491  static void dpll_pin_idx_free(u32 pin_idx)
   492  {
   493  if (pin_idx <= INT_MAX)
   494  return; /* Not a dynamic pin index */
   495  
   496  /* Map the index value from dynamic pin index range to IDA 
range and
   497   * free it.
   498   */
 > 499  pin_idx -= INT_MAX + 1;
   500  ida_free(&dpll_pin_idx_ida, pin_idx);
   501  }
   502  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki