tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 1814a55bda7a73d33ecfdcf11802a1bc667c2e3e commit: 5d01c9ec4f3b95b0629a38d936f69bc05e494cc9 [3212/3212] pinctrl: Zhaoxin: Add KH-50000 support config: x86_64-randconfig-r073-20251117 (https://download.01.org/0day-ci/archive/20251117/202511171908.GkIEY88E-lkp@i...) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251117/202511171908.GkIEY88E-lkp@i...) 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 <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202511171908.GkIEY88E-lkp@intel.com/ All warnings (new ones prefixed by >>):
drivers/pinctrl/zhaoxin/pinctrl-kx7000.c:307:23: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] 307 | else if (pin >= 0x62 || pin <= 0x70) | ~~~~~~~~~~~~^~~~~~~~~~~~~~ drivers/pinctrl/zhaoxin/pinctrl-kx7000.c:305:23: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] 305 | else if (pin >= 0x57 || pin <= 0x5F) | ~~~~~~~~~~~~^~~~~~~~~~~~~~ 2 warnings generated.
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for PTP_1588_CLOCK Depends on [n]: NET [=y] && POSIX_TIMERS [=n] Selected by [m]: - SXE [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_LINKDATA [=y] && (X86 [=y] || ARM64) && PCI [=y] - SXE_VF [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_LINKDATA [=y] && (X86 [=y] || ARM64) && PCI [=y] vim +307 drivers/pinctrl/zhaoxin/pinctrl-kx7000.c 288 289 static enum zx_gpio_type kx7000_gpio_type(struct zhaoxin_pinctrl *pctrl, unsigned int pin) 290 { 291 if (pin >= 0xE && pin <= 0x13) 292 return ZX_TYPE_PGPIO; 293 else if (pin >= 0x16 && pin <= 0x28) 294 return ZX_TYPE_PGPIO; 295 else if (pin >= 0x29 && pin <= 0x32) 296 return ZX_TYPE_GPIO; 297 else if (pin == 0x35 || pin == 0x3B) 298 return ZX_TYPE_PGPIO; 299 else if (pin >= 0x42 && pin <= 0x47) 300 return ZX_TYPE_PGPIO; 301 else if (pin == 0x4E || pin == 0x50) 302 return ZX_TYPE_PGPIO; 303 else if (pin == 0x52 || pin == 0x55) 304 return ZX_TYPE_PGPIO; 305 else if (pin >= 0x57 || pin <= 0x5F) 306 return ZX_TYPE_PGPIO;
307 else if (pin >= 0x62 || pin <= 0x70) 308 return ZX_TYPE_PGPIO; 309 else 310 return ZX_TYPE_ERROR; 311 } 312
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki