CC: [email protected]
BCC: [email protected]
CC: Linux Memory Management List <[email protected]>
TO: Paul Cercueil <[email protected]>
CC: Linus Walleij <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   e7d6987e09a328d4a949701db40ef63fbb970670
commit: c9c5123a32e41a1f00de39a44f51f50c91b2dc35 [5335/5845] pinctrl: ingenic: 
Garbage-collect code paths for SoCs disabled by config
:::::: branch date: 16 hours ago
:::::: commit date: 32 hours ago
config: xtensa-randconfig-m031-20220422 
(https://download.01.org/0day-ci/archive/20220423/[email protected]/config)
compiler: xtensa-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

smatch warnings:
drivers/pinctrl/pinctrl-ingenic.c:162 is_soc_or_above() warn: bitwise AND 
condition is false here

vim +162 drivers/pinctrl/pinctrl-ingenic.c

e72394e2ea196a Paul Cercueil 2018-08-21  141  
c9c5123a32e41a Paul Cercueil 2022-04-12  142  static const unsigned long 
enabled_socs =
c9c5123a32e41a Paul Cercueil 2022-04-12  143    IS_ENABLED(CONFIG_MACH_JZ4730) 
<< ID_JZ4730 |
c9c5123a32e41a Paul Cercueil 2022-04-12  144    IS_ENABLED(CONFIG_MACH_JZ4740) 
<< ID_JZ4740 |
c9c5123a32e41a Paul Cercueil 2022-04-12  145    IS_ENABLED(CONFIG_MACH_JZ4725B) 
<< ID_JZ4725B |
c9c5123a32e41a Paul Cercueil 2022-04-12  146    IS_ENABLED(CONFIG_MACH_JZ4750) 
<< ID_JZ4750 |
c9c5123a32e41a Paul Cercueil 2022-04-12  147    IS_ENABLED(CONFIG_MACH_JZ4755) 
<< ID_JZ4755 |
c9c5123a32e41a Paul Cercueil 2022-04-12  148    IS_ENABLED(CONFIG_MACH_JZ4760) 
<< ID_JZ4760 |
c9c5123a32e41a Paul Cercueil 2022-04-12  149    IS_ENABLED(CONFIG_MACH_JZ4770) 
<< ID_JZ4770 |
c9c5123a32e41a Paul Cercueil 2022-04-12  150    IS_ENABLED(CONFIG_MACH_JZ4775) 
<< ID_JZ4775 |
c9c5123a32e41a Paul Cercueil 2022-04-12  151    IS_ENABLED(CONFIG_MACH_JZ4780) 
<< ID_JZ4780 |
c9c5123a32e41a Paul Cercueil 2022-04-12  152    IS_ENABLED(CONFIG_MACH_X1000) 
<< ID_X1000 |
c9c5123a32e41a Paul Cercueil 2022-04-12  153    IS_ENABLED(CONFIG_MACH_X1500) 
<< ID_X1500 |
c9c5123a32e41a Paul Cercueil 2022-04-12  154    IS_ENABLED(CONFIG_MACH_X1830) 
<< ID_X1830 |
c9c5123a32e41a Paul Cercueil 2022-04-12  155    IS_ENABLED(CONFIG_MACH_X2000) 
<< ID_X2000 |
c9c5123a32e41a Paul Cercueil 2022-04-12  156    IS_ENABLED(CONFIG_MACH_X2100) 
<< ID_X2100;
c9c5123a32e41a Paul Cercueil 2022-04-12  157  
c9c5123a32e41a Paul Cercueil 2022-04-12  158  static bool
c9c5123a32e41a Paul Cercueil 2022-04-12  159  is_soc_or_above(const struct 
ingenic_pinctrl *jzpc, enum jz_version version)
c9c5123a32e41a Paul Cercueil 2022-04-12  160  {
c9c5123a32e41a Paul Cercueil 2022-04-12  161    return (enabled_socs >> 
version) &&
c9c5123a32e41a Paul Cercueil 2022-04-12 @162            (!(enabled_socs & 
GENMASK(version - 1, 0))
c9c5123a32e41a Paul Cercueil 2022-04-12  163             || jzpc->info->version 
>= version);
c9c5123a32e41a Paul Cercueil 2022-04-12  164  }
c9c5123a32e41a Paul Cercueil 2022-04-12  165  

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to