* [jcmvbkbc-xtensa:xtensa-6.8-rc5-esp32 36/48] drivers/net/wireless/espressif/esp32-ng/esp_shmem.c:274:34: warning: unused variable 'esp_wifi_shmem_match'
@ 2024-02-20 5:42 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-20 5:42 UTC (permalink / raw
To: Max Filippov; +Cc: oe-kbuild-all
tree: https://github.com/jcmvbkbc/linux-xtensa xtensa-6.8-rc5-esp32
head: 0a3bc9a6486ba4ea87994cf3225f1084bf3aedfa
commit: 46a44f9b7339ff74f54aaad7e4d20bb94f429103 [36/48] esp_wifi: add IPC transport
config: hexagon-randconfig-r051-20240220 (https://download.01.org/0day-ci/archive/20240220/202402201324.vxOQoG4z-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 36adfec155de366d722f2bac8ff9162289dcf06c)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240220/202402201324.vxOQoG4z-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402201324.vxOQoG4z-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/net/wireless/espressif/esp32-ng/esp_shmem.c:10:
In file included from include/linux/of_address.h:7:
In file included from include/linux/io.h:13:
In file included from arch/hexagon/include/asm/io.h:328:
include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
547 | val = __raw_readb(PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
560 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr));
| ~~~~~~~~~~ ^
include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu'
37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x))
| ^
In file included from drivers/net/wireless/espressif/esp32-ng/esp_shmem.c:10:
In file included from include/linux/of_address.h:7:
In file included from include/linux/io.h:13:
In file included from arch/hexagon/include/asm/io.h:328:
include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
573 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr));
| ~~~~~~~~~~ ^
include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu'
35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
| ^
In file included from drivers/net/wireless/espressif/esp32-ng/esp_shmem.c:10:
In file included from include/linux/of_address.h:7:
In file included from include/linux/io.h:13:
In file included from arch/hexagon/include/asm/io.h:328:
include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
584 | __raw_writeb(value, PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
594 | __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
604 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
>> drivers/net/wireless/espressif/esp32-ng/esp_shmem.c:274:34: warning: unused variable 'esp_wifi_shmem_match' [-Wunused-const-variable]
274 | static const struct of_device_id esp_wifi_shmem_match[] = {
| ^~~~~~~~~~~~~~~~~~~~
7 warnings generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for ESP32_IPC
Depends on [n]: OF [=n] && HAS_IOMEM [=y]
Selected by [y]:
- MTD_ESP32 [=y] && MTD [=y]
- ESP32_WIFI_SHMEM [=y] && NETDEVICES [=y] && WLAN [=y] && WLAN_VENDOR_ESPRESSIF [=y]
vim +/esp_wifi_shmem_match +274 drivers/net/wireless/espressif/esp32-ng/esp_shmem.c
273
> 274 static const struct of_device_id esp_wifi_shmem_match[] = {
275 {
276 .compatible = "esp,esp32-wifi-shmem",
277 }, {},
278 };
279 MODULE_DEVICE_TABLE(of, esp_wifi_shmem_match);
280
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-20 5:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-20 5:42 [jcmvbkbc-xtensa:xtensa-6.8-rc5-esp32 36/48] drivers/net/wireless/espressif/esp32-ng/esp_shmem.c:274:34: warning: unused variable 'esp_wifi_shmem_match' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.