tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files make[6]: Circular drivers/misc/rp1/rp1-pci.o <- drivers/misc/rp1/rp1-pci.o dependency dropped. ld: input file 'drivers/misc/rp1/rp1-pci.o' is the same as output file make[6]: *** [../scripts/Makefile.build:443: drivers/misc/rp1/rp1-pci.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/misc/rp1] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/misc] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3183:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3183:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3184 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cadence/macb_main.c:284:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:284:16: expected unsigned int [usertype] bottom ../drivers/net/ethernet/cadence/macb_main.c:284:16: got restricted __le32 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:286:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:286:13: expected unsigned short [usertype] top ../drivers/net/ethernet/cadence/macb_main.c:286:13: got restricted __le16 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:3480:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3485:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3490:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3490:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3515:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3519:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3519:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3519:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3529:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3533:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3533:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3533:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3543:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3543:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3549:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3550:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3557:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3558:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3561:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1925: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files make[6]: Circular drivers/misc/rp1/rp1-pci.o <- drivers/misc/rp1/rp1-pci.o dependency dropped. ld: input file 'drivers/misc/rp1/rp1-pci.o' is the same as output file make[6]: *** [../scripts/Makefile.build:443: drivers/misc/rp1/rp1-pci.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/misc/rp1] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:485: drivers/misc] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../include/linux/kernel.h:31, from ../include/linux/bcm47xx_nvram.h:10, from ../drivers/firmware/broadcom/bcm47xx_sprom.c:29: ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u32.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:437:25: note: in definition of macro ‘printk_index_wrap’ 437 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:518:9: note: in expansion of macro ‘printk’ 518 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ ../include/linux/printk.h:518:16: note: in expansion of macro ‘KERN_WARNING’ 518 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:92:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 92 | NVRAM_READ_VAL(u32) | ^~~~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_s8.constprop’: ../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/printk.h:437:25: note: in definition of macro ‘printk_index_wrap’ 437 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ../include/linux/printk.h:518:9: note: in expansion of macro ‘printk’ 518 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ ../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ | ^~~~~~~~ ../include/linux/printk.h:518:16: note: in expansion of macro ‘KERN_WARNING’ 518 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ | ^~~~~~~ ../drivers/firmware/broadcom/bcm47xx_sprom.c:90:1: note: in expansion of macro ‘NVRAM_READ_VAL’ 90 | NVRAM_READ_VAL(s8) | ^~~~~~~~~~~~~~ ../drivers/platform/chrome/chromeos_laptop.c:729:43: warning: cast to non-scalar ../drivers/platform/chrome/chromeos_laptop.c:729:43: warning: cast from non-scalar ../drivers/staging/vt6655/device_main.c:1598:46: warning: cast to restricted __le64 ../drivers/staging/rtl8192e/rtllib_rx.c: note: in included file: ../drivers/staging/rtl8192e/rtllib.h:641:48: warning: array of flexible structures ../drivers/hid/intel-ish-hid/ipc/ipc.c:783:13: warning: invalid assignment: |= ../drivers/hid/intel-ish-hid/ipc/ipc.c:783:13: left side has type unsigned short ../drivers/hid/intel-ish-hid/ipc/ipc.c:783:13: right side has type restricted pci_power_t ../drivers/hid/intel-ish-hid/ipc/ipc.c:789:13: warning: invalid assignment: |= ../drivers/hid/intel-ish-hid/ipc/ipc.c:789:13: left side has type unsigned short ../drivers/hid/intel-ish-hid/ipc/ipc.c:789:13: right side has type restricted pci_power_t ../drivers/platform/x86/amd/pmc/mp2_stb.c:105:30: warning: incorrect type in assignment (different address spaces) ../drivers/platform/x86/amd/pmc/mp2_stb.c:105:30: expected void [noderef] __iomem *vslbase ../drivers/platform/x86/amd/pmc/mp2_stb.c:105:30: got void * ../drivers/staging/vt6655/card.c:302:31: warning: cast to restricted __le64 ../drivers/staging/vt6655/card.c:336:22: warning: cast to restricted __le64 ../drivers/staging/vt6655/card.c:751:16: warning: cast to restricted __le64 ../drivers/staging/vt6655/card.c:804:22: warning: cast to restricted __le64 ../drivers/staging/vt6655/card.c:831:18: warning: cast to restricted __le64 ../drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c: In function ‘vidioc_querycap’: ../drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c:885:74: warning: ‘%s’ directive output may be truncated writing up to 35 bytes into a region of size 23 [-Wformat-truncation=] 885 | snprintf((char *)cap->bus_info, sizeof(cap->bus_info), "platform:%s", dev->v4l2_dev.name); | ^~ ../drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c:885:9: note: ‘snprintf’ output between 10 and 45 bytes into a destination of size 32 885 | snprintf((char *)cap->bus_info, sizeof(cap->bus_info), "platform:%s", dev->v4l2_dev.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3247:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3247 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3247:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3247 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3248 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/staging/rtl8192e/rtl8192e/rtl_core.c: note: in included file (through ../drivers/staging/rtl8192e/rtl8192e/rtl_core.h): ../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:660:48: warning: array of flexible structures ../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:641:48: warning: array of flexible structures ../drivers/platform/x86/asus-wmi.c:2427:33: warning: incorrect type in argument 3 (different base types) ../drivers/platform/x86/asus-wmi.c:2427:33: expected unsigned int [usertype] val ../drivers/platform/x86/asus-wmi.c:2427:33: got restricted __le32 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:287:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:287:16: expected unsigned int [usertype] bottom ../drivers/net/ethernet/cadence/macb_main.c:287:16: got restricted __le32 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:289:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:289:13: expected unsigned short [usertype] top ../drivers/net/ethernet/cadence/macb_main.c:289:13: got restricted __le16 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:3590:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3595:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3600:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3600:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3625:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3629:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3629:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3629:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3639:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3643:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3643:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3643:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3653:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3653:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3659:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3660:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3667:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3668:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3671:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3707:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3707:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3761:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3761:25: warning: cast from restricted __be32 ../drivers/platform/x86/intel/pmc/core_ssram.c:277:25: warning: incorrect type in argument 1 (different address spaces) ../drivers/platform/x86/intel/pmc/core_ssram.c:277:25: expected void const volatile *val ../drivers/platform/x86/intel/pmc/core_ssram.c:277:25: got void [noderef] __iomem *__val ../drivers/firmware/efi/libstub/x86-stub.c:1069:6: warning: symbol 'efi_handover_entry' was not declared. Should it be static? ../drivers/platform/x86/intel/pmc/lnl.c:340:26: warning: symbol 'lnl_rsc_status_map' was not declared. Should it be static? ../drivers/platform/x86/samsung-laptop.c:1273:43: warning: incorrect type in assignment (different address spaces) ../drivers/platform/x86/samsung-laptop.c:1273:43: expected void *data ../drivers/platform/x86/samsung-laptop.c:1273:43: got void [noderef] __iomem *f0000_segment ../drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_1.0/ia_css_ynr.host.c:71:13: error: too long token expansion ../drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_1.0/ia_css_ynr.host.c:75:13: error: too long token expansion make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1925: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 New errors added --- /tmp/tmp.CS6zITMbZr 2024-08-20 14:46:39.171098131 -0700 +++ /tmp/tmp.CalSRDj2Du 2024-08-20 14:46:57.228471639 -0700 @@ -11,0 +12 @@ +make[5]: *** Waiting for unfinished jobs.... @@ -13,0 +15,73 @@ +In file included from ../include/linux/kernel.h:31, + from ../include/linux/bcm47xx_nvram.h:10, + from ../drivers/firmware/broadcom/bcm47xx_sprom.c:29: +../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_u32.constprop’: +../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] + 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ + | ^~~~~~ +../include/linux/printk.h:437:25: note: in definition of macro ‘printk_index_wrap’ + 437 | _p_func(_fmt, ##__VA_ARGS__); \ + | ^~~~ +../include/linux/printk.h:518:9: note: in expansion of macro ‘printk’ + 518 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) + | ^~~~~~ +../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ + 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ + | ^~~~~~~~ +../include/linux/printk.h:518:16: note: in expansion of macro ‘KERN_WARNING’ + 518 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) + | ^~~~~~~~~~~~ +../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ + 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ + | ^~~~~~~ +../drivers/firmware/broadcom/bcm47xx_sprom.c:92:1: note: in expansion of macro ‘NVRAM_READ_VAL’ + 92 | NVRAM_READ_VAL(u32) + | ^~~~~~~~~~~~~~ +../drivers/firmware/broadcom/bcm47xx_sprom.c: In function ‘nvram_read_s8.constprop’: +../include/linux/kern_levels.h:5:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] + 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ + | ^~~~~~ +../include/linux/printk.h:437:25: note: in definition of macro ‘printk_index_wrap’ + 437 | _p_func(_fmt, ##__VA_ARGS__); \ + | ^~~~ +../include/linux/printk.h:518:9: note: in expansion of macro ‘printk’ + 518 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) + | ^~~~~~ +../include/linux/kern_levels.h:12:25: note: in expansion of macro ‘KERN_SOH’ + 12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */ + | ^~~~~~~~ +../include/linux/printk.h:518:16: note: in expansion of macro ‘KERN_WARNING’ + 518 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) + | ^~~~~~~~~~~~ +../drivers/firmware/broadcom/bcm47xx_sprom.c:80:17: note: in expansion of macro ‘pr_warn’ + 80 | pr_warn("can not parse nvram name %s%s%s with value %s got %i\n", \ + | ^~~~~~~ +../drivers/firmware/broadcom/bcm47xx_sprom.c:90:1: note: in expansion of macro ‘NVRAM_READ_VAL’ + 90 | NVRAM_READ_VAL(s8) + | ^~~~~~~~~~~~~~ +../drivers/platform/chrome/chromeos_laptop.c:729:43: warning: cast to non-scalar +../drivers/platform/chrome/chromeos_laptop.c:729:43: warning: cast from non-scalar +../drivers/staging/vt6655/device_main.c:1598:46: warning: cast to restricted __le64 +../drivers/staging/rtl8192e/rtllib_rx.c: note: in included file: +../drivers/staging/rtl8192e/rtllib.h:641:48: warning: array of flexible structures +../drivers/hid/intel-ish-hid/ipc/ipc.c:783:13: warning: invalid assignment: |= +../drivers/hid/intel-ish-hid/ipc/ipc.c:783:13: left side has type unsigned short +../drivers/hid/intel-ish-hid/ipc/ipc.c:783:13: right side has type restricted pci_power_t +../drivers/hid/intel-ish-hid/ipc/ipc.c:789:13: warning: invalid assignment: |= +../drivers/hid/intel-ish-hid/ipc/ipc.c:789:13: left side has type unsigned short +../drivers/hid/intel-ish-hid/ipc/ipc.c:789:13: right side has type restricted pci_power_t +../drivers/platform/x86/amd/pmc/mp2_stb.c:105:30: warning: incorrect type in assignment (different address spaces) +../drivers/platform/x86/amd/pmc/mp2_stb.c:105:30: expected void [noderef] __iomem *vslbase +../drivers/platform/x86/amd/pmc/mp2_stb.c:105:30: got void * +../drivers/staging/vt6655/card.c:302:31: warning: cast to restricted __le64 +../drivers/staging/vt6655/card.c:336:22: warning: cast to restricted __le64 +../drivers/staging/vt6655/card.c:751:16: warning: cast to restricted __le64 +../drivers/staging/vt6655/card.c:804:22: warning: cast to restricted __le64 +../drivers/staging/vt6655/card.c:831:18: warning: cast to restricted __le64 +../drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c: In function ‘vidioc_querycap’: +../drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c:885:74: warning: ‘%s’ directive output may be truncated writing up to 35 bytes into a region of size 23 [-Wformat-truncation=] + 885 | snprintf((char *)cap->bus_info, sizeof(cap->bus_info), "platform:%s", dev->v4l2_dev.name); + | ^~ +../drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c:885:9: note: ‘snprintf’ output between 10 and 45 bytes into a destination of size 32 + 885 | snprintf((char *)cap->bus_info, sizeof(cap->bus_info), "platform:%s", dev->v4l2_dev.name); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15,2 +89,2 @@ -../drivers/net/ethernet/cadence/macb_main.c:3183:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] - 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", +../drivers/net/ethernet/cadence/macb_main.c:3247:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] + 3247 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", @@ -18,2 +92,2 @@ -../drivers/net/ethernet/cadence/macb_main.c:3183:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 - 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", +../drivers/net/ethernet/cadence/macb_main.c:3247:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 + 3247 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", @@ -21 +95 @@ - 3184 | q, queue_statistics[i].stat_string); + 3248 | q, queue_statistics[i].stat_string); @@ -23,29 +97,45 @@ -../drivers/net/ethernet/cadence/macb_main.c:284:16: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/cadence/macb_main.c:284:16: expected unsigned int [usertype] bottom -../drivers/net/ethernet/cadence/macb_main.c:284:16: got restricted __le32 [usertype] -../drivers/net/ethernet/cadence/macb_main.c:286:13: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/cadence/macb_main.c:286:13: expected unsigned short [usertype] top -../drivers/net/ethernet/cadence/macb_main.c:286:13: got restricted __le16 [usertype] -../drivers/net/ethernet/cadence/macb_main.c:3480:39: warning: restricted __be32 degrades to integer -../drivers/net/ethernet/cadence/macb_main.c:3485:39: warning: restricted __be32 degrades to integer -../drivers/net/ethernet/cadence/macb_main.c:3490:40: warning: restricted __be16 degrades to integer -../drivers/net/ethernet/cadence/macb_main.c:3490:69: warning: restricted __be16 degrades to integer -../drivers/net/ethernet/cadence/macb_main.c:3515:20: warning: restricted __be32 degrades to integer -../drivers/net/ethernet/cadence/macb_main.c:3519:20: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/cadence/macb_main.c:3519:20: expected unsigned int [assigned] [usertype] w0 -../drivers/net/ethernet/cadence/macb_main.c:3519:20: got restricted __be32 [usertype] ip4src -../drivers/net/ethernet/cadence/macb_main.c:3529:20: warning: restricted __be32 degrades to integer -../drivers/net/ethernet/cadence/macb_main.c:3533:20: warning: incorrect type in assignment (different base types) -../drivers/net/ethernet/cadence/macb_main.c:3533:20: expected unsigned int [assigned] [usertype] w0 -../drivers/net/ethernet/cadence/macb_main.c:3533:20: got restricted __be32 [usertype] ip4dst -../drivers/net/ethernet/cadence/macb_main.c:3543:21: warning: restricted __be16 degrades to integer -../drivers/net/ethernet/cadence/macb_main.c:3543:50: warning: restricted __be16 degrades to integer -../drivers/net/ethernet/cadence/macb_main.c:3549:30: warning: restricted __be16 degrades to integer -../drivers/net/ethernet/cadence/macb_main.c:3550:30: warning: restricted __be16 degrades to integer -../drivers/net/ethernet/cadence/macb_main.c:3557:36: warning: restricted __be16 degrades to integer -../drivers/net/ethernet/cadence/macb_main.c:3558:38: warning: restricted __be16 degrades to integer -../drivers/net/ethernet/cadence/macb_main.c:3561:38: warning: restricted __be16 degrades to integer -../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 -../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 -../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 -../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 +../drivers/staging/rtl8192e/rtl8192e/rtl_core.c: note: in included file (through ../drivers/staging/rtl8192e/rtl8192e/rtl_core.h): +../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:660:48: warning: array of flexible structures +../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:641:48: warning: array of flexible structures +../drivers/platform/x86/asus-wmi.c:2427:33: warning: incorrect type in argument 3 (different base types) +../drivers/platform/x86/asus-wmi.c:2427:33: expected unsigned int [usertype] val +../drivers/platform/x86/asus-wmi.c:2427:33: got restricted __le32 [usertype] +../drivers/net/ethernet/cadence/macb_main.c:287:16: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/cadence/macb_main.c:287:16: expected unsigned int [usertype] bottom +../drivers/net/ethernet/cadence/macb_main.c:287:16: got restricted __le32 [usertype] +../drivers/net/ethernet/cadence/macb_main.c:289:13: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/cadence/macb_main.c:289:13: expected unsigned short [usertype] top +../drivers/net/ethernet/cadence/macb_main.c:289:13: got restricted __le16 [usertype] +../drivers/net/ethernet/cadence/macb_main.c:3590:39: warning: restricted __be32 degrades to integer +../drivers/net/ethernet/cadence/macb_main.c:3595:39: warning: restricted __be32 degrades to integer +../drivers/net/ethernet/cadence/macb_main.c:3600:40: warning: restricted __be16 degrades to integer +../drivers/net/ethernet/cadence/macb_main.c:3600:69: warning: restricted __be16 degrades to integer +../drivers/net/ethernet/cadence/macb_main.c:3625:20: warning: restricted __be32 degrades to integer +../drivers/net/ethernet/cadence/macb_main.c:3629:20: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/cadence/macb_main.c:3629:20: expected unsigned int [assigned] [usertype] w0 +../drivers/net/ethernet/cadence/macb_main.c:3629:20: got restricted __be32 [usertype] ip4src +../drivers/net/ethernet/cadence/macb_main.c:3639:20: warning: restricted __be32 degrades to integer +../drivers/net/ethernet/cadence/macb_main.c:3643:20: warning: incorrect type in assignment (different base types) +../drivers/net/ethernet/cadence/macb_main.c:3643:20: expected unsigned int [assigned] [usertype] w0 +../drivers/net/ethernet/cadence/macb_main.c:3643:20: got restricted __be32 [usertype] ip4dst +../drivers/net/ethernet/cadence/macb_main.c:3653:21: warning: restricted __be16 degrades to integer +../drivers/net/ethernet/cadence/macb_main.c:3653:50: warning: restricted __be16 degrades to integer +../drivers/net/ethernet/cadence/macb_main.c:3659:30: warning: restricted __be16 degrades to integer +../drivers/net/ethernet/cadence/macb_main.c:3660:30: warning: restricted __be16 degrades to integer +../drivers/net/ethernet/cadence/macb_main.c:3667:36: warning: restricted __be16 degrades to integer +../drivers/net/ethernet/cadence/macb_main.c:3668:38: warning: restricted __be16 degrades to integer +../drivers/net/ethernet/cadence/macb_main.c:3671:38: warning: restricted __be16 degrades to integer +../drivers/net/ethernet/cadence/macb_main.c:3707:9: warning: cast from restricted __be32 +../drivers/net/ethernet/cadence/macb_main.c:3707:9: warning: cast from restricted __be32 +../drivers/net/ethernet/cadence/macb_main.c:3761:25: warning: cast from restricted __be32 +../drivers/net/ethernet/cadence/macb_main.c:3761:25: warning: cast from restricted __be32 +../drivers/platform/x86/intel/pmc/core_ssram.c:277:25: warning: incorrect type in argument 1 (different address spaces) +../drivers/platform/x86/intel/pmc/core_ssram.c:277:25: expected void const volatile *val +../drivers/platform/x86/intel/pmc/core_ssram.c:277:25: got void [noderef] __iomem *__val +../drivers/firmware/efi/libstub/x86-stub.c:1069:6: warning: symbol 'efi_handover_entry' was not declared. Should it be static? +../drivers/platform/x86/intel/pmc/lnl.c:340:26: warning: symbol 'lnl_rsc_status_map' was not declared. Should it be static? +../drivers/platform/x86/samsung-laptop.c:1273:43: warning: incorrect type in assignment (different address spaces) +../drivers/platform/x86/samsung-laptop.c:1273:43: expected void *data +../drivers/platform/x86/samsung-laptop.c:1273:43: got void [noderef] __iomem *f0000_segment +../drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_1.0/ia_css_ynr.host.c:71:13: error: too long token expansion +../drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_1.0/ia_css_ynr.host.c:75:13: error: too long token expansion Per-file breakdown --- /tmp/tmp.afdEHgtKCc 2024-08-20 14:46:57.237471825 -0700 +++ /tmp/tmp.cghMwOxxw7 2024-08-20 14:46:57.240471887 -0700 @@ -0,0 +1,3 @@ + 2 ../drivers/firmware/broadcom/bcm47xx_sprom.c + 1 ../drivers/firmware/efi/libstub/x86-stub.c + 2 ../drivers/hid/intel-ish-hid/ipc/ipc.c @@ -1,0 +5,14 @@ + 2 ../drivers/platform/chrome/chromeos_laptop.c + 1 ../drivers/platform/x86/amd/pmc/mp2_stb.c + 1 ../drivers/platform/x86/asus-wmi.c + 1 ../drivers/platform/x86/intel/pmc/core_ssram.c + 1 ../drivers/platform/x86/intel/pmc/lnl.c + 1 ../drivers/platform/x86/samsung-laptop.c + 2 ../drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_1.0/ia_css_ynr.host.c + 2 ../drivers/staging/rtl8192e/rtl8192e/../rtllib.h + 1 ../drivers/staging/rtl8192e/rtllib.h + 1 ../drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c + 5 ../drivers/staging/vt6655/card.c + 1 ../drivers/staging/vt6655/device_main.c + 2 ../include/linux/kern_levels.h + 2 ../include/linux/printk.h