../drivers/xen/manage.c: In function ‘shutdown_event’: ../drivers/xen/manage.c:354:60: warning: ‘%s’ directive output may be truncated writing up to 95 bytes into a region of size 12 [-Wformat-truncation=] 354 | snprintf(node, FEATURE_PATH_SIZE, "feature-%s", | ^~ In function ‘setup_shutdown_watcher’, inlined from ‘shutdown_event’ at ../drivers/xen/manage.c:371:2: ../drivers/xen/manage.c:354:17: note: ‘snprintf’ output between 9 and 104 bytes into a destination of size 20 354 | snprintf(node, FEATURE_PATH_SIZE, "feature-%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 355 | shutdown_handlers[idx].command); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/pwm/pwm-gpio.c:98:9: warning: context imbalance in 'pwm_gpio_timer' - wrong count at exit ../drivers/pwm/pwm-gpio.c:101:12: warning: context imbalance in 'pwm_gpio_apply' - different lock contexts for basic block ../drivers/pwm/pwm-gpio.c:166:9: warning: context imbalance in 'pwm_gpio_get_state' - wrong count at exit ../arch/x86/platform/uv/uv_irq.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/platform/uv/bios_uv.c:175:12: warning: function 'uv_bios_get_master_nasid' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:182:12: warning: function 'uv_bios_get_heapsize' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:189:12: warning: function 'uv_bios_install_heap' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:196:12: warning: function 'uv_bios_obj_count' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:203:12: warning: function 'uv_bios_enum_objs' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:210:12: warning: function 'uv_bios_enum_ports' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:217:12: warning: function 'uv_bios_get_geoinfo' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:223:12: warning: function 'uv_bios_get_pci_topology' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:249:19: warning: incorrect type in assignment (different address spaces) ../arch/x86/platform/uv/bios_uv.c:249:19: expected struct uv_systab *[addressable] [assigned] [toplevel] uv_systab ../arch/x86/platform/uv/bios_uv.c:249:19: got void [noderef] __iomem * ../arch/x86/platform/uv/bios_uv.c:252:25: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/platform/uv/bios_uv.c:252:25: expected void volatile [noderef] __iomem *addr ../arch/x86/platform/uv/bios_uv.c:252:25: got struct uv_systab *[addressable] [assigned] [toplevel] uv_systab ../arch/x86/platform/uv/bios_uv.c:260:25: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/platform/uv/bios_uv.c:260:25: expected void volatile [noderef] __iomem *addr ../arch/x86/platform/uv/bios_uv.c:260:25: got struct uv_systab *[addressable] [assigned] [toplevel] uv_systab ../arch/x86/platform/uv/bios_uv.c:261:27: warning: incorrect type in assignment (different address spaces) ../arch/x86/platform/uv/bios_uv.c:261:27: expected struct uv_systab *[addressable] [assigned] [toplevel] uv_systab ../arch/x86/platform/uv/bios_uv.c:261:27: got void [noderef] __iomem * ../arch/x86/platform/efi/efi.c:904:23: warning: symbol 'efi_attr_fw_vendor' was not declared. Should it be static? ../arch/x86/platform/efi/efi.c:905:23: warning: symbol 'efi_attr_runtime' was not declared. Should it be static? ../arch/x86/platform/efi/efi.c:906:23: warning: symbol 'efi_attr_config_table' was not declared. Should it be static? ../arch/x86/entry/common.c:211: warning: Function parameter or struct member 'regs' not described in 'do_int80_emulation' ../arch/x86/kernel/setup.c:167:6: warning: symbol 'builtin_cmdline' was not declared. Should it be static? ../arch/x86/platform/uv/uv_time.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../kernel/power/suspend_test.c:97:17: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:103:17: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:109:17: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:168:38: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:168:16: warning: incorrect type in assignment (different base types) ../kernel/power/suspend_test.c:168:16: expected int i ../kernel/power/suspend_test.c:168:16: got restricted suspend_state_t [usertype] ../kernel/power/suspend_test.c:192:43: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:192:56: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:193:53: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:192:82: warning: restricted suspend_state_t degrades to integer ../arch/x86/xen/enlighten.c:55:20: warning: symbol 'xen_have_vector_callback' was not declared. Should it be static? ../arch/x86/platform/uv/uv_nmi.c:318:27: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:318:27: expected void const volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:318:27: got int *addr ../arch/x86/platform/uv/uv_nmi.c:325:32: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:325:32: expected void volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:325:32: got int *addr ../arch/x86/platform/uv/uv_nmi.c:328:30: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:328:30: expected void volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:328:30: got int *addr ../arch/x86/platform/uv/uv_nmi.c:331:21: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:331:21: expected void const volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:331:21: got int *addr ../arch/x86/platform/uv/uv_nmi.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:625:41: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:625:41: expected void volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:625:41: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/platform/uv/uv_nmi.c:573:9: warning: context imbalance in 'uv_check_nmi' - different lock contexts for basic block ../arch/x86/include/asm/uv/uv_hub.h:625:41: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:625:41: expected void volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:625:41: got unsigned long * ../arch/x86/platform/uv/uv_nmi.c:591:17: warning: context imbalance in 'uv_handle_nmi' - unexpected unlock ../arch/x86/hyperv/hv_init.c:72:20: warning: cast removes address space '__iomem' of expression ../arch/x86/hyperv/hv_init.c:240:33: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/hyperv/hv_init.c:240:33: expected void volatile [noderef] __iomem *addr ../arch/x86/hyperv/hv_init.c:240:33: got void * ../arch/x86/hyperv/hv_init.c: note: in included file (through ../arch/x86/include/asm/cpuid.h, ../arch/x86/include/asm/processor.h, ../arch/x86/include/asm/timex.h, ../include/linux/timex.h, ../include/linux/time32.h, ...): ../arch/x86/include/asm/paravirt.h:224:9: warning: cast truncates bits from constant value (8000000000000000 becomes 0) ../drivers/acpi/osl.c:378:17: warning: cast removes address space '__iomem' of expression ../drivers/acpi/osl.c:1686:20: warning: incorrect type in assignment (different address spaces) ../drivers/acpi/osl.c:1686:20: expected void *rv ../drivers/acpi/osl.c:1686:20: got void [noderef] __iomem * ../drivers/acpi/osl.c:740:1: warning: context imbalance in 'acpi_os_read_memory' - wrong count at exit ../drivers/acpi/osl.c:773:1: warning: context imbalance in 'acpi_os_write_memory' - wrong count at exit ../drivers/video/fbdev/atmel_lcdfb.c:333:27: warning: incorrect type in assignment (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:333:27: expected char [noderef] __iomem *screen_base ../drivers/video/fbdev/atmel_lcdfb.c:333:27: got void * ../drivers/video/fbdev/atmel_lcdfb.c:341:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:341:9: expected void const * ../drivers/video/fbdev/atmel_lcdfb.c:341:9: got char [noderef] __iomem *screen_base ../drivers/video/fbdev/atmel_lcdfb.c:341:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:341:9: expected void const * ../drivers/video/fbdev/atmel_lcdfb.c:341:9: got char [noderef] __iomem *screen_base ../drivers/video/fbdev/atmel_lcdfb.c:341:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:341:9: expected void * ../drivers/video/fbdev/atmel_lcdfb.c:341:9: got char [noderef] __iomem *screen_base ../drivers/video/fbdev/atmel_lcdfb.c:312:59: warning: incorrect type in argument 3 (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:312:59: expected void *cpu_addr ../drivers/video/fbdev/atmel_lcdfb.c:312:59: got char [noderef] __iomem *screen_base ../drivers/video/fbdev/atmel_lcdfb.c:312:59: warning: incorrect type in argument 3 (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:312:59: expected void *cpu_addr ../drivers/video/fbdev/atmel_lcdfb.c:312:59: got char [noderef] __iomem *screen_base ../init/main.c:192:12: warning: symbol 'envp_init' was not declared. Should it be static? ../init/main.c:290:16: warning: cast to restricted __le32 ../init/main.c:291:16: warning: cast to restricted __le32 ../drivers/gpio/gpiolib-sysfs.c:162:12: warning: context imbalance in 'gpio_sysfs_request_irq' - wrong count at exit ../drivers/gpio/gpiolib-sysfs.c:228:13: warning: context imbalance in 'gpio_sysfs_free_irq' - wrong count at exit ../drivers/gpio/gpiolib-sysfs.c:443:16: warning: context imbalance in 'export_store' - different lock contexts for basic block ../drivers/gpio/gpiolib-sysfs.c:567:5: warning: context imbalance in 'gpiod_export' - wrong count at exit ../drivers/gpio/gpiolib-sysfs.c:722:5: warning: context imbalance in 'gpiochip_sysfs_register' - wrong count at exit ../drivers/gpio/gpiolib-sysfs.c:765:6: warning: context imbalance in 'gpiochip_sysfs_unregister' - wrong count at exit ../drivers/gpio/gpiolib-swnode.c:141:28: warning: symbol 'swnode_gpio_undefined' was not declared. Should it be static? ../sound/soc/generic/simple-card-utils.c:27:33: warning: incorrect type in initializer (different base types) ../sound/soc/generic/simple-card-utils.c:27:33: expected unsigned int [usertype] val ../sound/soc/generic/simple-card-utils.c:27:33: got restricted snd_pcm_format_t [usertype] ../sound/soc/generic/simple-card-utils.c:28:33: warning: incorrect type in initializer (different base types) ../sound/soc/generic/simple-card-utils.c:28:33: expected unsigned int [usertype] val ../sound/soc/generic/simple-card-utils.c:28:33: got restricted snd_pcm_format_t [usertype] ../sound/soc/generic/simple-card-utils.c:29:33: warning: incorrect type in initializer (different base types) ../sound/soc/generic/simple-card-utils.c:29:33: expected unsigned int [usertype] val ../sound/soc/generic/simple-card-utils.c:29:33: got restricted snd_pcm_format_t [usertype] ../sound/soc/generic/simple-card-utils.c:30:33: warning: incorrect type in initializer (different base types) ../sound/soc/generic/simple-card-utils.c:30:33: expected unsigned int [usertype] val ../sound/soc/generic/simple-card-utils.c:30:33: got restricted snd_pcm_format_t [usertype] ../sound/soc/generic/simple-card-utils.c:31:33: warning: incorrect type in initializer (different base types) ../sound/soc/generic/simple-card-utils.c:31:33: expected unsigned int [usertype] val ../sound/soc/generic/simple-card-utils.c:31:33: got restricted snd_pcm_format_t [usertype] ../drivers/misc/keba/cp500.c:962:34: warning: Using plain integer as NULL pointer ../drivers/video/fbdev/hyperv_fb.c:1006:43: warning: incorrect type in assignment (different address spaces) ../drivers/video/fbdev/hyperv_fb.c:1006:43: expected char [noderef] __iomem *screen_base ../drivers/video/fbdev/hyperv_fb.c:1006:43: got unsigned char *mmio_vp ../drivers/video/fbdev/hyperv_fb.c:1046:25: warning: cast removes address space '__iomem' of expression ../drivers/video/fbdev/hyperv_fb.c:1050:27: warning: incorrect type in assignment (different address spaces) ../drivers/video/fbdev/hyperv_fb.c:1050:27: expected char [noderef] __iomem *screen_base ../drivers/video/fbdev/hyperv_fb.c:1050:27: got unsigned char *dio_vp ../lib/vsprintf.c: In function ‘va_format’: ../lib/vsprintf.c:1704:9: warning: function ‘va_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1704 | buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va); | ^~~ ../arch/x86/xen/mmu_pv.c:664:19: warning: context imbalance in 'xen_pte_lock' - wrong count at exit ../arch/x86/xen/mmu_pv.c:676:13: warning: context imbalance in 'xen_pte_unlock' - unexpected unlock ../drivers/gpio/gpiolib.c:353:5: warning: context imbalance in 'gpiod_get_direction' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:459:25: warning: context imbalance in 'gpio_name_to_desc' - wrong count at exit ../drivers/gpio/gpiolib.c:858:9: warning: context imbalance in 'gpiochip_setup_devs' - wrong count at exit ../drivers/gpio/gpiolib.c:1218:20: warning: context imbalance in 'gpio_device_find' - wrong count at exit ../drivers/gpio/gpiolib.c:2309:12: warning: context imbalance in 'gpiod_request_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:2410:9: warning: context imbalance in 'gpiod_free_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:2457:6: warning: context imbalance in 'gpiochip_dup_line_label' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:2561:5: warning: context imbalance in 'gpio_do_set_config' - wrong count at exit ../drivers/gpio/gpiolib.c:2702:5: warning: context imbalance in 'gpiod_direction_input_nonotify' - wrong count at exit ../drivers/gpio/gpiolib.c:2749:12: warning: context imbalance in 'gpiod_direction_output_raw_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:2919:5: warning: context imbalance in 'gpiod_enable_hw_timestamp_ns' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:2952:5: warning: context imbalance in 'gpiod_disable_hw_timestamp_ns' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:3108:12: warning: context imbalance in 'gpiod_get_raw_value_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:3153:22: warning: context imbalance in 'gpio_device_chip_cmp' - wrong count at exit ../drivers/gpio/gpiolib.c:3156:5: warning: context imbalance in 'gpiod_get_array_value_complex' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:3385:13: warning: context imbalance in 'gpio_set_open_drain_value_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:3412:13: warning: context imbalance in 'gpio_set_open_source_value_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:3434:13: warning: context imbalance in 'gpiod_set_raw_value_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:3501:9: warning: context imbalance in 'gpiod_set_array_value_complex' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:3741:5: warning: context imbalance in 'gpiod_to_irq' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:4687:5: warning: context imbalance in 'gpiod_hog' - wrong count at exit ../drivers/gpio/gpiolib.c:4999:9: warning: context imbalance in 'gpiolib_dbg_show' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:5026:13: warning: context imbalance in 'gpiolib_seq_start' - wrong count at exit ../drivers/gpio/gpiolib.c: note: in included file (through ../include/linux/notifier.h, ../arch/x86/include/asm/uprobes.h, ../include/linux/uprobes.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ...): ../include/linux/srcu.h:357:9: warning: context imbalance in 'gpiolib_seq_stop' - unexpected unlock ../drivers/gpio/gpiolib.c:5071:12: warning: context imbalance in 'gpiolib_seq_show' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:204:13: warning: context imbalance in 'linehandle_ioctl' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1457:13: warning: context imbalance in 'linereq_ioctl' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1488:17: warning: context imbalance in 'linereq_poll' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1508:16: warning: context imbalance in 'linereq_read' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1806:17: warning: context imbalance in 'lineevent_poll' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1841:16: warning: context imbalance in 'lineevent_read' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1925:13: warning: context imbalance in 'lineevent_ioctl' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2238:13: warning: context imbalance in 'gpio_desc_to_lineinfo' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2459:13: warning: context imbalance in 'gpio_ioctl' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2602:17: warning: context imbalance in 'lineinfo_watch_poll' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2622:16: warning: context imbalance in 'lineinfo_watch_read' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2706:12: warning: context imbalance in 'gpio_chrdev_open' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2803:5: warning: context imbalance in 'gpiolib_cdev_register' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:133:9: warning: context imbalance in 'uart_stop' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:173:9: warning: context imbalance in 'uart_start' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:273:17: warning: context imbalance in 'uart_alloc_xmit_buf' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:298:9: warning: context imbalance in 'uart_free_xmit_buf' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:604:9: warning: context imbalance in 'uart_put_char' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:637:9: warning: context imbalance in 'uart_write' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:650:9: warning: context imbalance in 'uart_write_room' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:663:9: warning: context imbalance in 'uart_chars_in_buffer' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:688:9: warning: context imbalance in 'uart_flush_buffer' - different lock contexts for basic block ../drivers/regulator/core.c: note: in included file: ../drivers/regulator/internal.h:54:42: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:1896:56: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:1898:56: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:452:17: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:452:25: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:466:47: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:3785:65: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:4262:47: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:4439:65: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:6254:54: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:6255:54: warning: restricted suspend_state_t degrades to integer ../kernel/time/alarmtimer.c:532:13: warning: context imbalance in 'alarm_handle_timer' - wrong count at exit ../drivers/gpu/drm/i2c/tda998x_drv.c:1716:50: warning: incorrect type in argument 1 (different base types) ../drivers/gpu/drm/i2c/tda998x_drv.c:1716:50: expected restricted __be32 const [usertype] *p ../drivers/gpu/drm/i2c/tda998x_drv.c:1716:50: got unsigned int const [usertype] * ../drivers/gpu/drm/i2c/tda998x_drv.c:1717:52: warning: incorrect type in argument 1 (different base types) ../drivers/gpu/drm/i2c/tda998x_drv.c:1717:52: expected restricted __be32 const [usertype] *p ../drivers/gpu/drm/i2c/tda998x_drv.c:1717:52: got unsigned int const [usertype] * ../lib/test_printf.c:741:49: warning: cast from restricted gfp_t ../lib/test_printf.c:745:58: warning: cast from restricted gfp_t ../arch/x86/kernel/acpi/boot.c:114:30: warning: incorrect type in return expression (different address spaces) ../arch/x86/kernel/acpi/boot.c:114:30: expected void [noderef] __iomem * ../arch/x86/kernel/acpi/boot.c:114:30: got void * ../arch/x86/kernel/acpi/boot.c:122:24: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/kernel/acpi/boot.c:122:24: expected void *addr ../arch/x86/kernel/acpi/boot.c:122:24: got void [noderef] __iomem *map ../fs/jffs2/background.c: note: in included file (through ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/compat.h, ../arch/x86/include/asm/ia32.h, ../arch/x86/include/asm/elf.h, ...): ../include/linux/sched/signal.h:289:28: warning: incorrect type in argument 1 (different address spaces) ../include/linux/sched/signal.h:289:28: expected struct spinlock [usertype] *lock ../include/linux/sched/signal.h:289:28: got struct spinlock [noderef] __rcu * ../include/linux/sched/signal.h:291:30: warning: incorrect type in argument 1 (different address spaces) ../include/linux/sched/signal.h:291:30: expected struct spinlock [usertype] *lock ../include/linux/sched/signal.h:291:30: got struct spinlock [noderef] __rcu * ../include/linux/sched/signal.h:298:31: warning: incorrect type in argument 1 (different address spaces) ../include/linux/sched/signal.h:298:31: expected struct spinlock [usertype] *lock ../include/linux/sched/signal.h:298:31: got struct spinlock [noderef] __rcu * ../include/linux/sched/signal.h:303:33: warning: incorrect type in argument 1 (different address spaces) ../include/linux/sched/signal.h:303:33: expected struct spinlock [usertype] *lock ../include/linux/sched/signal.h:303:33: got struct spinlock [noderef] __rcu * ../drivers/spi/spi-altera-dfl.c:52:30: warning: incorrect type in initializer (different address spaces) ../drivers/spi/spi-altera-dfl.c:52:30: expected void [noderef] __iomem *base ../drivers/spi/spi-altera-dfl.c:52:30: got void *context ../drivers/spi/spi-altera-dfl.c:78:30: warning: incorrect type in initializer (different address spaces) ../drivers/spi/spi-altera-dfl.c:78:30: expected void [noderef] __iomem *base ../drivers/spi/spi-altera-dfl.c:78:30: got void *context ../drivers/spi/spi-altera-dfl.c:153:22: warning: incorrect type in argument 3 (different address spaces) ../drivers/spi/spi-altera-dfl.c:153:22: expected void *bus_context ../drivers/spi/spi-altera-dfl.c:153:22: got void [noderef] __iomem *[assigned] base ../drivers/scsi/isci/remote_node_context.c:135:42: warning: restricted __le64 degrades to integer ../drivers/scsi/isci/remote_node_context.c:136:42: warning: restricted __le64 degrades to integer ../drivers/usb/host/ohci-at91.c:471:39: warning: invalid assignment: &= ../drivers/usb/host/ohci-at91.c:471:39: left side has type unsigned int ../drivers/usb/host/ohci-at91.c:471:39: right side has type restricted __le32 ../drivers/usb/host/ohci-at91.c:474:39: warning: invalid assignment: |= ../drivers/usb/host/ohci-at91.c:474:39: left side has type unsigned int ../drivers/usb/host/ohci-at91.c:474:39: right side has type restricted __le32 ../drivers/usb/host/ohci-at91.c:477:39: warning: invalid assignment: |= ../drivers/usb/host/ohci-at91.c:477:39: left side has type unsigned int ../drivers/usb/host/ohci-at91.c:477:39: right side has type restricted __le32 ../arch/x86/kernel/apic/apic.c:2143: warning: Function parameter or struct member 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' ../arch/x86/kernel/apic/apic.c:2143: warning: expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead ../drivers/xen/privcmd.c:572:35: warning: cast removes address space '__user' of expression ../drivers/xen/privcmd.c:572:32: warning: incorrect type in assignment (different address spaces) ../drivers/xen/privcmd.c:572:32: expected unsigned long [noderef] [usertype] __user *[addressable] [assigned] user_gfn ../drivers/xen/privcmd.c:572:32: got unsigned long [usertype] * ../drivers/xen/privcmd.c:700:17: warning: incorrect type in assignment (different address spaces) ../drivers/xen/privcmd.c:700:17: expected void *[usertype] h ../drivers/xen/privcmd.c:700:17: got void [noderef] __user *uptr ../drivers/misc/sgi-xp/xp_main.c:69:25: warning: symbol 'xpc_registrations' was not declared. Should it be static? ../drivers/input/keyboard/applespi.c:730:9: warning: context imbalance in 'applespi_msg_complete' - wrong count at exit ../drivers/input/keyboard/applespi.c:893:9: warning: context imbalance in 'applespi_init' - wrong count at exit ../drivers/input/keyboard/applespi.c:896:12: warning: context imbalance in 'applespi_set_capsl_led' - wrong count at exit ../drivers/input/keyboard/applespi.c:926:9: warning: context imbalance in 'applespi_set_bl_level' - wrong count at exit ../drivers/input/keyboard/applespi.c:1400:13: warning: context imbalance in 'applespi_got_data' - different lock contexts for basic block ../drivers/input/keyboard/applespi.c:1569:9: warning: context imbalance in 'applespi_notify' - wrong count at exit ../drivers/input/keyboard/applespi.c:1799:9: warning: context imbalance in 'applespi_drain_writes' - wrong count at exit ../drivers/input/keyboard/applespi.c:1810:9: warning: context imbalance in 'applespi_drain_reads' - wrong count at exit ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'boost_ctrl' not described in 'lm3692x_led' ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'brightness_ctrl' not described in 'lm3692x_led' ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'enabled' not described in 'lm3692x_led' ../arch/x86/kernel/apic/io_apic.c:298:35: warning: context imbalance in 'ioapic_read_entry' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:316:13: warning: context imbalance in 'ioapic_write_entry' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:327:13: warning: context imbalance in 'ioapic_mask_entry' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:402:13: warning: context imbalance in 'mask_ioapic_irq' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:415:13: warning: context imbalance in 'unmask_ioapic_irq' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:464:9: warning: context imbalance in 'eoi_ioapic_pin' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:468:13: warning: context imbalance in 'clear_IO_APIC_pin' - different lock contexts for basic block ../arch/x86/kernel/apic/io_apic.c:1574:9: warning: context imbalance in 'startup_ioapic_irq' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:1581:13: warning: context imbalance in 'io_apic_level_ack_pending' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:1808:9: warning: context imbalance in 'ioapic_set_affinity' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:1825:12: warning: context imbalance in 'ioapic_irq_get_chip_state' - different lock contexts for basic block ../arch/x86/kernel/apic/io_apic.c:2305:9: warning: context imbalance in 'resume_ioapic_id' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:2335:12: warning: context imbalance in 'io_apic_get_redir_entries' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:2475:12: warning: context imbalance in 'io_apic_get_version' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:2926:5: warning: context imbalance in 'mp_irqdomain_activate' - wrong count at exit ../drivers/misc/sgi-gru/grufile.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../drivers/spi/spi-armada-3700.c:499:65: warning: incorrect type in argument 3 (different base types) ../drivers/spi/spi-armada-3700.c:499:65: expected unsigned int [usertype] data ../drivers/spi/spi-armada-3700.c:499:65: got restricted __le32 [usertype] ../drivers/spi/spi-armada-3700.c:521:31: warning: cast to restricted __le32 ../drivers/misc/sgi-xp/xpc_channel.c:781:31: warning: context imbalance in 'xpc_disconnect_channel' - unexpected unlock ../drivers/input/keyboard/gpio_keys.c:491:9: warning: context imbalance in 'gpio_keys_irq_isr' - wrong count at exit ../arch/x86/kernel/apic/x2apic_uv_x.c:79:13: warning: incorrect type in assignment (different address spaces) ../arch/x86/kernel/apic/x2apic_uv_x.c:79:13: expected unsigned long *mmr ../arch/x86/kernel/apic/x2apic_uv_x.c:79:13: got void [noderef] __iomem * ../arch/x86/kernel/apic/x2apic_uv_x.c:81:23: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/kernel/apic/x2apic_uv_x.c:81:23: expected void [noderef] __iomem *addr ../arch/x86/kernel/apic/x2apic_uv_x.c:81:23: got unsigned long *mmr ../arch/x86/kernel/apic/x2apic_uv_x.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../drivers/spi/atmel-quadspi.c:244: warning: Function parameter or struct member 'pclk_div' not described in 'atmel_qspi_pcal' ../drivers/spi/atmel-quadspi.c:244: warning: Excess struct member 'pclkdiv' description in 'atmel_qspi_pcal' ../drivers/pci/controller/dwc/pci-dra7xx.c: In function ‘dra7xx_pcie_probe’: ../drivers/pci/controller/dwc/pci-dra7xx.c:748:55: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:46: note: directive argument in the range [0, 2147483646] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/misc/sgi-xp/xpc_uv.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../drivers/misc/sgi-xp/xpc_uv.c:681:47: warning: context imbalance in 'xpc_send_activate_IRQ_ch_uv' - unexpected unlock ../drivers/misc/sgi-gru/grukdump.c:60:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:60:17: expected void const * ../drivers/misc/sgi-gru/grukdump.c:60:17: got void [noderef] __user *[addressable] ubuf ../drivers/misc/sgi-gru/grukdump.c:60:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:60:17: expected void const * ../drivers/misc/sgi-gru/grukdump.c:60:17: got void [noderef] __user *[addressable] ubuf ../drivers/misc/sgi-gru/grukdump.c:60:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:60:17: expected void * ../drivers/misc/sgi-gru/grukdump.c:60:17: got void [noderef] __user *[addressable] ubuf ../drivers/misc/sgi-gru/grukdump.c:129:17: warning: incorrect type in assignment (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:129:17: expected struct gru_context_configuration_handle *ubufcch ../drivers/misc/sgi-gru/grukdump.c:129:17: got void [noderef] __user *[assigned] ubuf ../drivers/misc/sgi-gru/grukdump.c:192:14: warning: incorrect type in assignment (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:192:14: expected void [noderef] __user *ubuf ../drivers/misc/sgi-gru/grukdump.c:192:14: got void *[addressable] [assigned] buf ../drivers/misc/sgi-gru/grukdump.c:193:17: warning: incorrect type in assignment (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:193:17: expected void [noderef] __user *ubufend ../drivers/misc/sgi-gru/grukdump.c:193:17: got void * ../drivers/mfd/sm501.c:1148:29: warning: cast to non-scalar ../drivers/mfd/sm501.c:1148:29: warning: cast from non-scalar ../drivers/mfd/sm501.c:1152:29: warning: cast to non-scalar ../drivers/mfd/sm501.c:1152:29: warning: cast from non-scalar ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3177:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3177 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3177:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3177 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3178 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/spi/spi-bcm63xx.c:571:22: warning: cast removes address space '__iomem' of expression ../drivers/spi/spi-bcm63xx.c:571:19: warning: incorrect type in assignment (different address spaces) ../drivers/spi/spi-bcm63xx.c:571:19: expected unsigned char [noderef] [usertype] __iomem *tx_io ../drivers/spi/spi-bcm63xx.c:571:19: got unsigned char [usertype] * ../drivers/spi/spi-bcm63xx.c:572:22: warning: cast removes address space '__iomem' of expression ../drivers/spi/spi-bcm63xx.c:572:19: warning: incorrect type in assignment (different address spaces) ../drivers/spi/spi-bcm63xx.c:572:19: expected unsigned char const [noderef] [usertype] __iomem *rx_io ../drivers/spi/spi-bcm63xx.c:572:19: got unsigned char const [usertype] * ../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:3473:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3478:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3483:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3483:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3508:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3512:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3512:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3512:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3522:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3526:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3526:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3526:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3536:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3536:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3542:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3543:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3550:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3551:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3554:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3590:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3590:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3644:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3644:25: warning: cast from restricted __be32 ../drivers/input/keyboard/matrix_keypad.c:186:9: warning: context imbalance in 'matrix_keypad_interrupt' - wrong count at exit ../drivers/power/supply/sbs-battery.c: In function ‘sbs_get_property’: ../drivers/power/supply/sbs-battery.c:834:30: warning: ‘%04x’ directive writing between 4 and 8 bytes into a region of size 5 [-Wformat-overflow=] 834 | sprintf(sbs_serial, "%04x", ret); | ^~~~ In function ‘sbs_get_battery_serial_number’, inlined from ‘sbs_get_property’ at ../drivers/power/supply/sbs-battery.c:965:9: ../drivers/power/supply/sbs-battery.c:834:29: note: directive argument in the range [0, 2147483647] 834 | sprintf(sbs_serial, "%04x", ret); | ^~~~~~ ../drivers/power/supply/sbs-battery.c:834:9: note: ‘sprintf’ output between 5 and 9 bytes into a destination of size 5 834 | sprintf(sbs_serial, "%04x", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../arch/x86/kernel/kvm.c:71:1: warning: symbol '__pcpu_scope_steal_time' was not declared. Should it be static? ../drivers/tty/serial/imx.c:2088:13: warning: context imbalance in 'imx_uart_console_device_lock' - wrong count at exit ../drivers/tty/serial/imx.c:2095:13: warning: context imbalance in 'imx_uart_console_device_unlock' - unexpected unlock ../drivers/firmware/dmi_scan.c:693:27: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/dmi_scan.c:693:27: expected char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:693:27: got void * ../drivers/firmware/dmi_scan.c:697:41: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/dmi_scan.c:697:41: expected void *addr ../drivers/firmware/dmi_scan.c:697:41: got char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:711:19: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/dmi_scan.c:711:19: expected char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:711:19: got void * ../drivers/firmware/dmi_scan.c:715:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/dmi_scan.c:715:33: expected void *addr ../drivers/firmware/dmi_scan.c:715:33: got char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:722:19: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/dmi_scan.c:722:19: expected char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:722:19: got void * ../drivers/firmware/dmi_scan.c:735:49: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/dmi_scan.c:735:49: expected void *addr ../drivers/firmware/dmi_scan.c:735:49: got char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:753:49: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/dmi_scan.c:753:49: expected void *addr ../drivers/firmware/dmi_scan.c:753:49: got char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:758:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/dmi_scan.c:758:33: expected void *addr ../drivers/firmware/dmi_scan.c:758:33: got char [noderef] __iomem *p ../drivers/rtc/rtc-cmos.c:648:9: warning: context imbalance in 'cmos_nvram_read' - different lock contexts for basic block ../drivers/rtc/rtc-cmos.c:673:37: warning: context imbalance in 'cmos_nvram_write' - different lock contexts for basic block ../drivers/usb/misc/usb3503.c:231:44: warning: cast to restricted __be32 ../drivers/mmc/host/mmc_spi.c:748:17: warning: incorrect type in argument 1 (different base types) ../drivers/mmc/host/mmc_spi.c:748:17: expected unsigned short [usertype] *p ../drivers/mmc/host/mmc_spi.c:748:17: got restricted __be16 * ../drivers/mmc/host/mmc_spi.c:749:28: warning: restricted __be16 degrades to integer ../drivers/spi/spi-bcm-qspi.c:396:30: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-bcm-qspi.c:396:30: expected unsigned int [assigned] [usertype] data ../drivers/spi/spi-bcm-qspi.c:396:30: got restricted __le32 [usertype] ../drivers/spi/spi-bcm-qspi.c:360:24: warning: cast to restricted __le32 ../drivers/firmware/broadcom/bcm47xx_nvram.c:42:18: warning: cast removes address space '__iomem' of expression ../drivers/firmware/broadcom/bcm47xx_nvram.c:53:21: warning: dereference of noderef expression ../drivers/firmware/broadcom/bcm47xx_nvram.c:41: warning: Function parameter or struct member 'nvram' not described in 'bcm47xx_nvram_is_valid' ../drivers/firmware/broadcom/bcm47xx_nvram.c:49: warning: Function parameter or struct member 'nvram_start' not described in 'bcm47xx_nvram_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:49: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:73: warning: Function parameter or struct member 'flash_start' not described in 'bcm47xx_nvram_find_and_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:73: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_find_and_copy' ../drivers/leds/leds-dac124s085.c:42:14: warning: incorrect type in assignment (different base types) ../drivers/leds/leds-dac124s085.c:42:14: expected unsigned short [usertype] word ../drivers/leds/leds-dac124s085.c:42:14: got restricted __le16 [usertype] ../drivers/platform/x86/dell/dcdbas.c:104: warning: Function parameter or struct member 'size' not described in 'smi_data_buf_realloc' ../drivers/platform/x86/dell/dcdbas.c:285: warning: Function parameter or struct member 'smi_cmd' not described in 'dcdbas_smi_request' ../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'dev' not described in 'smi_request_store' ../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'attr' not described in 'smi_request_store' ../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'buf' not described in 'smi_request_store' ../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'count' not described in 'smi_request_store' ../drivers/platform/x86/dell/dcdbas.c:616: warning: Function parameter or struct member 'nb' not described in 'dcdbas_reboot_notify' ../drivers/platform/x86/dell/dcdbas.c:616: warning: Function parameter or struct member 'code' not described in 'dcdbas_reboot_notify' ../drivers/platform/x86/dell/dcdbas.c:616: warning: Function parameter or struct member 'unused' not described in 'dcdbas_reboot_notify' ../drivers/usb/gadget/udc/pxa27x_udc.c:2090:20: warning: incorrect type in assignment (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2090:20: expected restricted __le16 [assigned] [usertype] wValue ../drivers/usb/gadget/udc/pxa27x_udc.c:2090:20: got int config ../drivers/usb/gadget/udc/pxa27x_udc.c:2119:20: warning: incorrect type in assignment (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2119:20: expected restricted __le16 [assigned] [usertype] wValue ../drivers/usb/gadget/udc/pxa27x_udc.c:2119:20: got int alt ../drivers/usb/gadget/udc/pxa27x_udc.c:2120:20: warning: incorrect type in assignment (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2120:20: expected restricted __le16 [assigned] [usertype] wIndex ../drivers/usb/gadget/udc/pxa27x_udc.c:2120:20: got int iface ../drivers/usb/gadget/udc/pxa27x_udc.c:2303:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2303:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2303:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:2304:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2304:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2304:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:2305:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2305:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2305:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:2306:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2306:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2306:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:2307:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2307:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2307:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:2308:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2308:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2308:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:677:39: warning: context imbalance in 'req_done' - unexpected unlock ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'stall' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'prot_stall' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'registered' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'suspended' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'connected' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'vbus_session' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'set_cfg_not_acked' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'waiting_zlp_ack' description in 'pch_udc_dev' ../drivers/tty/serial/sh-sci.c: note: in included file (through ../include/linux/serial_sci.h): ../include/linux/serial_core.h:785:34: warning: context imbalance in 'sci_dma_rx_submit' - unexpected unlock ../drivers/leds/flash/leds-ktd2692.c:62:33: warning: symbol 'ktd2692_timing' was not declared. Should it be static? ../drivers/usb/gadget/udc/max3420_udc.c:551:41: warning: restricted __le16 degrades to integer ../drivers/usb/gadget/udc/max3420_udc.c:552:31: warning: restricted __le16 degrades to integer ../drivers/usb/gadget/udc/max3420_udc.c:566:16: warning: incorrect type in assignment (different base types) ../drivers/usb/gadget/udc/max3420_udc.c:566:16: expected unsigned short [assigned] [usertype] status ../drivers/usb/gadget/udc/max3420_udc.c:566:16: got restricted __le16 [usertype] ../drivers/usb/gadget/udc/max3420_udc.c:584:31: warning: restricted __le16 degrades to integer ../drivers/usb/gadget/udc/max3420_udc.c:598:32: warning: restricted __le16 degrades to integer ../drivers/usb/gadget/udc/max3420_udc.c:626:29: warning: cast from restricted __le16 ../drivers/usb/gadget/udc/max3420_udc.c:627:29: warning: cast from restricted __le16 ../drivers/usb/gadget/udc/max3420_udc.c:628:30: warning: cast from restricted __le16 ../drivers/rtc/rtc-ds2404.c:172:20: warning: incorrect type in initializer (different base types) ../drivers/rtc/rtc-ds2404.c:172:20: expected unsigned int [usertype] time ../drivers/rtc/rtc-ds2404.c:172:20: got restricted __le32 [usertype] ../drivers/gpu/drm/bridge/tc358767.c:1722:24: warning: Using plain integer as NULL pointer ../drivers/spi/spi-fsl-qspi.c:636:25: warning: cast from restricted __be32 ../drivers/usb/typec/ucsi/ucsi_glink.c:86:23: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:86:23: expected restricted __le32 [usertype] owner ../drivers/usb/typec/ucsi/ucsi_glink.c:86:23: got int ../drivers/usb/typec/ucsi/ucsi_glink.c:87:22: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:87:22: expected restricted __le32 [usertype] type ../drivers/usb/typec/ucsi/ucsi_glink.c:87:22: got int ../drivers/usb/typec/ucsi/ucsi_glink.c:88:24: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:88:24: expected restricted __le32 [usertype] opcode ../drivers/usb/typec/ucsi/ucsi_glink.c:88:24: got int ../drivers/usb/typec/ucsi/ucsi_glink.c:138:23: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:138:23: expected restricted __le32 [usertype] owner ../drivers/usb/typec/ucsi/ucsi_glink.c:138:23: got int ../drivers/usb/typec/ucsi/ucsi_glink.c:139:22: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:139:22: expected restricted __le32 [usertype] type ../drivers/usb/typec/ucsi/ucsi_glink.c:139:22: got int ../drivers/usb/typec/ucsi/ucsi_glink.c:140:24: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:140:24: expected restricted __le32 [usertype] opcode ../drivers/usb/typec/ucsi/ucsi_glink.c:140:24: got int ../drivers/firmware/efi/esrt.c:126:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:127:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:128:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:129:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:130:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:131:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:199:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:200:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:201:1: warning: cast to restricted __le64 ../drivers/firmware/efi/esrt.c:339:25: warning: cast to restricted __le32 ../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/platform/x86/lenovo-yoga-tab2-pro-1380-fastcharger.c:222:29: warning: symbol 'yt2_1380_fc_serdev_driver' was not declared. Should it be static? ../drivers/firmware/efi/apple-properties.c:46:37: warning: array of flexible structures ../drivers/power/supply/ucs1002_power.c:191:29: warning: cast to restricted __be32 ../drivers/firmware/efi/embedded-firmware.c:18:1: warning: symbol 'efi_embedded_fw_list' was not declared. Should it be static? ../drivers/firmware/efi/embedded-firmware.c:20:6: warning: symbol 'efi_embedded_fw_checked' was not declared. Should it be static? ../drivers/memory/omap-gpmc.c:975:5: warning: context imbalance in 'gpmc_cs_request' - different lock contexts for basic block ../drivers/memory/omap-gpmc.c:1020:6: warning: context imbalance in 'gpmc_cs_free' - wrong count at exit ../drivers/platform/x86/samsung-laptop.c:1272:43: warning: incorrect type in assignment (different address spaces) ../drivers/platform/x86/samsung-laptop.c:1272:43: expected void *data ../drivers/platform/x86/samsung-laptop.c:1272:43: got void [noderef] __iomem *f0000_segment ../drivers/spi/spi-lp8841-rtc.c:111:41: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:111:41: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:111:41: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:120:41: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:120:41: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:120:41: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:142:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:142:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:142:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:146:41: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:146:41: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:146:41: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:208:21: warning: incorrect type in assignment (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:208:21: expected void *iomem ../drivers/spi/spi-lp8841-rtc.c:208:21: got void [noderef] __iomem * ../drivers/spi/spi-lp8841-rtc.c:56:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:56:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:56:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:62:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:62:28: expected void const [noderef] __iomem * ../drivers/spi/spi-lp8841-rtc.c:62:28: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:46:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:46:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:46:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:46:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:46:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:46:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:56:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:56:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:56:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:62:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:62:28: expected void const [noderef] __iomem * ../drivers/spi/spi-lp8841-rtc.c:62:28: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:46:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:46:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:46:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:46:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:46:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:46:33: got void *iomem ../drivers/firmware/efi/test/efi_test.c:157:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:157:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:157:13: got unsigned long *[addressable] data_size ../drivers/firmware/efi/test/efi_test.c:160:61: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:160:61: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:160:61: got struct guid_t [usertype] *[addressable] vendor_guid ../drivers/firmware/efi/test/efi_test.c:167:60: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:167:60: expected unsigned short [noderef] [usertype] __user *src ../drivers/firmware/efi/test/efi_test.c:167:60: got unsigned short [usertype] *[addressable] variable_name ../drivers/firmware/efi/test/efi_test.c:187:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:187:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:187:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:187:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:187:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:187:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:187:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:187:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:187:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:194:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:194:35: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:194:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:194:35: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:194:35: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:194:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:194:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:194:35: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:194:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:209:45: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:209:45: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:209:45: got void *[addressable] data ../drivers/firmware/efi/test/efi_test.c:215:19: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:215:19: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:215:19: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:215:19: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:215:19: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:215:19: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:215:19: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:215:19: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:215:19: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:220:19: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:220:19: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:220:19: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:220:19: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:220:19: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:220:19: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:220:19: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:220:19: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:220:19: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:243:53: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:243:53: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:243:53: got struct guid_t [usertype] *[addressable] vendor_guid ../drivers/firmware/efi/test/efi_test.c:248:60: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:248:60: expected unsigned short [noderef] [usertype] __user *src ../drivers/firmware/efi/test/efi_test.c:248:60: got unsigned short [usertype] *[addressable] variable_name ../drivers/firmware/efi/test/efi_test.c:253:39: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:253:39: expected void const [noderef] __user * ../drivers/firmware/efi/test/efi_test.c:253:39: got void *[addressable] data ../drivers/firmware/efi/test/efi_test.c:263:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:263:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:263:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:263:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:263:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:263:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:263:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:263:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:263:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:292:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:292:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:292:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:292:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:292:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:292:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:292:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:292:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:292:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:301:27: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:301:27: expected struct efi_time_cap_t [noderef] [usertype] __user *cap_local ../drivers/firmware/efi/test/efi_test.c:301:27: got struct efi_time_cap_t [usertype] * ../drivers/firmware/efi/test/efi_test.c:308:41: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:308:41: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:308:41: got struct efi_time_t [usertype] *[addressable] time ../drivers/firmware/efi/test/efi_test.c:325:46: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:325:46: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:325:46: got struct efi_time_t [usertype] *[addressable] time ../drivers/firmware/efi/test/efi_test.c:330:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:330:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:330:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:330:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:330:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:330:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:330:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:330:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:330:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:354:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:354:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:354:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:354:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:354:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:354:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:354:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:354:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:354:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:360:38: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:360:38: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:360:38: got unsigned char [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:360:38: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:360:38: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:360:38: got unsigned char [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:360:38: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:360:38: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:360:38: got unsigned char [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:365:47: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:365:47: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:365:47: got struct efi_time_t [usertype] *[addressable] time ../drivers/firmware/efi/test/efi_test.c:389:60: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:389:60: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:389:60: got struct efi_time_t [usertype] *[addressable] time ../drivers/firmware/efi/test/efi_test.c:397:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:397:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:397:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:397:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:397:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:397:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:397:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:397:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:397:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:421:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:421:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:421:21: got unsigned long *[addressable] variable_name_size ../drivers/firmware/efi/test/efi_test.c:429:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:429:52: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:429:52: got struct guid_t [usertype] *[addressable] vendor_guid ../drivers/firmware/efi/test/efi_test.c:439:52: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:439:52: expected unsigned short [noderef] [usertype] __user *src ../drivers/firmware/efi/test/efi_test.c:439:52: got unsigned short [usertype] *[addressable] variable_name ../drivers/firmware/efi/test/efi_test.c:452:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:452:52: expected unsigned short [noderef] [usertype] __user *src ../drivers/firmware/efi/test/efi_test.c:452:52: got unsigned short [usertype] *[addressable] variable_name ../drivers/firmware/efi/test/efi_test.c:461:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:461:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:461:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:461:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:461:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:461:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:461:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:461:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:461:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:468:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:468:35: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:468:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:468:35: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:468:35: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:468:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:468:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:468:35: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:468:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:479:62: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:479:62: expected unsigned short [noderef] [usertype] __user *dst ../drivers/firmware/efi/test/efi_test.c:479:62: got unsigned short [usertype] *[addressable] variable_name ../drivers/firmware/efi/test/efi_test.c:487:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:487:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:487:21: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:487:21: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:487:21: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:487:21: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:487:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:487:21: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:487:21: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:494:53: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:494:53: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:494:53: got struct guid_t [usertype] *[addressable] vendor_guid ../drivers/firmware/efi/test/efi_test.c:522:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:522:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:522:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:522:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:522:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:522:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:522:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:522:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:522:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:529:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:529:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:529:13: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:529:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:529:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:529:13: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:529:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:529:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:529:13: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:546:37: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:546:37: expected void const [noderef] __user * ../drivers/firmware/efi/test/efi_test.c:546:37: got void * ../drivers/firmware/efi/test/efi_test.c:575:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:575:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:575:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:575:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:575:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:575:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:575:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:575:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:575:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:581:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:581:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:581:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:581:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:581:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:581:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:581:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:581:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:581:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:585:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:585:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:585:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:585:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:585:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:585:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:585:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:585:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:585:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:589:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:589:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:589:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:589:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:589:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:589:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:589:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:589:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:589:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:625:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:625:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:625:21: got struct efi_capsule_header_t [usertype] ** ../drivers/firmware/efi/test/efi_test.c:629:50: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:629:50: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:629:50: got struct efi_capsule_header_t [usertype] *[assigned] c ../drivers/firmware/efi/test/efi_test.c:643:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:643:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:643:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:643:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:643:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:643:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:643:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:643:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:643:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:653:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:653:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:653:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:653:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:653:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:653:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:653:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:653:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:653:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:658:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:658:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:658:13: got int *__ptr ../drivers/firmware/efi/test/efi_test.c:658:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:658:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:658:13: got int *__ptr ../drivers/firmware/efi/test/efi_test.c:658:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:658:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:658:13: got int *__ptr ../drivers/firmware/efi/test/efi_test.c:671:24: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:671:24: expected unsigned int [noderef] __user *supported_mask ../drivers/firmware/efi/test/efi_test.c:671:24: got unsigned int * ../drivers/firmware/efi/test/efi_test.c:35:27: warning: incorrect type in initializer (different address spaces) ../drivers/firmware/efi/test/efi_test.c:35:27: expected unsigned short [usertype] *s ../drivers/firmware/efi/test/efi_test.c:35:27: got unsigned short [noderef] [usertype] __user *str ../drivers/firmware/efi/test/efi_test.c:44:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:44:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:44:13: got unsigned short [usertype] * ../drivers/firmware/efi/test/efi_test.c:50:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:50:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:50:21: got unsigned short [usertype] * ../drivers/firmware/efi/test/efi_test.c:35:27: warning: incorrect type in initializer (different address spaces) ../drivers/firmware/efi/test/efi_test.c:35:27: expected unsigned short [usertype] *[assigned] s ../drivers/firmware/efi/test/efi_test.c:35:27: got unsigned short [noderef] [usertype] __user *str ../drivers/firmware/efi/test/efi_test.c:44:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:44:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:44:13: got unsigned short [usertype] * ../drivers/firmware/efi/test/efi_test.c:50:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:50:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:50:21: got unsigned short [usertype] * ../drivers/firmware/efi/test/efi_test.c:35:27: warning: incorrect type in initializer (different address spaces) ../drivers/firmware/efi/test/efi_test.c:35:27: expected unsigned short [usertype] *[assigned] s ../drivers/firmware/efi/test/efi_test.c:35:27: got unsigned short [noderef] [usertype] __user *str ../drivers/firmware/efi/test/efi_test.c:44:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:44:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:44:13: got unsigned short [usertype] * ../drivers/firmware/efi/test/efi_test.c:50:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:50:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:50:21: got unsigned short [usertype] * ../drivers/firmware/efi/libstub/efi-stub-helper.c:611: warning: Function parameter or struct member 'out' not described in 'efi_load_initrd' ../drivers/net/ethernet/smsc/smc91x.c:557:9: warning: context imbalance in 'smc_hardware_send_pkt' - different lock contexts for basic block ../drivers/net/ethernet/sfc/tx.c:495:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block In file included from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:99, from ../include/linux/bug.h:5, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/cpuid.h:71, from ../arch/x86/include/asm/processor.h:19, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/mtd/mtdpart.c:10: ../drivers/mtd/mtdpart.c: In function ‘parse_mtd_partitions’: ../drivers/mtd/mtdpart.c:693:34: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 693 | pr_debug("%s: got parser %s\n", master->name, | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/printk.h:391:21: note: in definition of macro ‘pr_fmt’ 391 | #define pr_fmt(fmt) fmt | ^~~ ../include/linux/dynamic_debug.h:248:9: note: in expansion of macro ‘__dynamic_func_call_cls’ 248 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/dynamic_debug.h:250:9: note: in expansion of macro ‘_dynamic_func_call_cls’ 250 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/dynamic_debug.h:269:9: note: in expansion of macro ‘_dynamic_func_call’ 269 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/printk.h:625:9: note: in expansion of macro ‘dynamic_pr_debug’ 625 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ ../drivers/mtd/mtdpart.c:693:25: note: in expansion of macro ‘pr_debug’ 693 | pr_debug("%s: got parser %s\n", master->name, | ^~~~~~~~ ../drivers/mtd/mtdpart.c:693:50: note: format string is defined here 693 | pr_debug("%s: got parser %s\n", master->name, | ^~ ../drivers/firmware/efi/libstub/unaccepted_memory.c:7:30: warning: symbol 'unaccepted_table' was not declared. Should it be static? ../drivers/firmware/efi/libstub/x86-stub.c:944:6: warning: symbol 'efi_handover_entry' was not declared. Should it be static? ../drivers/spi/spi-nxp-fspi.c:516:25: warning: cast from restricted __be32 ../drivers/mtd/nftlmount.c:163:40: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:171:35: warning: cast to restricted __le32 ../drivers/mtd/nftlmount.c:183:35: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:183:68: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:315:22: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:318:31: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:318:31: expected unsigned short [addressable] [usertype] EraseMark ../drivers/mtd/nftlmount.c:318:31: got restricted __le16 [usertype] ../drivers/mtd/nftlmount.c:319:32: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:319:32: expected unsigned short [addressable] [usertype] EraseMark1 ../drivers/mtd/nftlmount.c:319:32: got restricted __le16 [usertype] ../drivers/mtd/nftlmount.c:320:30: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:320:30: expected unsigned int [addressable] [usertype] WearInfo ../drivers/mtd/nftlmount.c:320:30: got restricted __le32 [usertype] ../drivers/mtd/nftlmount.c:334:21: warning: cast to restricted __le32 ../drivers/mtd/nftlmount.c:348:24: warning: cast to restricted __le32 ../drivers/mtd/nftlmount.c:500:22: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:508:30: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:508:30: expected unsigned short [addressable] [usertype] EraseMark ../drivers/mtd/nftlmount.c:508:30: got restricted __le16 [usertype] ../drivers/mtd/nftlmount.c:509:31: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:509:31: expected unsigned short [addressable] [usertype] EraseMark1 ../drivers/mtd/nftlmount.c:509:31: got restricted __le16 [usertype] ../drivers/mtd/nftlmount.c:510:29: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:510:29: expected unsigned int [addressable] [usertype] WearInfo ../drivers/mtd/nftlmount.c:510:29: got restricted __le32 [usertype] ../drivers/mtd/nftlmount.c:559:16: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:607:49: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:608:45: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:609:46: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:765:26: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:179:37: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:202:23: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:218:21: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:219:24: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:230:24: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:231:28: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:232:27: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:233:27: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:234:17: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:242:28: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:244:53: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:249:21: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:258:27: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:265:14: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:284:44: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:294:17: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:297:25: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:298:23: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:299:39: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:301:22: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:301:22: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:386:23: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:386:23: expected unsigned short [assigned] [usertype] LogicalEUN ../drivers/mtd/ftl.c:386:23: got restricted __le16 [usertype] ../drivers/mtd/ftl.c:387:23: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:387:23: expected unsigned int [assigned] [usertype] EraseCount ../drivers/mtd/ftl.c:387:23: got restricted __le32 [usertype] ../drivers/mtd/ftl.c:397:12: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:400:29: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:401:9: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:401:9: expected unsigned int [usertype] ctl ../drivers/mtd/ftl.c:401:9: got restricted __le32 [usertype] ../drivers/mtd/ftl.c:439:28: warning: incorrect type in initializer (different base types) ../drivers/mtd/ftl.c:439:28: expected unsigned short [usertype] srcunitswap ../drivers/mtd/ftl.c:439:28: got restricted __le16 [usertype] ../drivers/mtd/ftl.c:450:32: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:468:10: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:468:10: expected unsigned short [usertype] unit ../drivers/mtd/ftl.c:468:10: got restricted __le16 [usertype] ../drivers/mtd/ftl.c:484:17: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:508:32: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:508:32: expected unsigned int [usertype] ../drivers/mtd/ftl.c:508:32: got restricted __le32 [usertype] ../drivers/mtd/ftl.c:518:36: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:712:52: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:726:13: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:765:43: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:811:19: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:834:18: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:834:18: expected unsigned int [usertype] le_virt_addr ../drivers/mtd/ftl.c:834:18: got restricted __le32 [usertype] ../drivers/mtd/ftl.c:887:26: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:948:16: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:1028:39: warning: cast to restricted __le32 ../drivers/mtd/nftlcore.c:218:31: warning: cast to restricted __le16 ../drivers/mtd/nftlcore.c:221:25: warning: cast to restricted __le16 ../drivers/mtd/nftlcore.c:380:54: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlcore.c:380:54: expected unsigned short [addressable] [usertype] FoldMark1 ../drivers/mtd/nftlcore.c:380:54: got restricted __le16 [usertype] ../drivers/mtd/nftlcore.c:428:56: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlcore.c:428:56: expected unsigned short [addressable] [assigned] [usertype] SpareVirtUnitNum ../drivers/mtd/nftlcore.c:428:56: got restricted __le16 [usertype] ../drivers/mtd/nftlcore.c:483:33: warning: cast to restricted __le32 ../drivers/mtd/nftlcore.c:555:25: warning: cast to restricted __le16 ../drivers/mtd/nftlcore.c:642:64: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlcore.c:642:64: expected unsigned short [addressable] [usertype] SpareVirtUnitNum ../drivers/mtd/nftlcore.c:642:64: got restricted __le16 [usertype] ../drivers/mtd/nftlcore.c:658:33: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlcore.c:658:33: expected unsigned short [addressable] [usertype] SpareReplUnitNum ../drivers/mtd/nftlcore.c:658:33: got restricted __le16 [usertype] ../drivers/edac/skx_common.c: In function ‘skx_get_nvdimm_info’: ../drivers/edac/skx_common.c:491:79: warning: ‘_DIMM#’ directive output may be truncated writing 6 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 491 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~ ../drivers/edac/skx_common.c:491:52: note: using the range [0, 4294967295] for directive argument 491 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c:491:9: note: ‘snprintf’ output between 31 and 53 bytes into a destination of size 32 491 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 492 | imc->src_id, imc->lmc, chan, dimmno); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c: In function ‘skx_get_dimm_info’: ../drivers/edac/skx_common.c:442:87: warning: ‘_DIMM#’ directive output may be truncated writing 6 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 442 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~ ../drivers/edac/skx_common.c:442:60: note: using the range [0, 4294967295] for directive argument 442 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c:442:17: note: ‘snprintf’ output between 31 and 53 bytes into a destination of size 32 442 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 443 | imc->src_id, imc->lmc, chan, dimmno); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/spi/spi-orion.c:451:24: warning: incorrect type in argument 1 (different base types) ../drivers/spi/spi-orion.c:451:24: expected unsigned int val ../drivers/spi/spi-orion.c:451:24: got restricted __le16 [usertype] ../drivers/spi/spi-orion.c:461:17: warning: cast to restricted __le16 ../drivers/spi/spi-ti-qspi.c:266:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:266:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:266:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:269:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:269:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:269:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:272:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:272:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:272:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:275:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:275:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:275:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:376:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:378:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:380:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:382:42: warning: cast to restricted __be32 ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:277:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 275 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 277 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/spi/spi-pci1xxxx.c:370:22: warning: incorrect type in assignment (different address spaces) ../drivers/spi/spi-pci1xxxx.c:370:22: expected void *base ../drivers/spi/spi-pci1xxxx.c:370:22: got void [noderef] __iomem * ../drivers/spi/spi-pci1xxxx.c:372:22: warning: incorrect type in assignment (different address spaces) ../drivers/spi/spi-pci1xxxx.c:372:22: expected void *base ../drivers/spi/spi-pci1xxxx.c:372:22: got void [noderef] __iomem * ../drivers/spi/spi-pci1xxxx.c:374:34: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:374:34: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:374:34: got void * ../drivers/spi/spi-pci1xxxx.c:375:26: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:375:26: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:375:26: got void * ../drivers/spi/spi-pci1xxxx.c:376:46: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:376:46: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:376:46: got void * ../drivers/spi/spi-pci1xxxx.c:377:46: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:377:46: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:377:46: got void * ../drivers/spi/spi-pci1xxxx.c:379:21: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:379:21: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:379:21: got void * ../drivers/spi/spi-pci1xxxx.c:381:21: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:381:21: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:381:21: got void * ../drivers/hwmon/ad7314.c:52:16: warning: cast to restricted __be16 ../drivers/mtd/inftlcore.c:588:39: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlcore.c:588:39: expected unsigned short [addressable] [usertype] virtualUnitNo ../drivers/mtd/inftlcore.c:588:39: got restricted __le16 [usertype] ../drivers/mtd/inftlcore.c:589:36: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlcore.c:589:36: expected unsigned short [addressable] [usertype] prevUnitNo ../drivers/mtd/inftlcore.c:589:36: got restricted __le16 [usertype] ../drivers/mtd/inftlcore.c:599:39: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlcore.c:599:39: expected unsigned short [addressable] [assigned] [usertype] virtualUnitNo ../drivers/mtd/inftlcore.c:599:39: got restricted __le16 [usertype] ../drivers/mtd/inftlcore.c:600:36: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlcore.c:600:36: expected unsigned short [addressable] [assigned] [usertype] prevUnitNo ../drivers/mtd/inftlcore.c:600:36: got restricted __le16 [usertype] ../drivers/mtd/inftlmount.c:121:43: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:122:44: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:123:42: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:124:43: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:125:35: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:126:35: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:178:44: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:179:41: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:180:40: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:181:37: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:182:42: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:183:41: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:402:23: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlmount.c:402:23: expected unsigned short [usertype] EraseMark ../drivers/mtd/inftlmount.c:402:23: got restricted __le16 [usertype] ../drivers/mtd/inftlmount.c:403:24: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlmount.c:403:24: expected unsigned short [usertype] EraseMark1 ../drivers/mtd/inftlmount.c:403:24: got restricted __le16 [usertype] ../drivers/mtd/inftlmount.c:592:41: warning: cast to restricted __le16 ../drivers/mtd/inftlmount.c:593:38: warning: cast to restricted __le16 ../drivers/mtd/inftlmount.c:594:38: warning: cast to restricted __le16 ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/mtd/rfd_ftl.c:100:13: warning: cast to restricted __le16 ../drivers/mtd/rfd_ftl.c:110:25: warning: cast to restricted __le16 ../drivers/mtd/rfd_ftl.c:292:29: warning: incorrect type in initializer (different base types) ../drivers/mtd/rfd_ftl.c:292:29: expected unsigned short [usertype] magic ../drivers/mtd/rfd_ftl.c:292:29: got restricted __le16 [usertype] ../drivers/mtd/rfd_ftl.c:351:29: warning: cast to restricted __le16 ../drivers/mtd/rfd_ftl.c:550:19: warning: incorrect type in initializer (different base types) ../drivers/mtd/rfd_ftl.c:550:19: expected unsigned short [usertype] del ../drivers/mtd/rfd_ftl.c:550:19: got restricted __le16 [usertype] ../drivers/mtd/rfd_ftl.c:589:21: warning: cast to restricted __le16 ../drivers/mtd/rfd_ftl.c:644:15: warning: incorrect type in assignment (different base types) ../drivers/mtd/rfd_ftl.c:644:15: expected unsigned short [usertype] entry ../drivers/mtd/rfd_ftl.c:644:15: got restricted __le16 [usertype] ../drivers/input/touchscreen/tsc200x-core.c:195:13: warning: context imbalance in 'tsc200x_penup_timer' - wrong count at exit ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/rtc/rtc-mxc_v2.c:114:12: warning: context imbalance in 'mxc_rtc_lock' - different lock contexts for basic block ../drivers/rtc/rtc-mxc_v2.c:127:12: warning: context imbalance in 'mxc_rtc_unlock' - unexpected unlock ../drivers/rtc/rtc-omap.c:412: warning: Function parameter or struct member 'dev' not described in 'omap_rtc_power_off_program' ../drivers/net/ethernet/wiznet/w5300.c: In function ‘w5300_hw_probe’: ../drivers/net/ethernet/wiznet/w5300.c:576:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 576 | snprintf(link_name, 16, "%s-link", name); | ^~ ../drivers/net/ethernet/wiznet/w5300.c:576:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 576 | snprintf(link_name, 16, "%s-link", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/wiznet/w5100.c: In function ‘w5100_probe’: ../drivers/net/ethernet/wiznet/w5100.c:1190:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~ ../drivers/net/ethernet/wiznet/w5100.c:1190:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/iio/adc/ad_sigma_delta.c:207:13: warning: context imbalance in 'ad_sd_disable_irq' - wrong count at exit ../drivers/iio/adc/ad_sigma_delta.c:220:13: warning: context imbalance in 'ad_sd_enable_irq' - wrong count at exit ../drivers/mtd/lpddr/lpddr_cmds.c:547:20: warning: cast removes address space '__iomem' of expression ../drivers/mtd/chips/cfi_util.c:96:26: warning: restricted __be16 degrades to integer ../drivers/mtd/chips/cfi_util.c:96:26: warning: restricted __le16 degrades to integer ../drivers/mtd/chips/cfi_util.c:99:26: warning: restricted __be32 degrades to integer ../drivers/mtd/chips/cfi_util.c:99:26: warning: restricted __le32 degrades to integer ../drivers/mtd/chips/cfi_util.c:184:23: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_util.c:184:23: warning: cast to restricted __be16 ../drivers/mtd/chips/cfi_util.c:187:23: warning: cast to restricted __le32 ../drivers/mtd/chips/cfi_util.c:187:23: warning: cast to restricted __be32 ../drivers/mtd/chips/cfi_util.c: note: in included file: ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../drivers/mtd/chips/cfi_cmdset_0020.c:142:40: warning: cast to restricted __le32 ../drivers/mtd/chips/cfi_cmdset_0020.c:142:40: warning: cast to restricted __be32 ../drivers/mtd/chips/cfi_cmdset_0020.c:143:42: warning: cast to restricted __le32 ../drivers/mtd/chips/cfi_cmdset_0020.c:143:42: warning: cast to restricted __be32 ../drivers/thunderbolt/path.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/net/ieee802154/ca8210.c:1798:27: warning: incorrect type in assignment (different base types) ../drivers/net/ieee802154/ca8210.c:1798:27: expected restricted __le16 [addressable] [assigned] [usertype] pan_id ../drivers/net/ieee802154/ca8210.c:1798:27: got unsigned short [usertype] ../drivers/net/ieee802154/ca8210.c:1803:25: warning: incorrect type in assignment (different base types) ../drivers/net/ieee802154/ca8210.c:1803:25: expected restricted __le16 [addressable] [assigned] [usertype] pan_id ../drivers/net/ieee802154/ca8210.c:1803:25: got unsigned short [usertype] ../drivers/net/ieee802154/ca8210.c:1930:28: warning: incorrect type in argument 3 (different base types) ../drivers/net/ieee802154/ca8210.c:1930:28: expected unsigned short [usertype] dst_pan_id ../drivers/net/ieee802154/ca8210.c:1930:28: got restricted __le16 [addressable] [usertype] pan_id ../drivers/thunderbolt/eeprom.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/mtd/chips/cfi_cmdset_0002.c: note: in included file: ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../drivers/mtd/chips/map_ram.c:98:15: warning: incorrect type in assignment (different address spaces) ../drivers/mtd/chips/map_ram.c:98:15: expected void * ../drivers/mtd/chips/map_ram.c:98:15: got void [noderef] __iomem * ../drivers/mtd/chips/cfi_cmdset_0001.c:1418:15: warning: incorrect type in assignment (different address spaces) ../drivers/mtd/chips/cfi_cmdset_0001.c:1418:15: expected void * ../drivers/mtd/chips/cfi_cmdset_0001.c:1418:15: got void [noderef] __iomem * ../drivers/mtd/chips/cfi_cmdset_0001.c:181:30: warning: incorrect type in assignment (different base types) ../drivers/mtd/chips/cfi_cmdset_0001.c:181:30: expected unsigned int [usertype] FeatureSupport ../drivers/mtd/chips/cfi_cmdset_0001.c:181:30: got restricted __le32 [usertype] ../drivers/mtd/chips/cfi_cmdset_0001.c:182:32: warning: incorrect type in assignment (different base types) ../drivers/mtd/chips/cfi_cmdset_0001.c:182:32: expected unsigned short [usertype] BlkStatusRegMask ../drivers/mtd/chips/cfi_cmdset_0001.c:182:32: got restricted __le16 [usertype] ../drivers/mtd/chips/cfi_cmdset_0001.c:183:27: warning: incorrect type in assignment (different base types) ../drivers/mtd/chips/cfi_cmdset_0001.c:183:27: expected unsigned short [usertype] ProtRegAddr ../drivers/mtd/chips/cfi_cmdset_0001.c:183:27: got restricted __le16 [usertype] ../drivers/mtd/chips/cfi_cmdset_0001.c:417:32: warning: cast to restricted __le32 ../drivers/mtd/chips/cfi_cmdset_0001.c:418:34: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_cmdset_0001.c:419:29: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_cmdset_0001.c:437:60: warning: cast to restricted __le32 ../drivers/mtd/chips/cfi_cmdset_0001.c:438:59: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_cmdset_0001.c:439:59: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_cmdset_0001.c:473:51: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_cmdset_0001.c: note: in included file: ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../drivers/mtd/chips/map_rom.c:80:15: warning: incorrect type in assignment (different address spaces) ../drivers/mtd/chips/map_rom.c:80:15: expected void * ../drivers/mtd/chips/map_rom.c:80:15: got void [noderef] __iomem * ../drivers/thunderbolt/tb.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/thunderbolt/switch.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/thunderbolt/tunnel.c: note: in included file (through ../drivers/thunderbolt/tb.h, ../drivers/thunderbolt/tunnel.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/fpga/machxo2-spi.c:86:19: warning: cast to restricted __be32 ../drivers/mtd/devices/pmc551.c:743:29: warning: incorrect type in assignment (different address spaces) ../drivers/mtd/devices/pmc551.c:743:29: expected unsigned char [usertype] *start ../drivers/mtd/devices/pmc551.c:743:29: got void [noderef] __iomem * ../drivers/mtd/devices/pmc551.c:783:53: warning: incorrect type in argument 2 (different address spaces) ../drivers/mtd/devices/pmc551.c:783:53: expected void [noderef] __iomem * ../drivers/mtd/devices/pmc551.c:783:53: got unsigned char [usertype] *start ../drivers/mtd/devices/pmc551.c:833:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/mtd/devices/pmc551.c:833:52: expected void [noderef] __iomem * ../drivers/mtd/devices/pmc551.c:833:52: got unsigned char [usertype] *start ../drivers/thunderbolt/tmu.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/mtd/spi-nor/sfdp.c:769:38: warning: dubious: x | !y ../drivers/mtd/spi-nor/sfdp.c:1394:13: warning: cast to restricted __le32 ../drivers/mtd/spi-nor/sfdp.c:1429:13: warning: cast to restricted __le32 ../drivers/thunderbolt/usb4.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/fsi/fsi-master-ast-cf.c:399:65: warning: incorrect type in argument 4 (different base types) ../drivers/fsi/fsi-master-ast-cf.c:399:65: expected restricted __be32 [usertype] rdata ../drivers/fsi/fsi-master-ast-cf.c:399:65: got unsigned int [assigned] [usertype] rdata ../drivers/bluetooth/hci_nokia.c:279:23: warning: incorrect type in assignment (different base types) ../drivers/bluetooth/hci_nokia.c:279:23: expected unsigned short [usertype] baud ../drivers/bluetooth/hci_nokia.c:279:23: got restricted __le16 [usertype] ../drivers/bluetooth/hci_nokia.c:282:26: warning: incorrect type in assignment (different base types) ../drivers/bluetooth/hci_nokia.c:282:26: expected unsigned short [usertype] sys_clk ../drivers/bluetooth/hci_nokia.c:282:26: got restricted __le16 [usertype] ../drivers/hwmon/max31722.c:59:42: warning: cast to restricted __le16 ../drivers/mtd/nand/spi/alliancememory.c:19:8: error: Expected ) in function call ../drivers/mtd/nand/spi/alliancememory.c:19:8: error: got . ../drivers/mtd/nand/spi/alliancememory.c:19:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/ato.c:16:8: error: Expected ) in function call ../drivers/mtd/nand/spi/ato.c:16:8: error: got . ../drivers/mtd/nand/spi/ato.c:16:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/raw/nand_legacy.c:42:17: warning: cast from restricted __le16 ../drivers/thunderbolt/clx.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/mtd/nand/spi/esmt.c:15:8: error: Expected ) in function call ../drivers/mtd/nand/spi/esmt.c:15:8: error: got . ../drivers/mtd/nand/spi/esmt.c:15:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/maps/nettel.c:179:25: warning: cast removes address space '__iomem' of expression ../drivers/mtd/maps/nettel.c:223:25: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/maps/nettel.c:223:25: expected void volatile [noderef] __iomem *addr ../drivers/mtd/maps/nettel.c:223:25: got void *static [assigned] [toplevel] nettel_mmcrp ../drivers/mtd/maps/nettel.c:416:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/maps/nettel.c:416:17: expected void volatile [noderef] __iomem *addr ../drivers/mtd/maps/nettel.c:416:17: got void *static [assigned] [toplevel] nettel_mmcrp ../drivers/mtd/maps/nettel.c:434:25: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/maps/nettel.c:434:25: expected void volatile [noderef] __iomem *addr ../drivers/mtd/maps/nettel.c:434:25: got void *static [assigned] [toplevel] nettel_mmcrp ../drivers/mtd/nand/raw/nand_onfi.c:320:27: warning: cast to restricted __le16 ../drivers/mtd/nand/raw/nand_onfi.c:323:44: warning: cast to restricted __le16 ../drivers/mtd/nand/onenand/onenand_base.c:779:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:779:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:779:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:779:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:779:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:779:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:779:9: warning: incorrect type in argument 2 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:779:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:779:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:817:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:817:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: warning: incorrect type in argument 2 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:817:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:860:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:860:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:860:9: expected void * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: got void [noderef] __iomem * ../drivers/mtd/nand/spi/foresee.c:14:8: error: Expected ) in function call ../drivers/mtd/nand/spi/foresee.c:14:8: error: got . ../drivers/mtd/nand/spi/foresee.c:14:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/gigadevice.c:26:8: error: Expected ) in function call ../drivers/mtd/nand/spi/gigadevice.c:26:8: error: got . ../drivers/mtd/nand/spi/gigadevice.c:42:8: error: Expected ) in function call ../drivers/mtd/nand/spi/gigadevice.c:42:8: error: got . ../drivers/mtd/nand/spi/gigadevice.c:50:8: error: Expected ) in function call ../drivers/mtd/nand/spi/gigadevice.c:50:8: error: got . ../drivers/mtd/nand/spi/gigadevice.c:26:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/gigadevice.c:42:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/gigadevice.c:50:8: error: undefined identifier '__VA_OPT__' ../drivers/net/ethernet/sfc/siena/tx.c:290:9: warning: context imbalance in 'efx_siena_xdp_tx_buffers' - different lock contexts for basic block ../drivers/mtd/nand/spi/macronix.c:28:8: error: Expected ) in function call ../drivers/mtd/nand/spi/macronix.c:28:8: error: got . ../drivers/mtd/nand/spi/macronix.c:28:8: error: undefined identifier '__VA_OPT__' ../drivers/thunderbolt/debugfs.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/mtd/nand/spi/micron.c:31:8: error: Expected ) in function call ../drivers/mtd/nand/spi/micron.c:31:8: error: got . ../drivers/mtd/nand/spi/micron.c:48:8: error: Expected ) in function call ../drivers/mtd/nand/spi/micron.c:48:8: error: got . ../drivers/mtd/nand/spi/micron.c:31:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/micron.c:48:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/paragon.c:24:8: error: Expected ) in function call ../drivers/mtd/nand/spi/paragon.c:24:8: error: got . ../drivers/mtd/nand/spi/paragon.c:24:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/skyhigh.c:19:8: error: Expected ) in function call ../drivers/mtd/nand/spi/skyhigh.c:19:8: error: got . ../drivers/mtd/nand/spi/skyhigh.c:19:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/toshiba.c:17:8: error: Expected ) in function call ../drivers/mtd/nand/spi/toshiba.c:17:8: error: got . ../drivers/mtd/nand/spi/toshiba.c:17:8: error: undefined identifier '__VA_OPT__' ../drivers/gpu/drm/amd/amdgpu/amdgpu_device.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:414:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1873:9: error: incompatible types in conditional expression (different base types): ../drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1873:9: void ../drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1873:9: int ../drivers/net/ethernet/sfc/falcon/ethtool.c: In function ‘ef4_fill_test’: ../drivers/net/ethernet/sfc/falcon/ethtool.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/mtd/nand/spi/winbond.c:26:8: error: Expected ) in function call ../drivers/mtd/nand/spi/winbond.c:26:8: error: got . ../drivers/mtd/nand/spi/winbond.c:39:8: error: Expected ) in function call ../drivers/mtd/nand/spi/winbond.c:39:8: error: got . ../drivers/mtd/nand/spi/winbond.c:26:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/winbond.c:39:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/xtx.c:25:8: error: Expected ) in function call ../drivers/mtd/nand/spi/xtx.c:25:8: error: got . ../drivers/mtd/nand/spi/xtx.c:25:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/ubi/fastmap.c:571:23: warning: incorrect type in assignment (different base types) ../drivers/mtd/ubi/fastmap.c:571:23: expected unsigned long long max_sqnum ../drivers/mtd/ubi/fastmap.c:571:23: got restricted __be64 [usertype] sqnum ../drivers/mtd/ubi/fastmap.c:1038:17: warning: incorrect type in assignment (different base types) ../drivers/mtd/ubi/fastmap.c:1038:17: expected restricted __be32 [usertype] tmp_crc ../drivers/mtd/ubi/fastmap.c:1038:17: got unsigned int [usertype] ../drivers/mtd/ubi/fastmap.c:1040:13: warning: incorrect type in assignment (different base types) ../drivers/mtd/ubi/fastmap.c:1040:13: expected restricted __be32 [usertype] crc ../drivers/mtd/ubi/fastmap.c:1040:13: got unsigned int ../drivers/mtd/ubi/fastmap.c:1049:22: warning: incorrect type in assignment (different base types) ../drivers/mtd/ubi/fastmap.c:1049:22: expected restricted __be64 [usertype] sqnum ../drivers/mtd/ubi/fastmap.c:1049:22: got unsigned long long [assigned] sqnum ../drivers/net/ethernet/sfc/siena/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/siena/ethtool_common.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/sfc/siena/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/mtd/nand/raw/nandsim.c:1901:41: warning: cast from restricted __le16 ../drivers/mtd/nand/raw/nandsim.c:2073:59: warning: incorrect type in assignment (different base types) ../drivers/mtd/nand/raw/nandsim.c:2073:59: expected unsigned short [usertype] ../drivers/mtd/nand/raw/nandsim.c:2073:59: got restricted __le16 [usertype] ../drivers/mtd/nand/raw/sh_flctl.c:457:16: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/sh_flctl.c:480:26: warning: cast to restricted __be32 ../drivers/mtd/nand/raw/sh_flctl.c:495:38: warning: cast to restricted __be32 ../drivers/mtd/nand/raw/sh_flctl.c:511:24: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/sh_flctl.c:511:24: expected unsigned int val ../drivers/mtd/nand/raw/sh_flctl.c:511:24: got restricted __be32 [usertype] ../drivers/mtd/nand/raw/sh_flctl.c:524:24: warning: incorrect type in assignment (different base types) ../drivers/mtd/nand/raw/sh_flctl.c:524:24: expected unsigned long ../drivers/mtd/nand/raw/sh_flctl.c:524:24: got restricted __be32 [usertype] ../drivers/mtd/nand/raw/mxc_nand.c:1477:26: warning: incorrect type in initializer (different address spaces) ../drivers/mtd/nand/raw/mxc_nand.c:1477:26: expected unsigned short [noderef] [usertype] __iomem *t ../drivers/mtd/nand/raw/mxc_nand.c:1477:26: got void *buf ../drivers/mtd/nand/raw/mxc_nand.c:1514:65: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/mxc_nand.c:1514:65: expected void *buf ../drivers/mtd/nand/raw/mxc_nand.c:1514:65: got void [noderef] __iomem * ../drivers/mtd/nand/raw/mxc_nand.c:1525:87: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/mxc_nand.c:1525:87: expected void *buf ../drivers/mtd/nand/raw/mxc_nand.c:1525:87: got void [noderef] __iomem * ../drivers/mtd/nand/raw/r852.c:105:25: warning: incorrect type in argument 3 (different base types) ../drivers/mtd/nand/raw/r852.c:105:25: expected unsigned int [usertype] value ../drivers/mtd/nand/raw/r852.c:105:25: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:109:25: warning: incorrect type in argument 3 (different base types) ../drivers/mtd/nand/raw/r852.c:109:25: expected unsigned int [usertype] value ../drivers/mtd/nand/raw/r852.c:109:25: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:142:17: warning: incorrect type in argument 3 (different base types) ../drivers/mtd/nand/raw/r852.c:142:17: expected unsigned int [usertype] value ../drivers/mtd/nand/raw/r852.c:142:17: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:66: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:63: note: directive argument in the range [-2147483641, 254] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 892 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:66: warning: ‘-rx-txc’ directive output may be truncated writing 7 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:25: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 16 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 889 | ndev->name); | ~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:58: warning: ‘-txc-’ directive output may be truncated writing 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:55: note: directive argument in the range [-2147483641, 254] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 16 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 899 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/mtd/nand/raw/hisi504_nand.c:362:26: warning: cast removes address space '__iomem' of expression ../drivers/mtd/nand/raw/hisi504_nand.c:367:26: warning: cast removes address space '__iomem' of expression ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: expected void * ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: expected void * ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: expected void * ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/meson_nand.c:542:23: warning: invalid assignment: |= ../drivers/mtd/nand/raw/meson_nand.c:542:23: left side has type restricted __le64 ../drivers/mtd/nand/raw/meson_nand.c:542:23: right side has type unsigned char ../drivers/mtd/nand/raw/meson_nand.c:543:23: warning: invalid assignment: |= ../drivers/mtd/nand/raw/meson_nand.c:543:23: left side has type restricted __le64 ../drivers/mtd/nand/raw/meson_nand.c:543:23: right side has type int ../drivers/mtd/nand/raw/meson_nand.c:555:32: warning: incorrect type in assignment (different base types) ../drivers/mtd/nand/raw/meson_nand.c:555:32: expected unsigned char [usertype] ../drivers/mtd/nand/raw/meson_nand.c:555:32: got restricted __le64 [usertype] ../drivers/mtd/nand/raw/meson_nand.c:556:38: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:570:21: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:571:53: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:572:37: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:577:21: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:578:53: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:579:37: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:823:23: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/brcmnand/brcmnand.c:1961:41: warning: dubious: x | !y ../drivers/iio/adc/ti-ads1298.c:426:13: warning: context imbalance in 'ads1298_rdata_unmark_busy' - wrong count at exit ../drivers/iio/adc/ti-ads1298.c:467:9: warning: context imbalance in 'ads1298_rdata_release_busy_or_restart' - wrong count at exit ../drivers/iio/adc/ti-ads1298.c:532:9: warning: context imbalance in 'ads1298_interrupt' - wrong count at exit ../sound/soc/codecs/tas2562.c:232:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2562.c:238:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2562.c:244:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2562.c:291:58: warning: incorrect type in argument 2 (different base types) ../sound/soc/codecs/tas2562.c:291:58: expected int bitwidth ../sound/soc/codecs/tas2562.c:291:58: got restricted snd_pcm_format_t ../sound/soc/codecs/tas2562.c:616:39: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2562.c:623:43: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2764.c:257:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2764.c:263:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2764.c:269:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2764.c:357:58: warning: incorrect type in argument 2 (different base types) ../sound/soc/codecs/tas2764.c:357:58: expected int bitwidth ../sound/soc/codecs/tas2764.c:357:58: got restricted snd_pcm_format_t ../sound/soc/codecs/tas2780.c:157:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2780.c:164:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2780.c:171:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2780.c:285:58: warning: incorrect type in argument 2 (different base types) ../sound/soc/codecs/tas2780.c:285:58: expected int bitwidth ../sound/soc/codecs/tas2780.c:285:58: got restricted snd_pcm_format_t ../sound/soc/codecs/tas2770.c:198:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2770.c:204:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2770.c:210:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2770.c:297:58: warning: incorrect type in argument 2 (different base types) ../sound/soc/codecs/tas2770.c:297:58: expected int bitwidth ../sound/soc/codecs/tas2770.c:297:58: got restricted snd_pcm_format_t ../sound/soc/codecs/wm0010.c:225:25: warning: cast to restricted __be32 ../sound/soc/codecs/wm0010.c:310:25: warning: cast to restricted __be32 ../sound/soc/codecs/wm0010.c:329:31: warning: cast to restricted __le64 ../sound/soc/codecs/wm0010.c:329:29: warning: incorrect type in assignment (different base types) ../sound/soc/codecs/wm0010.c:329:29: expected unsigned long long [usertype] ../sound/soc/codecs/wm0010.c:329:29: got restricted __be64 [usertype] ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../drivers/xen/manage.c: In function ‘shutdown_event’: ../drivers/xen/manage.c:354:60: warning: ‘%s’ directive output may be truncated writing up to 95 bytes into a region of size 12 [-Wformat-truncation=] 354 | snprintf(node, FEATURE_PATH_SIZE, "feature-%s", | ^~ In function ‘setup_shutdown_watcher’, inlined from ‘shutdown_event’ at ../drivers/xen/manage.c:371:2: ../drivers/xen/manage.c:354:17: note: ‘snprintf’ output between 9 and 104 bytes into a destination of size 20 354 | snprintf(node, FEATURE_PATH_SIZE, "feature-%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 355 | shutdown_handlers[idx].command); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../arch/x86/hyperv/hv_init.c:72:20: warning: cast removes address space '__iomem' of expression ../arch/x86/hyperv/hv_init.c:240:33: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/hyperv/hv_init.c:240:33: expected void volatile [noderef] __iomem *addr ../arch/x86/hyperv/hv_init.c:240:33: got void * ../arch/x86/hyperv/hv_init.c: note: in included file (through ../arch/x86/include/asm/cpuid.h, ../arch/x86/include/asm/processor.h, ../arch/x86/include/asm/timex.h, ../include/linux/timex.h, ../include/linux/time32.h, ...): ../arch/x86/include/asm/paravirt.h:224:9: warning: cast truncates bits from constant value (8000000000000000 becomes 0) ../arch/x86/xen/enlighten.c:55:20: warning: symbol 'xen_have_vector_callback' was not declared. Should it be static? ../init/main.c:192:12: warning: symbol 'envp_init' was not declared. Should it be static? ../init/main.c:290:16: warning: cast to restricted __le32 ../init/main.c:291:16: warning: cast to restricted __le32 ../arch/x86/entry/common.c:211: warning: Function parameter or struct member 'regs' not described in 'do_int80_emulation' ../drivers/pwm/pwm-gpio.c:98:9: warning: context imbalance in 'pwm_gpio_timer' - wrong count at exit ../drivers/pwm/pwm-gpio.c:101:12: warning: context imbalance in 'pwm_gpio_apply' - different lock contexts for basic block ../drivers/pwm/pwm-gpio.c:166:9: warning: context imbalance in 'pwm_gpio_get_state' - wrong count at exit ../lib/vsprintf.c: In function ‘va_format’: ../lib/vsprintf.c:1704:9: warning: function ‘va_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1704 | buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va); | ^~~ ../arch/x86/platform/uv/bios_uv.c:175:12: warning: function 'uv_bios_get_master_nasid' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:182:12: warning: function 'uv_bios_get_heapsize' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:189:12: warning: function 'uv_bios_install_heap' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:196:12: warning: function 'uv_bios_obj_count' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:203:12: warning: function 'uv_bios_enum_objs' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:210:12: warning: function 'uv_bios_enum_ports' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:217:12: warning: function 'uv_bios_get_geoinfo' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:223:12: warning: function 'uv_bios_get_pci_topology' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:249:19: warning: incorrect type in assignment (different address spaces) ../arch/x86/platform/uv/bios_uv.c:249:19: expected struct uv_systab *[addressable] [assigned] [toplevel] uv_systab ../arch/x86/platform/uv/bios_uv.c:249:19: got void [noderef] __iomem * ../arch/x86/platform/uv/bios_uv.c:252:25: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/platform/uv/bios_uv.c:252:25: expected void volatile [noderef] __iomem *addr ../arch/x86/platform/uv/bios_uv.c:252:25: got struct uv_systab *[addressable] [assigned] [toplevel] uv_systab ../arch/x86/platform/uv/bios_uv.c:260:25: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/platform/uv/bios_uv.c:260:25: expected void volatile [noderef] __iomem *addr ../arch/x86/platform/uv/bios_uv.c:260:25: got struct uv_systab *[addressable] [assigned] [toplevel] uv_systab ../arch/x86/platform/uv/bios_uv.c:261:27: warning: incorrect type in assignment (different address spaces) ../arch/x86/platform/uv/bios_uv.c:261:27: expected struct uv_systab *[addressable] [assigned] [toplevel] uv_systab ../arch/x86/platform/uv/bios_uv.c:261:27: got void [noderef] __iomem * ../drivers/acpi/osl.c:378:17: warning: cast removes address space '__iomem' of expression ../drivers/acpi/osl.c:1686:20: warning: incorrect type in assignment (different address spaces) ../drivers/acpi/osl.c:1686:20: expected void *rv ../drivers/acpi/osl.c:1686:20: got void [noderef] __iomem * ../drivers/acpi/osl.c:740:1: warning: context imbalance in 'acpi_os_read_memory' - wrong count at exit ../drivers/acpi/osl.c:773:1: warning: context imbalance in 'acpi_os_write_memory' - wrong count at exit ../arch/x86/platform/uv/uv_irq.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/platform/efi/efi.c:904:23: warning: symbol 'efi_attr_fw_vendor' was not declared. Should it be static? ../arch/x86/platform/efi/efi.c:905:23: warning: symbol 'efi_attr_runtime' was not declared. Should it be static? ../arch/x86/platform/efi/efi.c:906:23: warning: symbol 'efi_attr_config_table' was not declared. Should it be static? ../arch/x86/kernel/setup.c:167:6: warning: symbol 'builtin_cmdline' was not declared. Should it be static? ../kernel/power/suspend_test.c:97:17: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:103:17: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:109:17: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:168:38: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:168:16: warning: incorrect type in assignment (different base types) ../kernel/power/suspend_test.c:168:16: expected int i ../kernel/power/suspend_test.c:168:16: got restricted suspend_state_t [usertype] ../kernel/power/suspend_test.c:192:43: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:192:56: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:193:53: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:192:82: warning: restricted suspend_state_t degrades to integer ../arch/x86/platform/uv/uv_time.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../drivers/tty/serial/serial_core.c:133:9: warning: context imbalance in 'uart_stop' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:173:9: warning: context imbalance in 'uart_start' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:273:17: warning: context imbalance in 'uart_alloc_xmit_buf' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:298:9: warning: context imbalance in 'uart_free_xmit_buf' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:604:9: warning: context imbalance in 'uart_put_char' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:637:9: warning: context imbalance in 'uart_write' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:650:9: warning: context imbalance in 'uart_write_room' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:663:9: warning: context imbalance in 'uart_chars_in_buffer' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:688:9: warning: context imbalance in 'uart_flush_buffer' - different lock contexts for basic block ../drivers/video/fbdev/atmel_lcdfb.c:333:27: warning: incorrect type in assignment (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:333:27: expected char [noderef] __iomem *screen_base ../drivers/video/fbdev/atmel_lcdfb.c:333:27: got void * ../drivers/video/fbdev/atmel_lcdfb.c:341:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:341:9: expected void const * ../drivers/video/fbdev/atmel_lcdfb.c:341:9: got char [noderef] __iomem *screen_base ../drivers/video/fbdev/atmel_lcdfb.c:341:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:341:9: expected void const * ../drivers/video/fbdev/atmel_lcdfb.c:341:9: got char [noderef] __iomem *screen_base ../drivers/video/fbdev/atmel_lcdfb.c:341:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:341:9: expected void * ../drivers/video/fbdev/atmel_lcdfb.c:341:9: got char [noderef] __iomem *screen_base ../drivers/video/fbdev/atmel_lcdfb.c:312:59: warning: incorrect type in argument 3 (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:312:59: expected void *cpu_addr ../drivers/video/fbdev/atmel_lcdfb.c:312:59: got char [noderef] __iomem *screen_base ../drivers/video/fbdev/atmel_lcdfb.c:312:59: warning: incorrect type in argument 3 (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:312:59: expected void *cpu_addr ../drivers/video/fbdev/atmel_lcdfb.c:312:59: got char [noderef] __iomem *screen_base ../arch/x86/platform/uv/uv_nmi.c:318:27: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:318:27: expected void const volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:318:27: got int *addr ../arch/x86/platform/uv/uv_nmi.c:325:32: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:325:32: expected void volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:325:32: got int *addr ../arch/x86/platform/uv/uv_nmi.c:328:30: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:328:30: expected void volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:328:30: got int *addr ../arch/x86/platform/uv/uv_nmi.c:331:21: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:331:21: expected void const volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:331:21: got int *addr ../arch/x86/platform/uv/uv_nmi.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:625:41: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:625:41: expected void volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:625:41: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/platform/uv/uv_nmi.c:573:9: warning: context imbalance in 'uv_check_nmi' - different lock contexts for basic block ../arch/x86/include/asm/uv/uv_hub.h:625:41: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:625:41: expected void volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:625:41: got unsigned long * ../arch/x86/platform/uv/uv_nmi.c:591:17: warning: context imbalance in 'uv_handle_nmi' - unexpected unlock ../drivers/gpio/gpiolib.c:353:5: warning: context imbalance in 'gpiod_get_direction' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:459:25: warning: context imbalance in 'gpio_name_to_desc' - wrong count at exit ../drivers/gpio/gpiolib.c:858:9: warning: context imbalance in 'gpiochip_setup_devs' - wrong count at exit ../drivers/gpio/gpiolib.c:1218:20: warning: context imbalance in 'gpio_device_find' - wrong count at exit ../drivers/gpio/gpiolib.c:2309:12: warning: context imbalance in 'gpiod_request_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:2410:9: warning: context imbalance in 'gpiod_free_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:2457:6: warning: context imbalance in 'gpiochip_dup_line_label' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:2561:5: warning: context imbalance in 'gpio_do_set_config' - wrong count at exit ../drivers/gpio/gpiolib.c:2702:5: warning: context imbalance in 'gpiod_direction_input_nonotify' - wrong count at exit ../drivers/gpio/gpiolib.c:2749:12: warning: context imbalance in 'gpiod_direction_output_raw_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:2919:5: warning: context imbalance in 'gpiod_enable_hw_timestamp_ns' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:2952:5: warning: context imbalance in 'gpiod_disable_hw_timestamp_ns' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:3108:12: warning: context imbalance in 'gpiod_get_raw_value_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:3153:22: warning: context imbalance in 'gpio_device_chip_cmp' - wrong count at exit ../drivers/gpio/gpiolib.c:3156:5: warning: context imbalance in 'gpiod_get_array_value_complex' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:3385:13: warning: context imbalance in 'gpio_set_open_drain_value_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:3412:13: warning: context imbalance in 'gpio_set_open_source_value_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:3434:13: warning: context imbalance in 'gpiod_set_raw_value_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:3501:9: warning: context imbalance in 'gpiod_set_array_value_complex' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:3741:5: warning: context imbalance in 'gpiod_to_irq' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:4687:5: warning: context imbalance in 'gpiod_hog' - wrong count at exit ../drivers/gpio/gpiolib.c:4999:9: warning: context imbalance in 'gpiolib_dbg_show' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:5026:13: warning: context imbalance in 'gpiolib_seq_start' - wrong count at exit ../drivers/gpio/gpiolib.c: note: in included file (through ../include/linux/notifier.h, ../arch/x86/include/asm/uprobes.h, ../include/linux/uprobes.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ...): ../include/linux/srcu.h:357:9: warning: context imbalance in 'gpiolib_seq_stop' - unexpected unlock ../drivers/gpio/gpiolib.c:5071:12: warning: context imbalance in 'gpiolib_seq_show' - wrong count at exit ../sound/soc/generic/simple-card-utils.c:27:33: warning: incorrect type in initializer (different base types) ../sound/soc/generic/simple-card-utils.c:27:33: expected unsigned int [usertype] val ../sound/soc/generic/simple-card-utils.c:27:33: got restricted snd_pcm_format_t [usertype] ../sound/soc/generic/simple-card-utils.c:28:33: warning: incorrect type in initializer (different base types) ../sound/soc/generic/simple-card-utils.c:28:33: expected unsigned int [usertype] val ../sound/soc/generic/simple-card-utils.c:28:33: got restricted snd_pcm_format_t [usertype] ../sound/soc/generic/simple-card-utils.c:29:33: warning: incorrect type in initializer (different base types) ../sound/soc/generic/simple-card-utils.c:29:33: expected unsigned int [usertype] val ../sound/soc/generic/simple-card-utils.c:29:33: got restricted snd_pcm_format_t [usertype] ../sound/soc/generic/simple-card-utils.c:30:33: warning: incorrect type in initializer (different base types) ../sound/soc/generic/simple-card-utils.c:30:33: expected unsigned int [usertype] val ../sound/soc/generic/simple-card-utils.c:30:33: got restricted snd_pcm_format_t [usertype] ../sound/soc/generic/simple-card-utils.c:31:33: warning: incorrect type in initializer (different base types) ../sound/soc/generic/simple-card-utils.c:31:33: expected unsigned int [usertype] val ../sound/soc/generic/simple-card-utils.c:31:33: got restricted snd_pcm_format_t [usertype] ../drivers/gpio/gpiolib-cdev.c:204:13: warning: context imbalance in 'linehandle_ioctl' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1457:13: warning: context imbalance in 'linereq_ioctl' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1488:17: warning: context imbalance in 'linereq_poll' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1508:16: warning: context imbalance in 'linereq_read' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1806:17: warning: context imbalance in 'lineevent_poll' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1841:16: warning: context imbalance in 'lineevent_read' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1925:13: warning: context imbalance in 'lineevent_ioctl' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2238:13: warning: context imbalance in 'gpio_desc_to_lineinfo' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2459:13: warning: context imbalance in 'gpio_ioctl' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2602:17: warning: context imbalance in 'lineinfo_watch_poll' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2622:16: warning: context imbalance in 'lineinfo_watch_read' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2706:12: warning: context imbalance in 'gpio_chrdev_open' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2803:5: warning: context imbalance in 'gpiolib_cdev_register' - different lock contexts for basic block ../drivers/regulator/core.c: note: in included file: ../drivers/regulator/internal.h:54:42: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:1896:56: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:1898:56: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:452:17: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:452:25: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:466:47: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:3785:65: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:4262:47: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:4439:65: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:6254:54: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:6255:54: warning: restricted suspend_state_t degrades to integer ../drivers/gpio/gpiolib-sysfs.c:162:12: warning: context imbalance in 'gpio_sysfs_request_irq' - wrong count at exit ../drivers/gpio/gpiolib-sysfs.c:228:13: warning: context imbalance in 'gpio_sysfs_free_irq' - wrong count at exit ../drivers/gpio/gpiolib-sysfs.c:443:16: warning: context imbalance in 'export_store' - different lock contexts for basic block ../drivers/gpio/gpiolib-sysfs.c:567:5: warning: context imbalance in 'gpiod_export' - wrong count at exit ../drivers/gpio/gpiolib-sysfs.c:722:5: warning: context imbalance in 'gpiochip_sysfs_register' - wrong count at exit ../drivers/gpio/gpiolib-sysfs.c:765:6: warning: context imbalance in 'gpiochip_sysfs_unregister' - wrong count at exit ../drivers/misc/keba/cp500.c:962:34: warning: Using plain integer as NULL pointer ../drivers/video/fbdev/hyperv_fb.c:1006:43: warning: incorrect type in assignment (different address spaces) ../drivers/video/fbdev/hyperv_fb.c:1006:43: expected char [noderef] __iomem *screen_base ../drivers/video/fbdev/hyperv_fb.c:1006:43: got unsigned char *mmio_vp ../drivers/video/fbdev/hyperv_fb.c:1046:25: warning: cast removes address space '__iomem' of expression ../drivers/video/fbdev/hyperv_fb.c:1050:27: warning: incorrect type in assignment (different address spaces) ../drivers/video/fbdev/hyperv_fb.c:1050:27: expected char [noderef] __iomem *screen_base ../drivers/video/fbdev/hyperv_fb.c:1050:27: got unsigned char *dio_vp ../drivers/gpio/gpiolib-swnode.c:141:28: warning: symbol 'swnode_gpio_undefined' was not declared. Should it be static? ../arch/x86/xen/mmu_pv.c:664:19: warning: context imbalance in 'xen_pte_lock' - wrong count at exit ../arch/x86/xen/mmu_pv.c:676:13: warning: context imbalance in 'xen_pte_unlock' - unexpected unlock ../kernel/time/alarmtimer.c:532:13: warning: context imbalance in 'alarm_handle_timer' - wrong count at exit ../drivers/gpu/drm/i2c/tda998x_drv.c:1716:50: warning: incorrect type in argument 1 (different base types) ../drivers/gpu/drm/i2c/tda998x_drv.c:1716:50: expected restricted __be32 const [usertype] *p ../drivers/gpu/drm/i2c/tda998x_drv.c:1716:50: got unsigned int const [usertype] * ../drivers/gpu/drm/i2c/tda998x_drv.c:1717:52: warning: incorrect type in argument 1 (different base types) ../drivers/gpu/drm/i2c/tda998x_drv.c:1717:52: expected restricted __be32 const [usertype] *p ../drivers/gpu/drm/i2c/tda998x_drv.c:1717:52: got unsigned int const [usertype] * ../lib/test_printf.c:741:49: warning: cast from restricted gfp_t ../lib/test_printf.c:745:58: warning: cast from restricted gfp_t ../arch/x86/kernel/acpi/boot.c:114:30: warning: incorrect type in return expression (different address spaces) ../arch/x86/kernel/acpi/boot.c:114:30: expected void [noderef] __iomem * ../arch/x86/kernel/acpi/boot.c:114:30: got void * ../arch/x86/kernel/acpi/boot.c:122:24: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/kernel/acpi/boot.c:122:24: expected void *addr ../arch/x86/kernel/acpi/boot.c:122:24: got void [noderef] __iomem *map ../drivers/usb/host/ohci-at91.c:471:39: warning: invalid assignment: &= ../drivers/usb/host/ohci-at91.c:471:39: left side has type unsigned int ../drivers/usb/host/ohci-at91.c:471:39: right side has type restricted __le32 ../drivers/usb/host/ohci-at91.c:474:39: warning: invalid assignment: |= ../drivers/usb/host/ohci-at91.c:474:39: left side has type unsigned int ../drivers/usb/host/ohci-at91.c:474:39: right side has type restricted __le32 ../drivers/usb/host/ohci-at91.c:477:39: warning: invalid assignment: |= ../drivers/usb/host/ohci-at91.c:477:39: left side has type unsigned int ../drivers/usb/host/ohci-at91.c:477:39: right side has type restricted __le32 ../drivers/input/keyboard/applespi.c:730:9: warning: context imbalance in 'applespi_msg_complete' - wrong count at exit ../drivers/input/keyboard/applespi.c:893:9: warning: context imbalance in 'applespi_init' - wrong count at exit ../drivers/input/keyboard/applespi.c:896:12: warning: context imbalance in 'applespi_set_capsl_led' - wrong count at exit ../drivers/input/keyboard/applespi.c:926:9: warning: context imbalance in 'applespi_set_bl_level' - wrong count at exit ../drivers/input/keyboard/applespi.c:1400:13: warning: context imbalance in 'applespi_got_data' - different lock contexts for basic block ../drivers/input/keyboard/applespi.c:1569:9: warning: context imbalance in 'applespi_notify' - wrong count at exit ../drivers/input/keyboard/applespi.c:1799:9: warning: context imbalance in 'applespi_drain_writes' - wrong count at exit ../drivers/input/keyboard/applespi.c:1810:9: warning: context imbalance in 'applespi_drain_reads' - wrong count at exit ../drivers/xen/privcmd.c:572:35: warning: cast removes address space '__user' of expression ../drivers/xen/privcmd.c:572:32: warning: incorrect type in assignment (different address spaces) ../drivers/xen/privcmd.c:572:32: expected unsigned long [noderef] [usertype] __user *[addressable] [assigned] user_gfn ../drivers/xen/privcmd.c:572:32: got unsigned long [usertype] * ../drivers/xen/privcmd.c:700:17: warning: incorrect type in assignment (different address spaces) ../drivers/xen/privcmd.c:700:17: expected void *[usertype] h ../drivers/xen/privcmd.c:700:17: got void [noderef] __user *uptr ../drivers/spi/spi-altera-dfl.c:52:30: warning: incorrect type in initializer (different address spaces) ../drivers/spi/spi-altera-dfl.c:52:30: expected void [noderef] __iomem *base ../drivers/spi/spi-altera-dfl.c:52:30: got void *context ../drivers/spi/spi-altera-dfl.c:78:30: warning: incorrect type in initializer (different address spaces) ../drivers/spi/spi-altera-dfl.c:78:30: expected void [noderef] __iomem *base ../drivers/spi/spi-altera-dfl.c:78:30: got void *context ../drivers/spi/spi-altera-dfl.c:153:22: warning: incorrect type in argument 3 (different address spaces) ../drivers/spi/spi-altera-dfl.c:153:22: expected void *bus_context ../drivers/spi/spi-altera-dfl.c:153:22: got void [noderef] __iomem *[assigned] base ../drivers/power/supply/sbs-battery.c: In function ‘sbs_get_property’: ../drivers/power/supply/sbs-battery.c:834:30: warning: ‘%04x’ directive writing between 4 and 8 bytes into a region of size 5 [-Wformat-overflow=] 834 | sprintf(sbs_serial, "%04x", ret); | ^~~~ In function ‘sbs_get_battery_serial_number’, inlined from ‘sbs_get_property’ at ../drivers/power/supply/sbs-battery.c:965:9: ../drivers/power/supply/sbs-battery.c:834:29: note: directive argument in the range [0, 2147483647] 834 | sprintf(sbs_serial, "%04x", ret); | ^~~~~~ ../drivers/power/supply/sbs-battery.c:834:9: note: ‘sprintf’ output between 5 and 9 bytes into a destination of size 5 834 | sprintf(sbs_serial, "%04x", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/isci/remote_node_context.c:135:42: warning: restricted __le64 degrades to integer ../drivers/scsi/isci/remote_node_context.c:136:42: warning: restricted __le64 degrades to integer ../drivers/input/keyboard/gpio_keys.c:491:9: warning: context imbalance in 'gpio_keys_irq_isr' - wrong count at exit ../drivers/misc/sgi-xp/xp_main.c:69:25: warning: symbol 'xpc_registrations' was not declared. Should it be static? ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'boost_ctrl' not described in 'lm3692x_led' ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'brightness_ctrl' not described in 'lm3692x_led' ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'enabled' not described in 'lm3692x_led' ../drivers/spi/spi-armada-3700.c:499:65: warning: incorrect type in argument 3 (different base types) ../drivers/spi/spi-armada-3700.c:499:65: expected unsigned int [usertype] data ../drivers/spi/spi-armada-3700.c:499:65: got restricted __le32 [usertype] ../drivers/spi/spi-armada-3700.c:521:31: warning: cast to restricted __le32 ../arch/x86/kernel/apic/apic.c:2143: warning: Function parameter or struct member 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' ../arch/x86/kernel/apic/apic.c:2143: warning: expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead ../drivers/input/keyboard/matrix_keypad.c:186:9: warning: context imbalance in 'matrix_keypad_interrupt' - wrong count at exit ../drivers/misc/sgi-xp/xpc_channel.c:781:31: warning: context imbalance in 'xpc_disconnect_channel' - unexpected unlock ../drivers/misc/sgi-gru/grufile.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/kernel/apic/io_apic.c:298:35: warning: context imbalance in 'ioapic_read_entry' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:316:13: warning: context imbalance in 'ioapic_write_entry' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:327:13: warning: context imbalance in 'ioapic_mask_entry' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:402:13: warning: context imbalance in 'mask_ioapic_irq' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:415:13: warning: context imbalance in 'unmask_ioapic_irq' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:464:9: warning: context imbalance in 'eoi_ioapic_pin' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:468:13: warning: context imbalance in 'clear_IO_APIC_pin' - different lock contexts for basic block ../arch/x86/kernel/apic/io_apic.c:1574:9: warning: context imbalance in 'startup_ioapic_irq' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:1581:13: warning: context imbalance in 'io_apic_level_ack_pending' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:1808:9: warning: context imbalance in 'ioapic_set_affinity' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:1825:12: warning: context imbalance in 'ioapic_irq_get_chip_state' - different lock contexts for basic block ../arch/x86/kernel/apic/io_apic.c:2305:9: warning: context imbalance in 'resume_ioapic_id' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:2335:12: warning: context imbalance in 'io_apic_get_redir_entries' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:2475:12: warning: context imbalance in 'io_apic_get_version' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:2926:5: warning: context imbalance in 'mp_irqdomain_activate' - wrong count at exit ../drivers/mfd/sm501.c:1148:29: warning: cast to non-scalar ../drivers/mfd/sm501.c:1148:29: warning: cast from non-scalar ../drivers/mfd/sm501.c:1152:29: warning: cast to non-scalar ../drivers/mfd/sm501.c:1152:29: warning: cast from non-scalar ../drivers/misc/sgi-xp/xpc_uv.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../drivers/misc/sgi-xp/xpc_uv.c:681:47: warning: context imbalance in 'xpc_send_activate_IRQ_ch_uv' - unexpected unlock ../drivers/usb/gadget/udc/pxa27x_udc.c:2090:20: warning: incorrect type in assignment (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2090:20: expected restricted __le16 [assigned] [usertype] wValue ../drivers/usb/gadget/udc/pxa27x_udc.c:2090:20: got int config ../drivers/usb/gadget/udc/pxa27x_udc.c:2119:20: warning: incorrect type in assignment (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2119:20: expected restricted __le16 [assigned] [usertype] wValue ../drivers/usb/gadget/udc/pxa27x_udc.c:2119:20: got int alt ../drivers/usb/gadget/udc/pxa27x_udc.c:2120:20: warning: incorrect type in assignment (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2120:20: expected restricted __le16 [assigned] [usertype] wIndex ../drivers/usb/gadget/udc/pxa27x_udc.c:2120:20: got int iface ../drivers/usb/gadget/udc/pxa27x_udc.c:2303:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2303:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2303:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:2304:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2304:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2304:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:2305:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2305:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2305:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:2306:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2306:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2306:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:2307:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2307:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2307:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:2308:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2308:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2308:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:677:39: warning: context imbalance in 'req_done' - unexpected unlock ../drivers/spi/atmel-quadspi.c:244: warning: Function parameter or struct member 'pclk_div' not described in 'atmel_qspi_pcal' ../drivers/spi/atmel-quadspi.c:244: warning: Excess struct member 'pclkdiv' description in 'atmel_qspi_pcal' ../arch/x86/kernel/apic/x2apic_uv_x.c:79:13: warning: incorrect type in assignment (different address spaces) ../arch/x86/kernel/apic/x2apic_uv_x.c:79:13: expected unsigned long *mmr ../arch/x86/kernel/apic/x2apic_uv_x.c:79:13: got void [noderef] __iomem * ../arch/x86/kernel/apic/x2apic_uv_x.c:81:23: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/kernel/apic/x2apic_uv_x.c:81:23: expected void [noderef] __iomem *addr ../arch/x86/kernel/apic/x2apic_uv_x.c:81:23: got unsigned long *mmr ../arch/x86/kernel/apic/x2apic_uv_x.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../drivers/usb/misc/usb3503.c:231:44: warning: cast to restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3177:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3177 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3177:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3177 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3178 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'stall' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'prot_stall' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'registered' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'suspended' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'connected' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'vbus_session' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'set_cfg_not_acked' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'waiting_zlp_ack' description in 'pch_udc_dev' ../drivers/misc/sgi-gru/grukdump.c:60:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:60:17: expected void const * ../drivers/misc/sgi-gru/grukdump.c:60:17: got void [noderef] __user *[addressable] ubuf ../drivers/misc/sgi-gru/grukdump.c:60:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:60:17: expected void const * ../drivers/misc/sgi-gru/grukdump.c:60:17: got void [noderef] __user *[addressable] ubuf ../drivers/misc/sgi-gru/grukdump.c:60:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:60:17: expected void * ../drivers/misc/sgi-gru/grukdump.c:60:17: got void [noderef] __user *[addressable] ubuf ../drivers/misc/sgi-gru/grukdump.c:129:17: warning: incorrect type in assignment (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:129:17: expected struct gru_context_configuration_handle *ubufcch ../drivers/misc/sgi-gru/grukdump.c:129:17: got void [noderef] __user *[assigned] ubuf ../drivers/misc/sgi-gru/grukdump.c:192:14: warning: incorrect type in assignment (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:192:14: expected void [noderef] __user *ubuf ../drivers/misc/sgi-gru/grukdump.c:192:14: got void *[addressable] [assigned] buf ../drivers/misc/sgi-gru/grukdump.c:193:17: warning: incorrect type in assignment (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:193:17: expected void [noderef] __user *ubufend ../drivers/misc/sgi-gru/grukdump.c:193:17: got void * ../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:3473:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3478:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3483:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3483:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3508:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3512:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3512:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3512:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3522:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3526:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3526:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3526:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3536:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3536:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3542:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3543:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3550:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3551:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3554:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3590:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3590:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3644:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3644:25: warning: cast from restricted __be32 ../drivers/usb/gadget/udc/max3420_udc.c:551:41: warning: restricted __le16 degrades to integer ../drivers/usb/gadget/udc/max3420_udc.c:552:31: warning: restricted __le16 degrades to integer ../drivers/usb/gadget/udc/max3420_udc.c:566:16: warning: incorrect type in assignment (different base types) ../drivers/usb/gadget/udc/max3420_udc.c:566:16: expected unsigned short [assigned] [usertype] status ../drivers/usb/gadget/udc/max3420_udc.c:566:16: got restricted __le16 [usertype] ../drivers/usb/gadget/udc/max3420_udc.c:584:31: warning: restricted __le16 degrades to integer ../drivers/usb/gadget/udc/max3420_udc.c:598:32: warning: restricted __le16 degrades to integer ../drivers/usb/gadget/udc/max3420_udc.c:626:29: warning: cast from restricted __le16 ../drivers/usb/gadget/udc/max3420_udc.c:627:29: warning: cast from restricted __le16 ../drivers/usb/gadget/udc/max3420_udc.c:628:30: warning: cast from restricted __le16 ../drivers/pci/controller/dwc/pci-dra7xx.c: In function ‘dra7xx_pcie_probe’: ../drivers/pci/controller/dwc/pci-dra7xx.c:748:55: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:46: note: directive argument in the range [0, 2147483646] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/firmware/dmi_scan.c:693:27: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/dmi_scan.c:693:27: expected char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:693:27: got void * ../drivers/firmware/dmi_scan.c:697:41: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/dmi_scan.c:697:41: expected void *addr ../drivers/firmware/dmi_scan.c:697:41: got char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:711:19: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/dmi_scan.c:711:19: expected char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:711:19: got void * ../drivers/firmware/dmi_scan.c:715:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/dmi_scan.c:715:33: expected void *addr ../drivers/firmware/dmi_scan.c:715:33: got char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:722:19: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/dmi_scan.c:722:19: expected char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:722:19: got void * ../drivers/firmware/dmi_scan.c:735:49: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/dmi_scan.c:735:49: expected void *addr ../drivers/firmware/dmi_scan.c:735:49: got char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:753:49: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/dmi_scan.c:753:49: expected void *addr ../drivers/firmware/dmi_scan.c:753:49: got char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:758:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/dmi_scan.c:758:33: expected void *addr ../drivers/firmware/dmi_scan.c:758:33: got char [noderef] __iomem *p ../drivers/tty/serial/imx.c:2088:13: warning: context imbalance in 'imx_uart_console_device_lock' - wrong count at exit ../drivers/tty/serial/imx.c:2095:13: warning: context imbalance in 'imx_uart_console_device_unlock' - unexpected unlock ../fs/jffs2/background.c: note: in included file (through ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/compat.h, ../arch/x86/include/asm/ia32.h, ../arch/x86/include/asm/elf.h, ...): ../include/linux/sched/signal.h:289:28: warning: incorrect type in argument 1 (different address spaces) ../include/linux/sched/signal.h:289:28: expected struct spinlock [usertype] *lock ../include/linux/sched/signal.h:289:28: got struct spinlock [noderef] __rcu * ../include/linux/sched/signal.h:291:30: warning: incorrect type in argument 1 (different address spaces) ../include/linux/sched/signal.h:291:30: expected struct spinlock [usertype] *lock ../include/linux/sched/signal.h:291:30: got struct spinlock [noderef] __rcu * ../include/linux/sched/signal.h:298:31: warning: incorrect type in argument 1 (different address spaces) ../include/linux/sched/signal.h:298:31: expected struct spinlock [usertype] *lock ../include/linux/sched/signal.h:298:31: got struct spinlock [noderef] __rcu * ../include/linux/sched/signal.h:303:33: warning: incorrect type in argument 1 (different address spaces) ../include/linux/sched/signal.h:303:33: expected struct spinlock [usertype] *lock ../include/linux/sched/signal.h:303:33: got struct spinlock [noderef] __rcu * ../drivers/spi/spi-bcm63xx.c:571:22: warning: cast removes address space '__iomem' of expression ../drivers/spi/spi-bcm63xx.c:571:19: warning: incorrect type in assignment (different address spaces) ../drivers/spi/spi-bcm63xx.c:571:19: expected unsigned char [noderef] [usertype] __iomem *tx_io ../drivers/spi/spi-bcm63xx.c:571:19: got unsigned char [usertype] * ../drivers/spi/spi-bcm63xx.c:572:22: warning: cast removes address space '__iomem' of expression ../drivers/spi/spi-bcm63xx.c:572:19: warning: incorrect type in assignment (different address spaces) ../drivers/spi/spi-bcm63xx.c:572:19: expected unsigned char const [noderef] [usertype] __iomem *rx_io ../drivers/spi/spi-bcm63xx.c:572:19: got unsigned char const [usertype] * ../arch/x86/kernel/kvm.c:71:1: warning: symbol '__pcpu_scope_steal_time' was not declared. Should it be static? ../drivers/mmc/host/mmc_spi.c:748:17: warning: incorrect type in argument 1 (different base types) ../drivers/mmc/host/mmc_spi.c:748:17: expected unsigned short [usertype] *p ../drivers/mmc/host/mmc_spi.c:748:17: got restricted __be16 * ../drivers/mmc/host/mmc_spi.c:749:28: warning: restricted __be16 degrades to integer ../drivers/firmware/broadcom/bcm47xx_nvram.c:42:18: warning: cast removes address space '__iomem' of expression ../drivers/firmware/broadcom/bcm47xx_nvram.c:53:21: warning: dereference of noderef expression ../drivers/firmware/broadcom/bcm47xx_nvram.c:41: warning: Function parameter or struct member 'nvram' not described in 'bcm47xx_nvram_is_valid' ../drivers/firmware/broadcom/bcm47xx_nvram.c:49: warning: Function parameter or struct member 'nvram_start' not described in 'bcm47xx_nvram_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:49: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:73: warning: Function parameter or struct member 'flash_start' not described in 'bcm47xx_nvram_find_and_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:73: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_find_and_copy' ../drivers/usb/typec/ucsi/ucsi_glink.c:86:23: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:86:23: expected restricted __le32 [usertype] owner ../drivers/usb/typec/ucsi/ucsi_glink.c:86:23: got int ../drivers/usb/typec/ucsi/ucsi_glink.c:87:22: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:87:22: expected restricted __le32 [usertype] type ../drivers/usb/typec/ucsi/ucsi_glink.c:87:22: got int ../drivers/usb/typec/ucsi/ucsi_glink.c:88:24: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:88:24: expected restricted __le32 [usertype] opcode ../drivers/usb/typec/ucsi/ucsi_glink.c:88:24: got int ../drivers/usb/typec/ucsi/ucsi_glink.c:138:23: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:138:23: expected restricted __le32 [usertype] owner ../drivers/usb/typec/ucsi/ucsi_glink.c:138:23: got int ../drivers/usb/typec/ucsi/ucsi_glink.c:139:22: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:139:22: expected restricted __le32 [usertype] type ../drivers/usb/typec/ucsi/ucsi_glink.c:139:22: got int ../drivers/usb/typec/ucsi/ucsi_glink.c:140:24: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:140:24: expected restricted __le32 [usertype] opcode ../drivers/usb/typec/ucsi/ucsi_glink.c:140:24: got int ../drivers/spi/spi-bcm-qspi.c:396:30: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-bcm-qspi.c:396:30: expected unsigned int [assigned] [usertype] data ../drivers/spi/spi-bcm-qspi.c:396:30: got restricted __le32 [usertype] ../drivers/spi/spi-bcm-qspi.c:360:24: warning: cast to restricted __le32 ../drivers/tty/serial/sh-sci.c: note: in included file (through ../include/linux/serial_sci.h): ../include/linux/serial_core.h:785:34: warning: context imbalance in 'sci_dma_rx_submit' - unexpected unlock ../drivers/leds/leds-dac124s085.c:42:14: warning: incorrect type in assignment (different base types) ../drivers/leds/leds-dac124s085.c:42:14: expected unsigned short [usertype] word ../drivers/leds/leds-dac124s085.c:42:14: got restricted __le16 [usertype] ../drivers/gpu/drm/bridge/tc358767.c:1722:24: warning: Using plain integer as NULL pointer ../drivers/power/supply/ucs1002_power.c:191:29: warning: cast to restricted __be32 ../drivers/rtc/rtc-cmos.c:648:9: warning: context imbalance in 'cmos_nvram_read' - different lock contexts for basic block ../drivers/rtc/rtc-cmos.c:673:37: warning: context imbalance in 'cmos_nvram_write' - different lock contexts for basic block ../drivers/firmware/efi/esrt.c:126:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:127:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:128:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:129:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:130:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:131:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:199:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:200:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:201:1: warning: cast to restricted __le64 ../drivers/firmware/efi/esrt.c:339:25: warning: cast to restricted __le32 ../drivers/leds/flash/leds-ktd2692.c:62:33: warning: symbol 'ktd2692_timing' was not declared. Should it be static? ../drivers/firmware/efi/apple-properties.c:46:37: warning: array of flexible structures ../drivers/firmware/efi/embedded-firmware.c:18:1: warning: symbol 'efi_embedded_fw_list' was not declared. Should it be static? ../drivers/firmware/efi/embedded-firmware.c:20:6: warning: symbol 'efi_embedded_fw_checked' was not declared. Should it be static? ../drivers/spi/spi-fsl-qspi.c:636:25: warning: cast from restricted __be32 ../drivers/platform/x86/dell/dcdbas.c:104: warning: Function parameter or struct member 'size' not described in 'smi_data_buf_realloc' ../drivers/platform/x86/dell/dcdbas.c:285: warning: Function parameter or struct member 'smi_cmd' not described in 'dcdbas_smi_request' ../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'dev' not described in 'smi_request_store' ../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'attr' not described in 'smi_request_store' ../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'buf' not described in 'smi_request_store' ../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'count' not described in 'smi_request_store' ../drivers/platform/x86/dell/dcdbas.c:616: warning: Function parameter or struct member 'nb' not described in 'dcdbas_reboot_notify' ../drivers/platform/x86/dell/dcdbas.c:616: warning: Function parameter or struct member 'code' not described in 'dcdbas_reboot_notify' ../drivers/platform/x86/dell/dcdbas.c:616: warning: Function parameter or struct member 'unused' not described in 'dcdbas_reboot_notify' ../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/firmware/efi/test/efi_test.c:157:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:157:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:157:13: got unsigned long *[addressable] data_size ../drivers/firmware/efi/test/efi_test.c:160:61: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:160:61: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:160:61: got struct guid_t [usertype] *[addressable] vendor_guid ../drivers/firmware/efi/test/efi_test.c:167:60: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:167:60: expected unsigned short [noderef] [usertype] __user *src ../drivers/firmware/efi/test/efi_test.c:167:60: got unsigned short [usertype] *[addressable] variable_name ../drivers/firmware/efi/test/efi_test.c:187:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:187:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:187:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:187:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:187:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:187:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:187:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:187:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:187:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:194:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:194:35: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:194:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:194:35: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:194:35: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:194:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:194:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:194:35: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:194:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:209:45: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:209:45: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:209:45: got void *[addressable] data ../drivers/firmware/efi/test/efi_test.c:215:19: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:215:19: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:215:19: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:215:19: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:215:19: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:215:19: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:215:19: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:215:19: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:215:19: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:220:19: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:220:19: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:220:19: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:220:19: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:220:19: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:220:19: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:220:19: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:220:19: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:220:19: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:243:53: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:243:53: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:243:53: got struct guid_t [usertype] *[addressable] vendor_guid ../drivers/firmware/efi/test/efi_test.c:248:60: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:248:60: expected unsigned short [noderef] [usertype] __user *src ../drivers/firmware/efi/test/efi_test.c:248:60: got unsigned short [usertype] *[addressable] variable_name ../drivers/firmware/efi/test/efi_test.c:253:39: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:253:39: expected void const [noderef] __user * ../drivers/firmware/efi/test/efi_test.c:253:39: got void *[addressable] data ../drivers/firmware/efi/test/efi_test.c:263:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:263:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:263:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:263:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:263:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:263:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:263:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:263:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:263:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:292:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:292:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:292:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:292:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:292:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:292:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:292:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:292:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:292:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:301:27: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:301:27: expected struct efi_time_cap_t [noderef] [usertype] __user *cap_local ../drivers/firmware/efi/test/efi_test.c:301:27: got struct efi_time_cap_t [usertype] * ../drivers/firmware/efi/test/efi_test.c:308:41: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:308:41: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:308:41: got struct efi_time_t [usertype] *[addressable] time ../drivers/firmware/efi/test/efi_test.c:325:46: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:325:46: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:325:46: got struct efi_time_t [usertype] *[addressable] time ../drivers/firmware/efi/test/efi_test.c:330:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:330:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:330:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:330:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:330:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:330:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:330:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:330:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:330:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:354:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:354:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:354:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:354:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:354:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:354:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:354:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:354:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:354:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:360:38: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:360:38: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:360:38: got unsigned char [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:360:38: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:360:38: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:360:38: got unsigned char [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:360:38: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:360:38: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:360:38: got unsigned char [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:365:47: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:365:47: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:365:47: got struct efi_time_t [usertype] *[addressable] time ../drivers/firmware/efi/test/efi_test.c:389:60: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:389:60: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:389:60: got struct efi_time_t [usertype] *[addressable] time ../drivers/firmware/efi/test/efi_test.c:397:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:397:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:397:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:397:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:397:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:397:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:397:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:397:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:397:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:421:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:421:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:421:21: got unsigned long *[addressable] variable_name_size ../drivers/firmware/efi/test/efi_test.c:429:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:429:52: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:429:52: got struct guid_t [usertype] *[addressable] vendor_guid ../drivers/firmware/efi/test/efi_test.c:439:52: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:439:52: expected unsigned short [noderef] [usertype] __user *src ../drivers/firmware/efi/test/efi_test.c:439:52: got unsigned short [usertype] *[addressable] variable_name ../drivers/firmware/efi/test/efi_test.c:452:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:452:52: expected unsigned short [noderef] [usertype] __user *src ../drivers/firmware/efi/test/efi_test.c:452:52: got unsigned short [usertype] *[addressable] variable_name ../drivers/firmware/efi/test/efi_test.c:461:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:461:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:461:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:461:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:461:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:461:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:461:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:461:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:461:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:468:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:468:35: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:468:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:468:35: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:468:35: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:468:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:468:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:468:35: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:468:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:479:62: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:479:62: expected unsigned short [noderef] [usertype] __user *dst ../drivers/firmware/efi/test/efi_test.c:479:62: got unsigned short [usertype] *[addressable] variable_name ../drivers/firmware/efi/test/efi_test.c:487:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:487:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:487:21: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:487:21: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:487:21: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:487:21: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:487:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:487:21: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:487:21: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:494:53: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:494:53: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:494:53: got struct guid_t [usertype] *[addressable] vendor_guid ../drivers/firmware/efi/test/efi_test.c:522:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:522:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:522:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:522:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:522:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:522:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:522:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:522:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:522:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:529:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:529:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:529:13: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:529:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:529:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:529:13: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:529:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:529:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:529:13: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:546:37: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:546:37: expected void const [noderef] __user * ../drivers/firmware/efi/test/efi_test.c:546:37: got void * ../drivers/firmware/efi/test/efi_test.c:575:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:575:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:575:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:575:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:575:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:575:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:575:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:575:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:575:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:581:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:581:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:581:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:581:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:581:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:581:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:581:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:581:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:581:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:585:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:585:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:585:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:585:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:585:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:585:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:585:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:585:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:585:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:589:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:589:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:589:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:589:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:589:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:589:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:589:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:589:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:589:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:625:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:625:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:625:21: got struct efi_capsule_header_t [usertype] ** ../drivers/firmware/efi/test/efi_test.c:629:50: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:629:50: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:629:50: got struct efi_capsule_header_t [usertype] *[assigned] c ../drivers/firmware/efi/test/efi_test.c:643:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:643:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:643:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:643:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:643:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:643:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:643:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:643:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:643:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:653:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:653:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:653:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:653:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:653:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:653:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:653:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:653:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:653:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:658:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:658:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:658:13: got int *__ptr ../drivers/firmware/efi/test/efi_test.c:658:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:658:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:658:13: got int *__ptr ../drivers/firmware/efi/test/efi_test.c:658:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:658:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:658:13: got int *__ptr ../drivers/firmware/efi/test/efi_test.c:671:24: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:671:24: expected unsigned int [noderef] __user *supported_mask ../drivers/firmware/efi/test/efi_test.c:671:24: got unsigned int * ../drivers/firmware/efi/test/efi_test.c:35:27: warning: incorrect type in initializer (different address spaces) ../drivers/firmware/efi/test/efi_test.c:35:27: expected unsigned short [usertype] *s ../drivers/firmware/efi/test/efi_test.c:35:27: got unsigned short [noderef] [usertype] __user *str ../drivers/firmware/efi/test/efi_test.c:44:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:44:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:44:13: got unsigned short [usertype] * ../drivers/firmware/efi/test/efi_test.c:50:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:50:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:50:21: got unsigned short [usertype] * ../drivers/firmware/efi/test/efi_test.c:35:27: warning: incorrect type in initializer (different address spaces) ../drivers/firmware/efi/test/efi_test.c:35:27: expected unsigned short [usertype] *[assigned] s ../drivers/firmware/efi/test/efi_test.c:35:27: got unsigned short [noderef] [usertype] __user *str ../drivers/firmware/efi/test/efi_test.c:44:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:44:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:44:13: got unsigned short [usertype] * ../drivers/firmware/efi/test/efi_test.c:50:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:50:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:50:21: got unsigned short [usertype] * ../drivers/firmware/efi/test/efi_test.c:35:27: warning: incorrect type in initializer (different address spaces) ../drivers/firmware/efi/test/efi_test.c:35:27: expected unsigned short [usertype] *[assigned] s ../drivers/firmware/efi/test/efi_test.c:35:27: got unsigned short [noderef] [usertype] __user *str ../drivers/firmware/efi/test/efi_test.c:44:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:44:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:44:13: got unsigned short [usertype] * ../drivers/firmware/efi/test/efi_test.c:50:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:50:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:50:21: got unsigned short [usertype] * ../drivers/rtc/rtc-ds2404.c:172:20: warning: incorrect type in initializer (different base types) ../drivers/rtc/rtc-ds2404.c:172:20: expected unsigned int [usertype] time ../drivers/rtc/rtc-ds2404.c:172:20: got restricted __le32 [usertype] ../drivers/firmware/efi/libstub/efi-stub-helper.c:611: warning: Function parameter or struct member 'out' not described in 'efi_load_initrd' ../drivers/spi/spi-lp8841-rtc.c:111:41: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:111:41: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:111:41: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:120:41: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:120:41: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:120:41: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:142:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:142:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:142:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:146:41: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:146:41: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:146:41: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:208:21: warning: incorrect type in assignment (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:208:21: expected void *iomem ../drivers/spi/spi-lp8841-rtc.c:208:21: got void [noderef] __iomem * ../drivers/spi/spi-lp8841-rtc.c:56:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:56:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:56:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:62:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:62:28: expected void const [noderef] __iomem * ../drivers/spi/spi-lp8841-rtc.c:62:28: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:46:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:46:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:46:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:46:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:46:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:46:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:56:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:56:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:56:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:62:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:62:28: expected void const [noderef] __iomem * ../drivers/spi/spi-lp8841-rtc.c:62:28: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:46:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:46:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:46:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:46:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:46:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:46:33: got void *iomem ../drivers/memory/omap-gpmc.c:975:5: warning: context imbalance in 'gpmc_cs_request' - different lock contexts for basic block ../drivers/memory/omap-gpmc.c:1020:6: warning: context imbalance in 'gpmc_cs_free' - wrong count at exit ../drivers/platform/x86/lenovo-yoga-tab2-pro-1380-fastcharger.c:222:29: warning: symbol 'yt2_1380_fc_serdev_driver' was not declared. Should it be static? ../drivers/input/touchscreen/tsc200x-core.c:195:13: warning: context imbalance in 'tsc200x_penup_timer' - wrong count at exit ../drivers/firmware/efi/libstub/x86-stub.c:944:6: warning: symbol 'efi_handover_entry' was not declared. Should it be static? ../drivers/firmware/efi/libstub/unaccepted_memory.c:7:30: warning: symbol 'unaccepted_table' was not declared. Should it be static? ../drivers/spi/spi-nxp-fspi.c:516:25: warning: cast from restricted __be32 ../drivers/spi/spi-ti-qspi.c:266:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:266:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:266:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:269:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:269:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:269:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:272:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:272:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:272:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:275:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:275:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:275:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:376:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:378:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:380:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:382:42: warning: cast to restricted __be32 ../drivers/spi/spi-orion.c:451:24: warning: incorrect type in argument 1 (different base types) ../drivers/spi/spi-orion.c:451:24: expected unsigned int val ../drivers/spi/spi-orion.c:451:24: got restricted __le16 [usertype] ../drivers/spi/spi-orion.c:461:17: warning: cast to restricted __le16 ../drivers/net/ethernet/smsc/smc91x.c:557:9: warning: context imbalance in 'smc_hardware_send_pkt' - different lock contexts for basic block ../drivers/platform/x86/samsung-laptop.c:1272:43: warning: incorrect type in assignment (different address spaces) ../drivers/platform/x86/samsung-laptop.c:1272:43: expected void *data ../drivers/platform/x86/samsung-laptop.c:1272:43: got void [noderef] __iomem *f0000_segment ../drivers/spi/spi-pci1xxxx.c:370:22: warning: incorrect type in assignment (different address spaces) ../drivers/spi/spi-pci1xxxx.c:370:22: expected void *base ../drivers/spi/spi-pci1xxxx.c:370:22: got void [noderef] __iomem * ../drivers/spi/spi-pci1xxxx.c:372:22: warning: incorrect type in assignment (different address spaces) ../drivers/spi/spi-pci1xxxx.c:372:22: expected void *base ../drivers/spi/spi-pci1xxxx.c:372:22: got void [noderef] __iomem * ../drivers/spi/spi-pci1xxxx.c:374:34: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:374:34: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:374:34: got void * ../drivers/spi/spi-pci1xxxx.c:375:26: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:375:26: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:375:26: got void * ../drivers/spi/spi-pci1xxxx.c:376:46: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:376:46: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:376:46: got void * ../drivers/spi/spi-pci1xxxx.c:377:46: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:377:46: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:377:46: got void * ../drivers/spi/spi-pci1xxxx.c:379:21: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:379:21: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:379:21: got void * ../drivers/spi/spi-pci1xxxx.c:381:21: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:381:21: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:381:21: got void * ../drivers/net/ethernet/wiznet/w5100.c: In function ‘w5100_probe’: ../drivers/net/ethernet/wiznet/w5100.c:1190:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~ ../drivers/net/ethernet/wiznet/w5100.c:1190:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:99, from ../include/linux/bug.h:5, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/cpuid.h:71, from ../arch/x86/include/asm/processor.h:19, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/mtd/mtdpart.c:10: ../drivers/mtd/mtdpart.c: In function ‘parse_mtd_partitions’: ../drivers/mtd/mtdpart.c:693:34: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 693 | pr_debug("%s: got parser %s\n", master->name, | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/printk.h:391:21: note: in definition of macro ‘pr_fmt’ 391 | #define pr_fmt(fmt) fmt | ^~~ ../include/linux/dynamic_debug.h:248:9: note: in expansion of macro ‘__dynamic_func_call_cls’ 248 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/dynamic_debug.h:250:9: note: in expansion of macro ‘_dynamic_func_call_cls’ 250 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/dynamic_debug.h:269:9: note: in expansion of macro ‘_dynamic_func_call’ 269 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/printk.h:625:9: note: in expansion of macro ‘dynamic_pr_debug’ 625 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ ../drivers/mtd/mtdpart.c:693:25: note: in expansion of macro ‘pr_debug’ 693 | pr_debug("%s: got parser %s\n", master->name, | ^~~~~~~~ ../drivers/mtd/mtdpart.c:693:50: note: format string is defined here 693 | pr_debug("%s: got parser %s\n", master->name, | ^~ ../drivers/net/ethernet/wiznet/w5300.c: In function ‘w5300_hw_probe’: ../drivers/net/ethernet/wiznet/w5300.c:576:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 576 | snprintf(link_name, 16, "%s-link", name); | ^~ ../drivers/net/ethernet/wiznet/w5300.c:576:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 576 | snprintf(link_name, 16, "%s-link", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/tx.c:495:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:277:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 275 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 277 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/mtd/ftl.c:179:37: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:202:23: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:218:21: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:219:24: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:230:24: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:231:28: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:232:27: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:233:27: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:234:17: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:242:28: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:244:53: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:249:21: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:258:27: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:265:14: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:284:44: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:294:17: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:297:25: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:298:23: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:299:39: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:301:22: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:301:22: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:386:23: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:386:23: expected unsigned short [assigned] [usertype] LogicalEUN ../drivers/mtd/ftl.c:386:23: got restricted __le16 [usertype] ../drivers/mtd/ftl.c:387:23: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:387:23: expected unsigned int [assigned] [usertype] EraseCount ../drivers/mtd/ftl.c:387:23: got restricted __le32 [usertype] ../drivers/mtd/ftl.c:397:12: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:400:29: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:401:9: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:401:9: expected unsigned int [usertype] ctl ../drivers/mtd/ftl.c:401:9: got restricted __le32 [usertype] ../drivers/mtd/ftl.c:439:28: warning: incorrect type in initializer (different base types) ../drivers/mtd/ftl.c:439:28: expected unsigned short [usertype] srcunitswap ../drivers/mtd/ftl.c:439:28: got restricted __le16 [usertype] ../drivers/mtd/ftl.c:450:32: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:468:10: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:468:10: expected unsigned short [usertype] unit ../drivers/mtd/ftl.c:468:10: got restricted __le16 [usertype] ../drivers/mtd/ftl.c:484:17: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:508:32: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:508:32: expected unsigned int [usertype] ../drivers/mtd/ftl.c:508:32: got restricted __le32 [usertype] ../drivers/mtd/ftl.c:518:36: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:712:52: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:726:13: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:765:43: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:811:19: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:834:18: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:834:18: expected unsigned int [usertype] le_virt_addr ../drivers/mtd/ftl.c:834:18: got restricted __le32 [usertype] ../drivers/mtd/ftl.c:887:26: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:948:16: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:1028:39: warning: cast to restricted __le32 ../drivers/edac/skx_common.c: In function ‘skx_get_nvdimm_info’: ../drivers/edac/skx_common.c:491:79: warning: ‘_DIMM#’ directive output may be truncated writing 6 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 491 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~ ../drivers/edac/skx_common.c:491:52: note: using the range [0, 4294967295] for directive argument 491 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c:491:9: note: ‘snprintf’ output between 31 and 53 bytes into a destination of size 32 491 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 492 | imc->src_id, imc->lmc, chan, dimmno); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c: In function ‘skx_get_dimm_info’: ../drivers/edac/skx_common.c:442:87: warning: ‘_DIMM#’ directive output may be truncated writing 6 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 442 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~ ../drivers/edac/skx_common.c:442:60: note: using the range [0, 4294967295] for directive argument 442 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c:442:17: note: ‘snprintf’ output between 31 and 53 bytes into a destination of size 32 442 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 443 | imc->src_id, imc->lmc, chan, dimmno); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/mtd/nftlcore.c:218:31: warning: cast to restricted __le16 ../drivers/mtd/nftlcore.c:221:25: warning: cast to restricted __le16 ../drivers/mtd/nftlcore.c:380:54: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlcore.c:380:54: expected unsigned short [addressable] [usertype] FoldMark1 ../drivers/mtd/nftlcore.c:380:54: got restricted __le16 [usertype] ../drivers/mtd/nftlcore.c:428:56: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlcore.c:428:56: expected unsigned short [addressable] [assigned] [usertype] SpareVirtUnitNum ../drivers/mtd/nftlcore.c:428:56: got restricted __le16 [usertype] ../drivers/mtd/nftlcore.c:483:33: warning: cast to restricted __le32 ../drivers/mtd/nftlcore.c:555:25: warning: cast to restricted __le16 ../drivers/mtd/nftlcore.c:642:64: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlcore.c:642:64: expected unsigned short [addressable] [usertype] SpareVirtUnitNum ../drivers/mtd/nftlcore.c:642:64: got restricted __le16 [usertype] ../drivers/mtd/nftlcore.c:658:33: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlcore.c:658:33: expected unsigned short [addressable] [usertype] SpareReplUnitNum ../drivers/mtd/nftlcore.c:658:33: got restricted __le16 [usertype] ../drivers/mtd/nftlmount.c:163:40: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:171:35: warning: cast to restricted __le32 ../drivers/mtd/nftlmount.c:183:35: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:183:68: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:315:22: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:318:31: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:318:31: expected unsigned short [addressable] [usertype] EraseMark ../drivers/mtd/nftlmount.c:318:31: got restricted __le16 [usertype] ../drivers/mtd/nftlmount.c:319:32: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:319:32: expected unsigned short [addressable] [usertype] EraseMark1 ../drivers/mtd/nftlmount.c:319:32: got restricted __le16 [usertype] ../drivers/mtd/nftlmount.c:320:30: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:320:30: expected unsigned int [addressable] [usertype] WearInfo ../drivers/mtd/nftlmount.c:320:30: got restricted __le32 [usertype] ../drivers/mtd/nftlmount.c:334:21: warning: cast to restricted __le32 ../drivers/mtd/nftlmount.c:348:24: warning: cast to restricted __le32 ../drivers/mtd/nftlmount.c:500:22: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:508:30: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:508:30: expected unsigned short [addressable] [usertype] EraseMark ../drivers/mtd/nftlmount.c:508:30: got restricted __le16 [usertype] ../drivers/mtd/nftlmount.c:509:31: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:509:31: expected unsigned short [addressable] [usertype] EraseMark1 ../drivers/mtd/nftlmount.c:509:31: got restricted __le16 [usertype] ../drivers/mtd/nftlmount.c:510:29: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:510:29: expected unsigned int [addressable] [usertype] WearInfo ../drivers/mtd/nftlmount.c:510:29: got restricted __le32 [usertype] ../drivers/mtd/nftlmount.c:559:16: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:607:49: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:608:45: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:609:46: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:765:26: warning: cast to restricted __le16 ../drivers/mtd/inftlcore.c:588:39: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlcore.c:588:39: expected unsigned short [addressable] [usertype] virtualUnitNo ../drivers/mtd/inftlcore.c:588:39: got restricted __le16 [usertype] ../drivers/mtd/inftlcore.c:589:36: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlcore.c:589:36: expected unsigned short [addressable] [usertype] prevUnitNo ../drivers/mtd/inftlcore.c:589:36: got restricted __le16 [usertype] ../drivers/mtd/inftlcore.c:599:39: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlcore.c:599:39: expected unsigned short [addressable] [assigned] [usertype] virtualUnitNo ../drivers/mtd/inftlcore.c:599:39: got restricted __le16 [usertype] ../drivers/mtd/inftlcore.c:600:36: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlcore.c:600:36: expected unsigned short [addressable] [assigned] [usertype] prevUnitNo ../drivers/mtd/inftlcore.c:600:36: got restricted __le16 [usertype] ../drivers/mtd/inftlmount.c:121:43: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:122:44: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:123:42: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:124:43: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:125:35: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:126:35: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:178:44: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:179:41: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:180:40: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:181:37: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:182:42: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:183:41: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:402:23: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlmount.c:402:23: expected unsigned short [usertype] EraseMark ../drivers/mtd/inftlmount.c:402:23: got restricted __le16 [usertype] ../drivers/mtd/inftlmount.c:403:24: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlmount.c:403:24: expected unsigned short [usertype] EraseMark1 ../drivers/mtd/inftlmount.c:403:24: got restricted __le16 [usertype] ../drivers/mtd/inftlmount.c:592:41: warning: cast to restricted __le16 ../drivers/mtd/inftlmount.c:593:38: warning: cast to restricted __le16 ../drivers/mtd/inftlmount.c:594:38: warning: cast to restricted __le16 ../drivers/mtd/rfd_ftl.c:100:13: warning: cast to restricted __le16 ../drivers/mtd/rfd_ftl.c:110:25: warning: cast to restricted __le16 ../drivers/mtd/rfd_ftl.c:292:29: warning: incorrect type in initializer (different base types) ../drivers/mtd/rfd_ftl.c:292:29: expected unsigned short [usertype] magic ../drivers/mtd/rfd_ftl.c:292:29: got restricted __le16 [usertype] ../drivers/mtd/rfd_ftl.c:351:29: warning: cast to restricted __le16 ../drivers/mtd/rfd_ftl.c:550:19: warning: incorrect type in initializer (different base types) ../drivers/mtd/rfd_ftl.c:550:19: expected unsigned short [usertype] del ../drivers/mtd/rfd_ftl.c:550:19: got restricted __le16 [usertype] ../drivers/mtd/rfd_ftl.c:589:21: warning: cast to restricted __le16 ../drivers/mtd/rfd_ftl.c:644:15: warning: incorrect type in assignment (different base types) ../drivers/mtd/rfd_ftl.c:644:15: expected unsigned short [usertype] entry ../drivers/mtd/rfd_ftl.c:644:15: got restricted __le16 [usertype] ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/hwmon/ad7314.c:52:16: warning: cast to restricted __be16 ../drivers/mtd/chips/cfi_util.c:96:26: warning: restricted __be16 degrades to integer ../drivers/mtd/chips/cfi_util.c:96:26: warning: restricted __le16 degrades to integer ../drivers/mtd/chips/cfi_util.c:99:26: warning: restricted __be32 degrades to integer ../drivers/mtd/chips/cfi_util.c:99:26: warning: restricted __le32 degrades to integer ../drivers/mtd/chips/cfi_util.c:184:23: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_util.c:184:23: warning: cast to restricted __be16 ../drivers/mtd/chips/cfi_util.c:187:23: warning: cast to restricted __le32 ../drivers/mtd/chips/cfi_util.c:187:23: warning: cast to restricted __be32 ../drivers/mtd/chips/cfi_util.c: note: in included file: ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../drivers/mtd/chips/cfi_cmdset_0020.c:142:40: warning: cast to restricted __le32 ../drivers/mtd/chips/cfi_cmdset_0020.c:142:40: warning: cast to restricted __be32 ../drivers/mtd/chips/cfi_cmdset_0020.c:143:42: warning: cast to restricted __le32 ../drivers/mtd/chips/cfi_cmdset_0020.c:143:42: warning: cast to restricted __be32 ../drivers/mtd/lpddr/lpddr_cmds.c:547:20: warning: cast removes address space '__iomem' of expression ../drivers/net/ieee802154/ca8210.c:1798:27: warning: incorrect type in assignment (different base types) ../drivers/net/ieee802154/ca8210.c:1798:27: expected restricted __le16 [addressable] [assigned] [usertype] pan_id ../drivers/net/ieee802154/ca8210.c:1798:27: got unsigned short [usertype] ../drivers/net/ieee802154/ca8210.c:1803:25: warning: incorrect type in assignment (different base types) ../drivers/net/ieee802154/ca8210.c:1803:25: expected restricted __le16 [addressable] [assigned] [usertype] pan_id ../drivers/net/ieee802154/ca8210.c:1803:25: got unsigned short [usertype] ../drivers/net/ieee802154/ca8210.c:1930:28: warning: incorrect type in argument 3 (different base types) ../drivers/net/ieee802154/ca8210.c:1930:28: expected unsigned short [usertype] dst_pan_id ../drivers/net/ieee802154/ca8210.c:1930:28: got restricted __le16 [addressable] [usertype] pan_id ../drivers/mtd/chips/cfi_cmdset_0002.c: note: in included file: ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../drivers/mtd/chips/cfi_cmdset_0001.c:1418:15: warning: incorrect type in assignment (different address spaces) ../drivers/mtd/chips/cfi_cmdset_0001.c:1418:15: expected void * ../drivers/mtd/chips/cfi_cmdset_0001.c:1418:15: got void [noderef] __iomem * ../drivers/mtd/chips/cfi_cmdset_0001.c:181:30: warning: incorrect type in assignment (different base types) ../drivers/mtd/chips/cfi_cmdset_0001.c:181:30: expected unsigned int [usertype] FeatureSupport ../drivers/mtd/chips/cfi_cmdset_0001.c:181:30: got restricted __le32 [usertype] ../drivers/mtd/chips/cfi_cmdset_0001.c:182:32: warning: incorrect type in assignment (different base types) ../drivers/mtd/chips/cfi_cmdset_0001.c:182:32: expected unsigned short [usertype] BlkStatusRegMask ../drivers/mtd/chips/cfi_cmdset_0001.c:182:32: got restricted __le16 [usertype] ../drivers/mtd/chips/cfi_cmdset_0001.c:183:27: warning: incorrect type in assignment (different base types) ../drivers/mtd/chips/cfi_cmdset_0001.c:183:27: expected unsigned short [usertype] ProtRegAddr ../drivers/mtd/chips/cfi_cmdset_0001.c:183:27: got restricted __le16 [usertype] ../drivers/mtd/chips/cfi_cmdset_0001.c:417:32: warning: cast to restricted __le32 ../drivers/mtd/chips/cfi_cmdset_0001.c:418:34: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_cmdset_0001.c:419:29: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_cmdset_0001.c:437:60: warning: cast to restricted __le32 ../drivers/mtd/chips/cfi_cmdset_0001.c:438:59: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_cmdset_0001.c:439:59: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_cmdset_0001.c:473:51: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_cmdset_0001.c: note: in included file: ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../drivers/iio/adc/ad_sigma_delta.c:207:13: warning: context imbalance in 'ad_sd_disable_irq' - wrong count at exit ../drivers/iio/adc/ad_sigma_delta.c:220:13: warning: context imbalance in 'ad_sd_enable_irq' - wrong count at exit ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:66: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:63: note: directive argument in the range [-2147483641, 254] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 892 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:66: warning: ‘-rx-txc’ directive output may be truncated writing 7 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:25: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 16 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 889 | ndev->name); | ~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:58: warning: ‘-txc-’ directive output may be truncated writing 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:55: note: directive argument in the range [-2147483641, 254] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 16 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 899 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/mtd/chips/map_ram.c:98:15: warning: incorrect type in assignment (different address spaces) ../drivers/mtd/chips/map_ram.c:98:15: expected void * ../drivers/mtd/chips/map_ram.c:98:15: got void [noderef] __iomem * ../drivers/mtd/devices/pmc551.c:743:29: warning: incorrect type in assignment (different address spaces) ../drivers/mtd/devices/pmc551.c:743:29: expected unsigned char [usertype] *start ../drivers/mtd/devices/pmc551.c:743:29: got void [noderef] __iomem * ../drivers/mtd/devices/pmc551.c:783:53: warning: incorrect type in argument 2 (different address spaces) ../drivers/mtd/devices/pmc551.c:783:53: expected void [noderef] __iomem * ../drivers/mtd/devices/pmc551.c:783:53: got unsigned char [usertype] *start ../drivers/mtd/devices/pmc551.c:833:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/mtd/devices/pmc551.c:833:52: expected void [noderef] __iomem * ../drivers/mtd/devices/pmc551.c:833:52: got unsigned char [usertype] *start ../drivers/rtc/rtc-mxc_v2.c:114:12: warning: context imbalance in 'mxc_rtc_lock' - different lock contexts for basic block ../drivers/rtc/rtc-mxc_v2.c:127:12: warning: context imbalance in 'mxc_rtc_unlock' - unexpected unlock ../drivers/thunderbolt/tb.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/mtd/chips/map_rom.c:80:15: warning: incorrect type in assignment (different address spaces) ../drivers/mtd/chips/map_rom.c:80:15: expected void * ../drivers/mtd/chips/map_rom.c:80:15: got void [noderef] __iomem * ../drivers/mtd/spi-nor/sfdp.c:769:38: warning: dubious: x | !y ../drivers/mtd/spi-nor/sfdp.c:1394:13: warning: cast to restricted __le32 ../drivers/mtd/spi-nor/sfdp.c:1429:13: warning: cast to restricted __le32 ../drivers/fpga/machxo2-spi.c:86:19: warning: cast to restricted __be32 ../drivers/thunderbolt/switch.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/fsi/fsi-master-ast-cf.c:399:65: warning: incorrect type in argument 4 (different base types) ../drivers/fsi/fsi-master-ast-cf.c:399:65: expected restricted __be32 [usertype] rdata ../drivers/fsi/fsi-master-ast-cf.c:399:65: got unsigned int [assigned] [usertype] rdata ../drivers/rtc/rtc-omap.c:412: warning: Function parameter or struct member 'dev' not described in 'omap_rtc_power_off_program' ../drivers/thunderbolt/path.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/mtd/nand/onenand/onenand_base.c:779:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:779:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:779:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:779:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:779:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:779:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:779:9: warning: incorrect type in argument 2 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:779:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:779:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:817:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:817:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: warning: incorrect type in argument 2 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:817:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:860:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:860:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:860:9: expected void * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: got void [noderef] __iomem * ../drivers/mtd/maps/nettel.c:179:25: warning: cast removes address space '__iomem' of expression ../drivers/mtd/maps/nettel.c:223:25: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/maps/nettel.c:223:25: expected void volatile [noderef] __iomem *addr ../drivers/mtd/maps/nettel.c:223:25: got void *static [assigned] [toplevel] nettel_mmcrp ../drivers/mtd/maps/nettel.c:416:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/maps/nettel.c:416:17: expected void volatile [noderef] __iomem *addr ../drivers/mtd/maps/nettel.c:416:17: got void *static [assigned] [toplevel] nettel_mmcrp ../drivers/mtd/maps/nettel.c:434:25: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/maps/nettel.c:434:25: expected void volatile [noderef] __iomem *addr ../drivers/mtd/maps/nettel.c:434:25: got void *static [assigned] [toplevel] nettel_mmcrp ../drivers/thunderbolt/tunnel.c: note: in included file (through ../drivers/thunderbolt/tb.h, ../drivers/thunderbolt/tunnel.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/mtd/nand/raw/nand_legacy.c:42:17: warning: cast from restricted __le16 ../drivers/thunderbolt/eeprom.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/mtd/nand/spi/alliancememory.c:19:8: error: Expected ) in function call ../drivers/mtd/nand/spi/alliancememory.c:19:8: error: got . ../drivers/mtd/nand/spi/alliancememory.c:19:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/raw/nand_onfi.c:320:27: warning: cast to restricted __le16 ../drivers/mtd/nand/raw/nand_onfi.c:323:44: warning: cast to restricted __le16 ../drivers/mtd/nand/spi/ato.c:16:8: error: Expected ) in function call ../drivers/mtd/nand/spi/ato.c:16:8: error: got . ../drivers/mtd/nand/spi/ato.c:16:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/esmt.c:15:8: error: Expected ) in function call ../drivers/mtd/nand/spi/esmt.c:15:8: error: got . ../drivers/mtd/nand/spi/esmt.c:15:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/foresee.c:14:8: error: Expected ) in function call ../drivers/mtd/nand/spi/foresee.c:14:8: error: got . ../drivers/mtd/nand/spi/foresee.c:14:8: error: undefined identifier '__VA_OPT__' ../drivers/bluetooth/hci_nokia.c:279:23: warning: incorrect type in assignment (different base types) ../drivers/bluetooth/hci_nokia.c:279:23: expected unsigned short [usertype] baud ../drivers/bluetooth/hci_nokia.c:279:23: got restricted __le16 [usertype] ../drivers/bluetooth/hci_nokia.c:282:26: warning: incorrect type in assignment (different base types) ../drivers/bluetooth/hci_nokia.c:282:26: expected unsigned short [usertype] sys_clk ../drivers/bluetooth/hci_nokia.c:282:26: got restricted __le16 [usertype] ../drivers/mtd/nand/spi/gigadevice.c:26:8: error: Expected ) in function call ../drivers/mtd/nand/spi/gigadevice.c:26:8: error: got . ../drivers/mtd/nand/spi/gigadevice.c:42:8: error: Expected ) in function call ../drivers/mtd/nand/spi/gigadevice.c:42:8: error: got . ../drivers/mtd/nand/spi/gigadevice.c:50:8: error: Expected ) in function call ../drivers/mtd/nand/spi/gigadevice.c:50:8: error: got . ../drivers/mtd/nand/spi/gigadevice.c:26:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/gigadevice.c:42:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/gigadevice.c:50:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/micron.c:31:8: error: Expected ) in function call ../drivers/mtd/nand/spi/micron.c:31:8: error: got . ../drivers/mtd/nand/spi/micron.c:48:8: error: Expected ) in function call ../drivers/mtd/nand/spi/micron.c:48:8: error: got . ../drivers/mtd/nand/spi/micron.c:31:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/micron.c:48:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/macronix.c:28:8: error: Expected ) in function call ../drivers/mtd/nand/spi/macronix.c:28:8: error: got . ../drivers/mtd/nand/spi/macronix.c:28:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/paragon.c:24:8: error: Expected ) in function call ../drivers/mtd/nand/spi/paragon.c:24:8: error: got . ../drivers/mtd/nand/spi/paragon.c:24:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/ubi/fastmap.c:571:23: warning: incorrect type in assignment (different base types) ../drivers/mtd/ubi/fastmap.c:571:23: expected unsigned long long max_sqnum ../drivers/mtd/ubi/fastmap.c:571:23: got restricted __be64 [usertype] sqnum ../drivers/mtd/ubi/fastmap.c:1038:17: warning: incorrect type in assignment (different base types) ../drivers/mtd/ubi/fastmap.c:1038:17: expected restricted __be32 [usertype] tmp_crc ../drivers/mtd/ubi/fastmap.c:1038:17: got unsigned int [usertype] ../drivers/mtd/ubi/fastmap.c:1040:13: warning: incorrect type in assignment (different base types) ../drivers/mtd/ubi/fastmap.c:1040:13: expected restricted __be32 [usertype] crc ../drivers/mtd/ubi/fastmap.c:1040:13: got unsigned int ../drivers/mtd/ubi/fastmap.c:1049:22: warning: incorrect type in assignment (different base types) ../drivers/mtd/ubi/fastmap.c:1049:22: expected restricted __be64 [usertype] sqnum ../drivers/mtd/ubi/fastmap.c:1049:22: got unsigned long long [assigned] sqnum ../drivers/mtd/nand/spi/skyhigh.c:19:8: error: Expected ) in function call ../drivers/mtd/nand/spi/skyhigh.c:19:8: error: got . ../drivers/mtd/nand/spi/skyhigh.c:19:8: error: undefined identifier '__VA_OPT__' ../drivers/thunderbolt/tmu.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/thunderbolt/usb4.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/mtd/nand/spi/toshiba.c:17:8: error: Expected ) in function call ../drivers/mtd/nand/spi/toshiba.c:17:8: error: got . ../drivers/mtd/nand/spi/toshiba.c:17:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/winbond.c:26:8: error: Expected ) in function call ../drivers/mtd/nand/spi/winbond.c:26:8: error: got . ../drivers/mtd/nand/spi/winbond.c:39:8: error: Expected ) in function call ../drivers/mtd/nand/spi/winbond.c:39:8: error: got . ../drivers/mtd/nand/spi/winbond.c:26:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/winbond.c:39:8: error: undefined identifier '__VA_OPT__' ../drivers/hwmon/max31722.c:59:42: warning: cast to restricted __le16 ../drivers/mtd/nand/spi/xtx.c:25:8: error: Expected ) in function call ../drivers/mtd/nand/spi/xtx.c:25:8: error: got . ../drivers/mtd/nand/spi/xtx.c:25:8: error: undefined identifier '__VA_OPT__' ../drivers/net/ethernet/sfc/siena/tx.c:290:9: warning: context imbalance in 'efx_siena_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/sfc/falcon/ethtool.c: In function ‘ef4_fill_test’: ../drivers/net/ethernet/sfc/falcon/ethtool.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/thunderbolt/clx.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/thunderbolt/debugfs.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/net/ethernet/sfc/siena/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/siena/ethtool_common.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/mtd/nand/raw/nandsim.c:1901:41: warning: cast from restricted __le16 ../drivers/mtd/nand/raw/nandsim.c:2073:59: warning: incorrect type in assignment (different base types) ../drivers/mtd/nand/raw/nandsim.c:2073:59: expected unsigned short [usertype] ../drivers/mtd/nand/raw/nandsim.c:2073:59: got restricted __le16 [usertype] ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/mtd/nand/raw/sh_flctl.c:457:16: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/sh_flctl.c:480:26: warning: cast to restricted __be32 ../drivers/mtd/nand/raw/sh_flctl.c:495:38: warning: cast to restricted __be32 ../drivers/mtd/nand/raw/sh_flctl.c:511:24: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/sh_flctl.c:511:24: expected unsigned int val ../drivers/mtd/nand/raw/sh_flctl.c:511:24: got restricted __be32 [usertype] ../drivers/mtd/nand/raw/sh_flctl.c:524:24: warning: incorrect type in assignment (different base types) ../drivers/mtd/nand/raw/sh_flctl.c:524:24: expected unsigned long ../drivers/mtd/nand/raw/sh_flctl.c:524:24: got restricted __be32 [usertype] ../drivers/mtd/nand/raw/mxc_nand.c:1477:26: warning: incorrect type in initializer (different address spaces) ../drivers/mtd/nand/raw/mxc_nand.c:1477:26: expected unsigned short [noderef] [usertype] __iomem *t ../drivers/mtd/nand/raw/mxc_nand.c:1477:26: got void *buf ../drivers/mtd/nand/raw/mxc_nand.c:1514:65: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/mxc_nand.c:1514:65: expected void *buf ../drivers/mtd/nand/raw/mxc_nand.c:1514:65: got void [noderef] __iomem * ../drivers/mtd/nand/raw/mxc_nand.c:1525:87: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/mxc_nand.c:1525:87: expected void *buf ../drivers/mtd/nand/raw/mxc_nand.c:1525:87: got void [noderef] __iomem * ../drivers/mtd/nand/raw/r852.c:105:25: warning: incorrect type in argument 3 (different base types) ../drivers/mtd/nand/raw/r852.c:105:25: expected unsigned int [usertype] value ../drivers/mtd/nand/raw/r852.c:105:25: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:109:25: warning: incorrect type in argument 3 (different base types) ../drivers/mtd/nand/raw/r852.c:109:25: expected unsigned int [usertype] value ../drivers/mtd/nand/raw/r852.c:109:25: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:142:17: warning: incorrect type in argument 3 (different base types) ../drivers/mtd/nand/raw/r852.c:142:17: expected unsigned int [usertype] value ../drivers/mtd/nand/raw/r852.c:142:17: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/hisi504_nand.c:362:26: warning: cast removes address space '__iomem' of expression ../drivers/mtd/nand/raw/hisi504_nand.c:367:26: warning: cast removes address space '__iomem' of expression ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: expected void * ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: expected void * ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: expected void * ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/meson_nand.c:542:23: warning: invalid assignment: |= ../drivers/mtd/nand/raw/meson_nand.c:542:23: left side has type restricted __le64 ../drivers/mtd/nand/raw/meson_nand.c:542:23: right side has type unsigned char ../drivers/mtd/nand/raw/meson_nand.c:543:23: warning: invalid assignment: |= ../drivers/mtd/nand/raw/meson_nand.c:543:23: left side has type restricted __le64 ../drivers/mtd/nand/raw/meson_nand.c:543:23: right side has type int ../drivers/mtd/nand/raw/meson_nand.c:555:32: warning: incorrect type in assignment (different base types) ../drivers/mtd/nand/raw/meson_nand.c:555:32: expected unsigned char [usertype] ../drivers/mtd/nand/raw/meson_nand.c:555:32: got restricted __le64 [usertype] ../drivers/mtd/nand/raw/meson_nand.c:556:38: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:570:21: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:571:53: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:572:37: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:577:21: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:578:53: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:579:37: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:823:23: warning: restricted __le64 degrades to integer ../drivers/gpu/drm/amd/amdgpu/amdgpu_device.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:414:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1873:9: error: incompatible types in conditional expression (different base types): ../drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1873:9: void ../drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1873:9: int ../drivers/mtd/nand/raw/brcmnand/brcmnand.c:1961:41: warning: dubious: x | !y ../drivers/iio/adc/ti-ads1298.c:426:13: warning: context imbalance in 'ads1298_rdata_unmark_busy' - wrong count at exit ../drivers/iio/adc/ti-ads1298.c:467:9: warning: context imbalance in 'ads1298_rdata_release_busy_or_restart' - wrong count at exit ../drivers/iio/adc/ti-ads1298.c:532:9: warning: context imbalance in 'ads1298_interrupt' - wrong count at exit ../sound/soc/codecs/tas2562.c:232:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2562.c:238:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2562.c:244:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2562.c:291:58: warning: incorrect type in argument 2 (different base types) ../sound/soc/codecs/tas2562.c:291:58: expected int bitwidth ../sound/soc/codecs/tas2562.c:291:58: got restricted snd_pcm_format_t ../sound/soc/codecs/tas2562.c:616:39: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2562.c:623:43: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2764.c:257:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2764.c:263:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2764.c:269:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2764.c:357:58: warning: incorrect type in argument 2 (different base types) ../sound/soc/codecs/tas2764.c:357:58: expected int bitwidth ../sound/soc/codecs/tas2764.c:357:58: got restricted snd_pcm_format_t ../sound/soc/codecs/tas2780.c:157:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2780.c:164:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2780.c:171:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2780.c:285:58: warning: incorrect type in argument 2 (different base types) ../sound/soc/codecs/tas2780.c:285:58: expected int bitwidth ../sound/soc/codecs/tas2780.c:285:58: got restricted snd_pcm_format_t ../sound/soc/codecs/tas2770.c:198:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2770.c:204:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2770.c:210:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2770.c:297:58: warning: incorrect type in argument 2 (different base types) ../sound/soc/codecs/tas2770.c:297:58: expected int bitwidth ../sound/soc/codecs/tas2770.c:297:58: got restricted snd_pcm_format_t ../sound/soc/codecs/wm0010.c:225:25: warning: cast to restricted __be32 ../sound/soc/codecs/wm0010.c:310:25: warning: cast to restricted __be32 ../sound/soc/codecs/wm0010.c:329:31: warning: cast to restricted __le64 ../sound/soc/codecs/wm0010.c:329:29: warning: incorrect type in assignment (different base types) ../sound/soc/codecs/wm0010.c:329:29: expected unsigned long long [usertype] ../sound/soc/codecs/wm0010.c:329:29: got restricted __be64 [usertype] ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../arch/x86/platform/uv/uv_irq.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/hyperv/hv_init.c:72:20: warning: cast removes address space '__iomem' of expression ../arch/x86/hyperv/hv_init.c:240:33: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/hyperv/hv_init.c:240:33: expected void volatile [noderef] __iomem *addr ../arch/x86/hyperv/hv_init.c:240:33: got void * ../arch/x86/hyperv/hv_init.c: note: in included file (through ../arch/x86/include/asm/cpuid.h, ../arch/x86/include/asm/processor.h, ../arch/x86/include/asm/timex.h, ../include/linux/timex.h, ../include/linux/time32.h, ...): ../arch/x86/include/asm/paravirt.h:224:9: warning: cast truncates bits from constant value (8000000000000000 becomes 0) ../arch/x86/platform/uv/uv_time.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/xen/enlighten.c:55:20: warning: symbol 'xen_have_vector_callback' was not declared. Should it be static? ../arch/x86/platform/efi/efi.c:904:23: warning: symbol 'efi_attr_fw_vendor' was not declared. Should it be static? ../arch/x86/platform/efi/efi.c:905:23: warning: symbol 'efi_attr_runtime' was not declared. Should it be static? ../arch/x86/platform/efi/efi.c:906:23: warning: symbol 'efi_attr_config_table' was not declared. Should it be static? ../arch/x86/platform/uv/bios_uv.c:175:12: warning: function 'uv_bios_get_master_nasid' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:182:12: warning: function 'uv_bios_get_heapsize' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:189:12: warning: function 'uv_bios_install_heap' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:196:12: warning: function 'uv_bios_obj_count' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:203:12: warning: function 'uv_bios_enum_objs' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:210:12: warning: function 'uv_bios_enum_ports' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:217:12: warning: function 'uv_bios_get_geoinfo' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:223:12: warning: function 'uv_bios_get_pci_topology' with external linkage has definition ../arch/x86/platform/uv/bios_uv.c:249:19: warning: incorrect type in assignment (different address spaces) ../arch/x86/platform/uv/bios_uv.c:249:19: expected struct uv_systab *[addressable] [assigned] [toplevel] uv_systab ../arch/x86/platform/uv/bios_uv.c:249:19: got void [noderef] __iomem * ../arch/x86/platform/uv/bios_uv.c:252:25: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/platform/uv/bios_uv.c:252:25: expected void volatile [noderef] __iomem *addr ../arch/x86/platform/uv/bios_uv.c:252:25: got struct uv_systab *[addressable] [assigned] [toplevel] uv_systab ../arch/x86/platform/uv/bios_uv.c:260:25: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/platform/uv/bios_uv.c:260:25: expected void volatile [noderef] __iomem *addr ../arch/x86/platform/uv/bios_uv.c:260:25: got struct uv_systab *[addressable] [assigned] [toplevel] uv_systab ../arch/x86/platform/uv/bios_uv.c:261:27: warning: incorrect type in assignment (different address spaces) ../arch/x86/platform/uv/bios_uv.c:261:27: expected struct uv_systab *[addressable] [assigned] [toplevel] uv_systab ../arch/x86/platform/uv/bios_uv.c:261:27: got void [noderef] __iomem * ../drivers/xen/manage.c: In function ‘shutdown_event’: ../drivers/xen/manage.c:354:60: warning: ‘%s’ directive output may be truncated writing up to 95 bytes into a region of size 12 [-Wformat-truncation=] 354 | snprintf(node, FEATURE_PATH_SIZE, "feature-%s", | ^~ In function ‘setup_shutdown_watcher’, inlined from ‘shutdown_event’ at ../drivers/xen/manage.c:371:2: ../drivers/xen/manage.c:354:17: note: ‘snprintf’ output between 9 and 104 bytes into a destination of size 20 354 | snprintf(node, FEATURE_PATH_SIZE, "feature-%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 355 | shutdown_handlers[idx].command); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../init/main.c:192:12: warning: symbol 'envp_init' was not declared. Should it be static? ../init/main.c:290:16: warning: cast to restricted __le32 ../init/main.c:291:16: warning: cast to restricted __le32 ../arch/x86/entry/common.c:211: warning: Function parameter or struct member 'regs' not described in 'do_int80_emulation' ../arch/x86/platform/uv/uv_nmi.c:318:27: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:318:27: expected void const volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:318:27: got int *addr ../arch/x86/platform/uv/uv_nmi.c:325:32: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:325:32: expected void volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:325:32: got int *addr ../arch/x86/platform/uv/uv_nmi.c:328:30: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:328:30: expected void volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:328:30: got int *addr ../arch/x86/platform/uv/uv_nmi.c:331:21: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/platform/uv/uv_nmi.c:331:21: expected void const volatile [noderef] __iomem *addr ../arch/x86/platform/uv/uv_nmi.c:331:21: got int *addr ../arch/x86/platform/uv/uv_nmi.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:625:41: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:625:41: expected void volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:625:41: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/platform/uv/uv_nmi.c:573:9: warning: context imbalance in 'uv_check_nmi' - different lock contexts for basic block ../arch/x86/include/asm/uv/uv_hub.h:625:41: warning: incorrect type in argument 2 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:625:41: expected void volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:625:41: got unsigned long * ../arch/x86/platform/uv/uv_nmi.c:591:17: warning: context imbalance in 'uv_handle_nmi' - unexpected unlock ../drivers/pwm/pwm-gpio.c:98:9: warning: context imbalance in 'pwm_gpio_timer' - wrong count at exit ../drivers/pwm/pwm-gpio.c:101:12: warning: context imbalance in 'pwm_gpio_apply' - different lock contexts for basic block ../drivers/pwm/pwm-gpio.c:166:9: warning: context imbalance in 'pwm_gpio_get_state' - wrong count at exit ../lib/vsprintf.c: In function ‘va_format’: ../lib/vsprintf.c:1704:9: warning: function ‘va_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1704 | buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va); | ^~~ ../drivers/acpi/osl.c:378:17: warning: cast removes address space '__iomem' of expression ../drivers/acpi/osl.c:1686:20: warning: incorrect type in assignment (different address spaces) ../drivers/acpi/osl.c:1686:20: expected void *rv ../drivers/acpi/osl.c:1686:20: got void [noderef] __iomem * ../drivers/acpi/osl.c:740:1: warning: context imbalance in 'acpi_os_read_memory' - wrong count at exit ../drivers/acpi/osl.c:773:1: warning: context imbalance in 'acpi_os_write_memory' - wrong count at exit ../arch/x86/kernel/setup.c:167:6: warning: symbol 'builtin_cmdline' was not declared. Should it be static? ../kernel/power/suspend_test.c:97:17: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:103:17: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:109:17: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:168:38: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:168:16: warning: incorrect type in assignment (different base types) ../kernel/power/suspend_test.c:168:16: expected int i ../kernel/power/suspend_test.c:168:16: got restricted suspend_state_t [usertype] ../kernel/power/suspend_test.c:192:43: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:192:56: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:193:53: warning: restricted suspend_state_t degrades to integer ../kernel/power/suspend_test.c:192:82: warning: restricted suspend_state_t degrades to integer ../drivers/video/fbdev/atmel_lcdfb.c:333:27: warning: incorrect type in assignment (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:333:27: expected char [noderef] __iomem *screen_base ../drivers/video/fbdev/atmel_lcdfb.c:333:27: got void * ../drivers/video/fbdev/atmel_lcdfb.c:341:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:341:9: expected void const * ../drivers/video/fbdev/atmel_lcdfb.c:341:9: got char [noderef] __iomem *screen_base ../drivers/video/fbdev/atmel_lcdfb.c:341:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:341:9: expected void const * ../drivers/video/fbdev/atmel_lcdfb.c:341:9: got char [noderef] __iomem *screen_base ../drivers/video/fbdev/atmel_lcdfb.c:341:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:341:9: expected void * ../drivers/video/fbdev/atmel_lcdfb.c:341:9: got char [noderef] __iomem *screen_base ../drivers/video/fbdev/atmel_lcdfb.c:312:59: warning: incorrect type in argument 3 (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:312:59: expected void *cpu_addr ../drivers/video/fbdev/atmel_lcdfb.c:312:59: got char [noderef] __iomem *screen_base ../drivers/video/fbdev/atmel_lcdfb.c:312:59: warning: incorrect type in argument 3 (different address spaces) ../drivers/video/fbdev/atmel_lcdfb.c:312:59: expected void *cpu_addr ../drivers/video/fbdev/atmel_lcdfb.c:312:59: got char [noderef] __iomem *screen_base ../drivers/gpio/gpiolib.c:353:5: warning: context imbalance in 'gpiod_get_direction' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:459:25: warning: context imbalance in 'gpio_name_to_desc' - wrong count at exit ../drivers/gpio/gpiolib.c:858:9: warning: context imbalance in 'gpiochip_setup_devs' - wrong count at exit ../drivers/gpio/gpiolib.c:1218:20: warning: context imbalance in 'gpio_device_find' - wrong count at exit ../drivers/gpio/gpiolib.c:2309:12: warning: context imbalance in 'gpiod_request_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:2410:9: warning: context imbalance in 'gpiod_free_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:2457:6: warning: context imbalance in 'gpiochip_dup_line_label' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:2561:5: warning: context imbalance in 'gpio_do_set_config' - wrong count at exit ../drivers/gpio/gpiolib.c:2702:5: warning: context imbalance in 'gpiod_direction_input_nonotify' - wrong count at exit ../drivers/gpio/gpiolib.c:2749:12: warning: context imbalance in 'gpiod_direction_output_raw_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:2919:5: warning: context imbalance in 'gpiod_enable_hw_timestamp_ns' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:2952:5: warning: context imbalance in 'gpiod_disable_hw_timestamp_ns' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:3108:12: warning: context imbalance in 'gpiod_get_raw_value_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:3153:22: warning: context imbalance in 'gpio_device_chip_cmp' - wrong count at exit ../drivers/gpio/gpiolib.c:3156:5: warning: context imbalance in 'gpiod_get_array_value_complex' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:3385:13: warning: context imbalance in 'gpio_set_open_drain_value_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:3412:13: warning: context imbalance in 'gpio_set_open_source_value_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:3434:13: warning: context imbalance in 'gpiod_set_raw_value_commit' - wrong count at exit ../drivers/gpio/gpiolib.c:3501:9: warning: context imbalance in 'gpiod_set_array_value_complex' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:3741:5: warning: context imbalance in 'gpiod_to_irq' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:4687:5: warning: context imbalance in 'gpiod_hog' - wrong count at exit ../drivers/gpio/gpiolib.c:4999:9: warning: context imbalance in 'gpiolib_dbg_show' - different lock contexts for basic block ../drivers/gpio/gpiolib.c:5026:13: warning: context imbalance in 'gpiolib_seq_start' - wrong count at exit ../drivers/gpio/gpiolib.c: note: in included file (through ../include/linux/notifier.h, ../arch/x86/include/asm/uprobes.h, ../include/linux/uprobes.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ...): ../include/linux/srcu.h:357:9: warning: context imbalance in 'gpiolib_seq_stop' - unexpected unlock ../drivers/gpio/gpiolib.c:5071:12: warning: context imbalance in 'gpiolib_seq_show' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:204:13: warning: context imbalance in 'linehandle_ioctl' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1457:13: warning: context imbalance in 'linereq_ioctl' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1488:17: warning: context imbalance in 'linereq_poll' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1508:16: warning: context imbalance in 'linereq_read' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1806:17: warning: context imbalance in 'lineevent_poll' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1841:16: warning: context imbalance in 'lineevent_read' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:1925:13: warning: context imbalance in 'lineevent_ioctl' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2238:13: warning: context imbalance in 'gpio_desc_to_lineinfo' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2459:13: warning: context imbalance in 'gpio_ioctl' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2602:17: warning: context imbalance in 'lineinfo_watch_poll' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2622:16: warning: context imbalance in 'lineinfo_watch_read' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2706:12: warning: context imbalance in 'gpio_chrdev_open' - wrong count at exit ../drivers/gpio/gpiolib-cdev.c:2803:5: warning: context imbalance in 'gpiolib_cdev_register' - different lock contexts for basic block ../drivers/gpio/gpiolib-sysfs.c:162:12: warning: context imbalance in 'gpio_sysfs_request_irq' - wrong count at exit ../drivers/gpio/gpiolib-sysfs.c:228:13: warning: context imbalance in 'gpio_sysfs_free_irq' - wrong count at exit ../drivers/gpio/gpiolib-sysfs.c:443:16: warning: context imbalance in 'export_store' - different lock contexts for basic block ../drivers/gpio/gpiolib-sysfs.c:567:5: warning: context imbalance in 'gpiod_export' - wrong count at exit ../drivers/gpio/gpiolib-sysfs.c:722:5: warning: context imbalance in 'gpiochip_sysfs_register' - wrong count at exit ../drivers/gpio/gpiolib-sysfs.c:765:6: warning: context imbalance in 'gpiochip_sysfs_unregister' - wrong count at exit ../drivers/tty/serial/serial_core.c:133:9: warning: context imbalance in 'uart_stop' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:173:9: warning: context imbalance in 'uart_start' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:273:17: warning: context imbalance in 'uart_alloc_xmit_buf' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:298:9: warning: context imbalance in 'uart_free_xmit_buf' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:604:9: warning: context imbalance in 'uart_put_char' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:637:9: warning: context imbalance in 'uart_write' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:650:9: warning: context imbalance in 'uart_write_room' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:663:9: warning: context imbalance in 'uart_chars_in_buffer' - different lock contexts for basic block ../drivers/tty/serial/serial_core.c:688:9: warning: context imbalance in 'uart_flush_buffer' - different lock contexts for basic block ../arch/x86/xen/mmu_pv.c:664:19: warning: context imbalance in 'xen_pte_lock' - wrong count at exit ../arch/x86/xen/mmu_pv.c:676:13: warning: context imbalance in 'xen_pte_unlock' - unexpected unlock ../drivers/gpio/gpiolib-swnode.c:141:28: warning: symbol 'swnode_gpio_undefined' was not declared. Should it be static? ../drivers/video/fbdev/hyperv_fb.c:1006:43: warning: incorrect type in assignment (different address spaces) ../drivers/video/fbdev/hyperv_fb.c:1006:43: expected char [noderef] __iomem *screen_base ../drivers/video/fbdev/hyperv_fb.c:1006:43: got unsigned char *mmio_vp ../drivers/video/fbdev/hyperv_fb.c:1046:25: warning: cast removes address space '__iomem' of expression ../drivers/video/fbdev/hyperv_fb.c:1050:27: warning: incorrect type in assignment (different address spaces) ../drivers/video/fbdev/hyperv_fb.c:1050:27: expected char [noderef] __iomem *screen_base ../drivers/video/fbdev/hyperv_fb.c:1050:27: got unsigned char *dio_vp ../drivers/regulator/core.c: note: in included file: ../drivers/regulator/internal.h:54:42: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:1896:56: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:1898:56: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:452:17: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:452:25: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:466:47: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:3785:65: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:4262:47: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:4439:65: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:6254:54: warning: restricted suspend_state_t degrades to integer ../drivers/regulator/core.c:6255:54: warning: restricted suspend_state_t degrades to integer ../drivers/misc/keba/cp500.c:962:34: warning: Using plain integer as NULL pointer ../sound/soc/generic/simple-card-utils.c:27:33: warning: incorrect type in initializer (different base types) ../sound/soc/generic/simple-card-utils.c:27:33: expected unsigned int [usertype] val ../sound/soc/generic/simple-card-utils.c:27:33: got restricted snd_pcm_format_t [usertype] ../sound/soc/generic/simple-card-utils.c:28:33: warning: incorrect type in initializer (different base types) ../sound/soc/generic/simple-card-utils.c:28:33: expected unsigned int [usertype] val ../sound/soc/generic/simple-card-utils.c:28:33: got restricted snd_pcm_format_t [usertype] ../sound/soc/generic/simple-card-utils.c:29:33: warning: incorrect type in initializer (different base types) ../sound/soc/generic/simple-card-utils.c:29:33: expected unsigned int [usertype] val ../sound/soc/generic/simple-card-utils.c:29:33: got restricted snd_pcm_format_t [usertype] ../sound/soc/generic/simple-card-utils.c:30:33: warning: incorrect type in initializer (different base types) ../sound/soc/generic/simple-card-utils.c:30:33: expected unsigned int [usertype] val ../sound/soc/generic/simple-card-utils.c:30:33: got restricted snd_pcm_format_t [usertype] ../sound/soc/generic/simple-card-utils.c:31:33: warning: incorrect type in initializer (different base types) ../sound/soc/generic/simple-card-utils.c:31:33: expected unsigned int [usertype] val ../sound/soc/generic/simple-card-utils.c:31:33: got restricted snd_pcm_format_t [usertype] ../kernel/time/alarmtimer.c:532:13: warning: context imbalance in 'alarm_handle_timer' - wrong count at exit ../drivers/xen/privcmd.c:572:35: warning: cast removes address space '__user' of expression ../drivers/xen/privcmd.c:572:32: warning: incorrect type in assignment (different address spaces) ../drivers/xen/privcmd.c:572:32: expected unsigned long [noderef] [usertype] __user *[addressable] [assigned] user_gfn ../drivers/xen/privcmd.c:572:32: got unsigned long [usertype] * ../drivers/xen/privcmd.c:700:17: warning: incorrect type in assignment (different address spaces) ../drivers/xen/privcmd.c:700:17: expected void *[usertype] h ../drivers/xen/privcmd.c:700:17: got void [noderef] __user *uptr ../lib/test_printf.c:741:49: warning: cast from restricted gfp_t ../lib/test_printf.c:745:58: warning: cast from restricted gfp_t ../drivers/gpu/drm/i2c/tda998x_drv.c:1716:50: warning: incorrect type in argument 1 (different base types) ../drivers/gpu/drm/i2c/tda998x_drv.c:1716:50: expected restricted __be32 const [usertype] *p ../drivers/gpu/drm/i2c/tda998x_drv.c:1716:50: got unsigned int const [usertype] * ../drivers/gpu/drm/i2c/tda998x_drv.c:1717:52: warning: incorrect type in argument 1 (different base types) ../drivers/gpu/drm/i2c/tda998x_drv.c:1717:52: expected restricted __be32 const [usertype] *p ../drivers/gpu/drm/i2c/tda998x_drv.c:1717:52: got unsigned int const [usertype] * ../arch/x86/kernel/acpi/boot.c:114:30: warning: incorrect type in return expression (different address spaces) ../arch/x86/kernel/acpi/boot.c:114:30: expected void [noderef] __iomem * ../arch/x86/kernel/acpi/boot.c:114:30: got void * ../arch/x86/kernel/acpi/boot.c:122:24: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/kernel/acpi/boot.c:122:24: expected void *addr ../arch/x86/kernel/acpi/boot.c:122:24: got void [noderef] __iomem *map ../drivers/usb/host/ohci-at91.c:471:39: warning: invalid assignment: &= ../drivers/usb/host/ohci-at91.c:471:39: left side has type unsigned int ../drivers/usb/host/ohci-at91.c:471:39: right side has type restricted __le32 ../drivers/usb/host/ohci-at91.c:474:39: warning: invalid assignment: |= ../drivers/usb/host/ohci-at91.c:474:39: left side has type unsigned int ../drivers/usb/host/ohci-at91.c:474:39: right side has type restricted __le32 ../drivers/usb/host/ohci-at91.c:477:39: warning: invalid assignment: |= ../drivers/usb/host/ohci-at91.c:477:39: left side has type unsigned int ../drivers/usb/host/ohci-at91.c:477:39: right side has type restricted __le32 ../drivers/input/keyboard/applespi.c:730:9: warning: context imbalance in 'applespi_msg_complete' - wrong count at exit ../drivers/input/keyboard/applespi.c:893:9: warning: context imbalance in 'applespi_init' - wrong count at exit ../drivers/input/keyboard/applespi.c:896:12: warning: context imbalance in 'applespi_set_capsl_led' - wrong count at exit ../drivers/input/keyboard/applespi.c:926:9: warning: context imbalance in 'applespi_set_bl_level' - wrong count at exit ../drivers/input/keyboard/applespi.c:1400:13: warning: context imbalance in 'applespi_got_data' - different lock contexts for basic block ../drivers/input/keyboard/applespi.c:1569:9: warning: context imbalance in 'applespi_notify' - wrong count at exit ../drivers/input/keyboard/applespi.c:1799:9: warning: context imbalance in 'applespi_drain_writes' - wrong count at exit ../drivers/input/keyboard/applespi.c:1810:9: warning: context imbalance in 'applespi_drain_reads' - wrong count at exit ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'boost_ctrl' not described in 'lm3692x_led' ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'brightness_ctrl' not described in 'lm3692x_led' ../drivers/leds/leds-lm3692x.c:120: warning: Function parameter or struct member 'enabled' not described in 'lm3692x_led' ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3177:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3177 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3177:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3177 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3178 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/input/keyboard/gpio_keys.c:491:9: warning: context imbalance in 'gpio_keys_irq_isr' - wrong count at exit ../drivers/spi/spi-altera-dfl.c:52:30: warning: incorrect type in initializer (different address spaces) ../drivers/spi/spi-altera-dfl.c:52:30: expected void [noderef] __iomem *base ../drivers/spi/spi-altera-dfl.c:52:30: got void *context ../drivers/spi/spi-altera-dfl.c:78:30: warning: incorrect type in initializer (different address spaces) ../drivers/spi/spi-altera-dfl.c:78:30: expected void [noderef] __iomem *base ../drivers/spi/spi-altera-dfl.c:78:30: got void *context ../drivers/spi/spi-altera-dfl.c:153:22: warning: incorrect type in argument 3 (different address spaces) ../drivers/spi/spi-altera-dfl.c:153:22: expected void *bus_context ../drivers/spi/spi-altera-dfl.c:153:22: got void [noderef] __iomem *[assigned] base ../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:3473:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3478:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3483:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3483:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3508:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3512:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3512:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3512:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3522:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3526:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3526:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3526:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3536:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3536:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3542:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3543:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3550:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3551:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3554:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3590:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3590:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3644:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3644:25: warning: cast from restricted __be32 ../drivers/misc/sgi-xp/xp_main.c:69:25: warning: symbol 'xpc_registrations' was not declared. Should it be static? ../drivers/misc/sgi-gru/grufile.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../drivers/scsi/isci/remote_node_context.c:135:42: warning: restricted __le64 degrades to integer ../drivers/scsi/isci/remote_node_context.c:136:42: warning: restricted __le64 degrades to integer ../drivers/input/keyboard/matrix_keypad.c:186:9: warning: context imbalance in 'matrix_keypad_interrupt' - wrong count at exit ../arch/x86/kernel/apic/apic.c:2143: warning: Function parameter or struct member 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' ../arch/x86/kernel/apic/apic.c:2143: warning: expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead ../drivers/spi/spi-armada-3700.c:499:65: warning: incorrect type in argument 3 (different base types) ../drivers/spi/spi-armada-3700.c:499:65: expected unsigned int [usertype] data ../drivers/spi/spi-armada-3700.c:499:65: got restricted __le32 [usertype] ../drivers/spi/spi-armada-3700.c:521:31: warning: cast to restricted __le32 ../drivers/usb/misc/usb3503.c:231:44: warning: cast to restricted __be32 ../arch/x86/kernel/apic/io_apic.c:298:35: warning: context imbalance in 'ioapic_read_entry' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:316:13: warning: context imbalance in 'ioapic_write_entry' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:327:13: warning: context imbalance in 'ioapic_mask_entry' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:402:13: warning: context imbalance in 'mask_ioapic_irq' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:415:13: warning: context imbalance in 'unmask_ioapic_irq' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:464:9: warning: context imbalance in 'eoi_ioapic_pin' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:468:13: warning: context imbalance in 'clear_IO_APIC_pin' - different lock contexts for basic block ../arch/x86/kernel/apic/io_apic.c:1574:9: warning: context imbalance in 'startup_ioapic_irq' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:1581:13: warning: context imbalance in 'io_apic_level_ack_pending' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:1808:9: warning: context imbalance in 'ioapic_set_affinity' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:1825:12: warning: context imbalance in 'ioapic_irq_get_chip_state' - different lock contexts for basic block ../arch/x86/kernel/apic/io_apic.c:2305:9: warning: context imbalance in 'resume_ioapic_id' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:2335:12: warning: context imbalance in 'io_apic_get_redir_entries' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:2475:12: warning: context imbalance in 'io_apic_get_version' - wrong count at exit ../arch/x86/kernel/apic/io_apic.c:2926:5: warning: context imbalance in 'mp_irqdomain_activate' - wrong count at exit ../drivers/misc/sgi-xp/xpc_channel.c:781:31: warning: context imbalance in 'xpc_disconnect_channel' - unexpected unlock ../drivers/misc/sgi-xp/xpc_uv.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../drivers/misc/sgi-xp/xpc_uv.c:681:47: warning: context imbalance in 'xpc_send_activate_IRQ_ch_uv' - unexpected unlock ../arch/x86/kernel/apic/x2apic_uv_x.c:79:13: warning: incorrect type in assignment (different address spaces) ../arch/x86/kernel/apic/x2apic_uv_x.c:79:13: expected unsigned long *mmr ../arch/x86/kernel/apic/x2apic_uv_x.c:79:13: got void [noderef] __iomem * ../arch/x86/kernel/apic/x2apic_uv_x.c:81:23: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/kernel/apic/x2apic_uv_x.c:81:23: expected void [noderef] __iomem *addr ../arch/x86/kernel/apic/x2apic_uv_x.c:81:23: got unsigned long *mmr ../arch/x86/kernel/apic/x2apic_uv_x.c: note: in included file: ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:585:16: warning: incorrect type in return expression (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:585:16: expected void volatile [noderef] __iomem * ../arch/x86/include/asm/uv/uv_hub.h:585:16: got void * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../arch/x86/include/asm/uv/uv_hub.h:620:42: warning: incorrect type in argument 1 (different address spaces) ../arch/x86/include/asm/uv/uv_hub.h:620:42: expected void const volatile [noderef] __iomem *addr ../arch/x86/include/asm/uv/uv_hub.h:620:42: got unsigned long * ../drivers/spi/atmel-quadspi.c:244: warning: Function parameter or struct member 'pclk_div' not described in 'atmel_qspi_pcal' ../drivers/spi/atmel-quadspi.c:244: warning: Excess struct member 'pclkdiv' description in 'atmel_qspi_pcal' ../drivers/pci/controller/dwc/pci-dra7xx.c: In function ‘dra7xx_pcie_probe’: ../drivers/pci/controller/dwc/pci-dra7xx.c:748:55: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:46: note: directive argument in the range [0, 2147483646] 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~ ../drivers/pci/controller/dwc/pci-dra7xx.c:748:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 10 748 | snprintf(name, sizeof(name), "pcie-phy%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/misc/sgi-gru/grukdump.c:60:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:60:17: expected void const * ../drivers/misc/sgi-gru/grukdump.c:60:17: got void [noderef] __user *[addressable] ubuf ../drivers/misc/sgi-gru/grukdump.c:60:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:60:17: expected void const * ../drivers/misc/sgi-gru/grukdump.c:60:17: got void [noderef] __user *[addressable] ubuf ../drivers/misc/sgi-gru/grukdump.c:60:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:60:17: expected void * ../drivers/misc/sgi-gru/grukdump.c:60:17: got void [noderef] __user *[addressable] ubuf ../drivers/misc/sgi-gru/grukdump.c:129:17: warning: incorrect type in assignment (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:129:17: expected struct gru_context_configuration_handle *ubufcch ../drivers/misc/sgi-gru/grukdump.c:129:17: got void [noderef] __user *[assigned] ubuf ../drivers/misc/sgi-gru/grukdump.c:192:14: warning: incorrect type in assignment (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:192:14: expected void [noderef] __user *ubuf ../drivers/misc/sgi-gru/grukdump.c:192:14: got void *[addressable] [assigned] buf ../drivers/misc/sgi-gru/grukdump.c:193:17: warning: incorrect type in assignment (different address spaces) ../drivers/misc/sgi-gru/grukdump.c:193:17: expected void [noderef] __user *ubufend ../drivers/misc/sgi-gru/grukdump.c:193:17: got void * ../drivers/mfd/sm501.c:1148:29: warning: cast to non-scalar ../drivers/mfd/sm501.c:1148:29: warning: cast from non-scalar ../drivers/mfd/sm501.c:1152:29: warning: cast to non-scalar ../drivers/mfd/sm501.c:1152:29: warning: cast from non-scalar ../drivers/power/supply/sbs-battery.c: In function ‘sbs_get_property’: ../drivers/power/supply/sbs-battery.c:834:30: warning: ‘%04x’ directive writing between 4 and 8 bytes into a region of size 5 [-Wformat-overflow=] 834 | sprintf(sbs_serial, "%04x", ret); | ^~~~ In function ‘sbs_get_battery_serial_number’, inlined from ‘sbs_get_property’ at ../drivers/power/supply/sbs-battery.c:965:9: ../drivers/power/supply/sbs-battery.c:834:29: note: directive argument in the range [0, 2147483647] 834 | sprintf(sbs_serial, "%04x", ret); | ^~~~~~ ../drivers/power/supply/sbs-battery.c:834:9: note: ‘sprintf’ output between 5 and 9 bytes into a destination of size 5 834 | sprintf(sbs_serial, "%04x", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/jffs2/background.c: note: in included file (through ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/compat.h, ../arch/x86/include/asm/ia32.h, ../arch/x86/include/asm/elf.h, ...): ../include/linux/sched/signal.h:289:28: warning: incorrect type in argument 1 (different address spaces) ../include/linux/sched/signal.h:289:28: expected struct spinlock [usertype] *lock ../include/linux/sched/signal.h:289:28: got struct spinlock [noderef] __rcu * ../include/linux/sched/signal.h:291:30: warning: incorrect type in argument 1 (different address spaces) ../include/linux/sched/signal.h:291:30: expected struct spinlock [usertype] *lock ../include/linux/sched/signal.h:291:30: got struct spinlock [noderef] __rcu * ../include/linux/sched/signal.h:298:31: warning: incorrect type in argument 1 (different address spaces) ../include/linux/sched/signal.h:298:31: expected struct spinlock [usertype] *lock ../include/linux/sched/signal.h:298:31: got struct spinlock [noderef] __rcu * ../include/linux/sched/signal.h:303:33: warning: incorrect type in argument 1 (different address spaces) ../include/linux/sched/signal.h:303:33: expected struct spinlock [usertype] *lock ../include/linux/sched/signal.h:303:33: got struct spinlock [noderef] __rcu * ../drivers/tty/serial/imx.c:2088:13: warning: context imbalance in 'imx_uart_console_device_lock' - wrong count at exit ../drivers/tty/serial/imx.c:2095:13: warning: context imbalance in 'imx_uart_console_device_unlock' - unexpected unlock ../drivers/usb/gadget/udc/pxa27x_udc.c:2090:20: warning: incorrect type in assignment (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2090:20: expected restricted __le16 [assigned] [usertype] wValue ../drivers/usb/gadget/udc/pxa27x_udc.c:2090:20: got int config ../drivers/usb/gadget/udc/pxa27x_udc.c:2119:20: warning: incorrect type in assignment (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2119:20: expected restricted __le16 [assigned] [usertype] wValue ../drivers/usb/gadget/udc/pxa27x_udc.c:2119:20: got int alt ../drivers/usb/gadget/udc/pxa27x_udc.c:2120:20: warning: incorrect type in assignment (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2120:20: expected restricted __le16 [assigned] [usertype] wIndex ../drivers/usb/gadget/udc/pxa27x_udc.c:2120:20: got int iface ../drivers/usb/gadget/udc/pxa27x_udc.c:2303:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2303:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2303:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:2304:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2304:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2304:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:2305:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2305:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2305:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:2306:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2306:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2306:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:2307:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2307:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2307:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:2308:17: warning: incorrect type in initializer (different base types) ../drivers/usb/gadget/udc/pxa27x_udc.c:2308:17: expected restricted __le16 [usertype] wMaxPacketSize ../drivers/usb/gadget/udc/pxa27x_udc.c:2308:17: got unsigned int ../drivers/usb/gadget/udc/pxa27x_udc.c:677:39: warning: context imbalance in 'req_done' - unexpected unlock ../arch/x86/kernel/kvm.c:71:1: warning: symbol '__pcpu_scope_steal_time' was not declared. Should it be static? ../drivers/firmware/dmi_scan.c:693:27: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/dmi_scan.c:693:27: expected char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:693:27: got void * ../drivers/firmware/dmi_scan.c:697:41: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/dmi_scan.c:697:41: expected void *addr ../drivers/firmware/dmi_scan.c:697:41: got char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:711:19: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/dmi_scan.c:711:19: expected char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:711:19: got void * ../drivers/firmware/dmi_scan.c:715:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/dmi_scan.c:715:33: expected void *addr ../drivers/firmware/dmi_scan.c:715:33: got char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:722:19: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/dmi_scan.c:722:19: expected char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:722:19: got void * ../drivers/firmware/dmi_scan.c:735:49: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/dmi_scan.c:735:49: expected void *addr ../drivers/firmware/dmi_scan.c:735:49: got char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:753:49: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/dmi_scan.c:753:49: expected void *addr ../drivers/firmware/dmi_scan.c:753:49: got char [noderef] __iomem *p ../drivers/firmware/dmi_scan.c:758:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/dmi_scan.c:758:33: expected void *addr ../drivers/firmware/dmi_scan.c:758:33: got char [noderef] __iomem *p ../drivers/spi/spi-bcm63xx.c:571:22: warning: cast removes address space '__iomem' of expression ../drivers/spi/spi-bcm63xx.c:571:19: warning: incorrect type in assignment (different address spaces) ../drivers/spi/spi-bcm63xx.c:571:19: expected unsigned char [noderef] [usertype] __iomem *tx_io ../drivers/spi/spi-bcm63xx.c:571:19: got unsigned char [usertype] * ../drivers/spi/spi-bcm63xx.c:572:22: warning: cast removes address space '__iomem' of expression ../drivers/spi/spi-bcm63xx.c:572:19: warning: incorrect type in assignment (different address spaces) ../drivers/spi/spi-bcm63xx.c:572:19: expected unsigned char const [noderef] [usertype] __iomem *rx_io ../drivers/spi/spi-bcm63xx.c:572:19: got unsigned char const [usertype] * ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'stall' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'prot_stall' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'registered' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'suspended' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'connected' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'vbus_session' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'set_cfg_not_acked' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/pch_udc.c:360: warning: Excess struct member 'waiting_zlp_ack' description in 'pch_udc_dev' ../drivers/usb/gadget/udc/max3420_udc.c:551:41: warning: restricted __le16 degrades to integer ../drivers/usb/gadget/udc/max3420_udc.c:552:31: warning: restricted __le16 degrades to integer ../drivers/usb/gadget/udc/max3420_udc.c:566:16: warning: incorrect type in assignment (different base types) ../drivers/usb/gadget/udc/max3420_udc.c:566:16: expected unsigned short [assigned] [usertype] status ../drivers/usb/gadget/udc/max3420_udc.c:566:16: got restricted __le16 [usertype] ../drivers/usb/gadget/udc/max3420_udc.c:584:31: warning: restricted __le16 degrades to integer ../drivers/usb/gadget/udc/max3420_udc.c:598:32: warning: restricted __le16 degrades to integer ../drivers/usb/gadget/udc/max3420_udc.c:626:29: warning: cast from restricted __le16 ../drivers/usb/gadget/udc/max3420_udc.c:627:29: warning: cast from restricted __le16 ../drivers/usb/gadget/udc/max3420_udc.c:628:30: warning: cast from restricted __le16 ../drivers/usb/typec/ucsi/ucsi_glink.c:86:23: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:86:23: expected restricted __le32 [usertype] owner ../drivers/usb/typec/ucsi/ucsi_glink.c:86:23: got int ../drivers/usb/typec/ucsi/ucsi_glink.c:87:22: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:87:22: expected restricted __le32 [usertype] type ../drivers/usb/typec/ucsi/ucsi_glink.c:87:22: got int ../drivers/usb/typec/ucsi/ucsi_glink.c:88:24: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:88:24: expected restricted __le32 [usertype] opcode ../drivers/usb/typec/ucsi/ucsi_glink.c:88:24: got int ../drivers/usb/typec/ucsi/ucsi_glink.c:138:23: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:138:23: expected restricted __le32 [usertype] owner ../drivers/usb/typec/ucsi/ucsi_glink.c:138:23: got int ../drivers/usb/typec/ucsi/ucsi_glink.c:139:22: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:139:22: expected restricted __le32 [usertype] type ../drivers/usb/typec/ucsi/ucsi_glink.c:139:22: got int ../drivers/usb/typec/ucsi/ucsi_glink.c:140:24: warning: incorrect type in assignment (different base types) ../drivers/usb/typec/ucsi/ucsi_glink.c:140:24: expected restricted __le32 [usertype] opcode ../drivers/usb/typec/ucsi/ucsi_glink.c:140:24: got int ../drivers/firmware/broadcom/bcm47xx_nvram.c:42:18: warning: cast removes address space '__iomem' of expression ../drivers/firmware/broadcom/bcm47xx_nvram.c:53:21: warning: dereference of noderef expression ../drivers/mmc/host/mmc_spi.c:748:17: warning: incorrect type in argument 1 (different base types) ../drivers/mmc/host/mmc_spi.c:748:17: expected unsigned short [usertype] *p ../drivers/mmc/host/mmc_spi.c:748:17: got restricted __be16 * ../drivers/mmc/host/mmc_spi.c:749:28: warning: restricted __be16 degrades to integer ../drivers/firmware/broadcom/bcm47xx_nvram.c:41: warning: Function parameter or struct member 'nvram' not described in 'bcm47xx_nvram_is_valid' ../drivers/firmware/broadcom/bcm47xx_nvram.c:49: warning: Function parameter or struct member 'nvram_start' not described in 'bcm47xx_nvram_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:49: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:73: warning: Function parameter or struct member 'flash_start' not described in 'bcm47xx_nvram_find_and_copy' ../drivers/firmware/broadcom/bcm47xx_nvram.c:73: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_find_and_copy' ../drivers/platform/x86/dell/dcdbas.c:104: warning: Function parameter or struct member 'size' not described in 'smi_data_buf_realloc' ../drivers/platform/x86/dell/dcdbas.c:285: warning: Function parameter or struct member 'smi_cmd' not described in 'dcdbas_smi_request' ../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'dev' not described in 'smi_request_store' ../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'attr' not described in 'smi_request_store' ../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'buf' not described in 'smi_request_store' ../drivers/platform/x86/dell/dcdbas.c:317: warning: Function parameter or struct member 'count' not described in 'smi_request_store' ../drivers/platform/x86/dell/dcdbas.c:616: warning: Function parameter or struct member 'nb' not described in 'dcdbas_reboot_notify' ../drivers/platform/x86/dell/dcdbas.c:616: warning: Function parameter or struct member 'code' not described in 'dcdbas_reboot_notify' ../drivers/platform/x86/dell/dcdbas.c:616: warning: Function parameter or struct member 'unused' not described in 'dcdbas_reboot_notify' ../drivers/spi/spi-bcm-qspi.c:396:30: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-bcm-qspi.c:396:30: expected unsigned int [assigned] [usertype] data ../drivers/spi/spi-bcm-qspi.c:396:30: got restricted __le32 [usertype] ../drivers/spi/spi-bcm-qspi.c:360:24: warning: cast to restricted __le32 ../drivers/leds/leds-dac124s085.c:42:14: warning: incorrect type in assignment (different base types) ../drivers/leds/leds-dac124s085.c:42:14: expected unsigned short [usertype] word ../drivers/leds/leds-dac124s085.c:42:14: got restricted __le16 [usertype] ../drivers/tty/serial/sh-sci.c: note: in included file (through ../include/linux/serial_sci.h): ../include/linux/serial_core.h:785:34: warning: context imbalance in 'sci_dma_rx_submit' - unexpected unlock ../drivers/rtc/rtc-cmos.c:648:9: warning: context imbalance in 'cmos_nvram_read' - different lock contexts for basic block ../drivers/rtc/rtc-cmos.c:673:37: warning: context imbalance in 'cmos_nvram_write' - different lock contexts for basic block ../drivers/gpu/drm/bridge/tc358767.c:1722:24: warning: Using plain integer as NULL pointer ../drivers/memory/omap-gpmc.c:975:5: warning: context imbalance in 'gpmc_cs_request' - different lock contexts for basic block ../drivers/memory/omap-gpmc.c:1020:6: warning: context imbalance in 'gpmc_cs_free' - wrong count at exit ../drivers/firmware/efi/esrt.c:126:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:127:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:128:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:129:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:130:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:131:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:199:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:200:1: warning: cast to restricted __le32 ../drivers/firmware/efi/esrt.c:201:1: warning: cast to restricted __le64 ../drivers/firmware/efi/esrt.c:339:25: warning: cast to restricted __le32 ../drivers/leds/flash/leds-ktd2692.c:62:33: warning: symbol 'ktd2692_timing' was not declared. Should it be static? ../drivers/firmware/efi/apple-properties.c:46:37: warning: array of flexible structures ../drivers/platform/x86/lenovo-yoga-tab2-pro-1380-fastcharger.c:222:29: warning: symbol 'yt2_1380_fc_serdev_driver' was not declared. Should it be static? ../drivers/power/supply/ucs1002_power.c:191:29: warning: cast to restricted __be32 ../drivers/firmware/efi/embedded-firmware.c:18:1: warning: symbol 'efi_embedded_fw_list' was not declared. Should it be static? ../drivers/firmware/efi/embedded-firmware.c:20:6: warning: symbol 'efi_embedded_fw_checked' was not declared. Should it be static? ../drivers/platform/x86/samsung-laptop.c:1272:43: warning: incorrect type in assignment (different address spaces) ../drivers/platform/x86/samsung-laptop.c:1272:43: expected void *data ../drivers/platform/x86/samsung-laptop.c:1272:43: got void [noderef] __iomem *f0000_segment ../drivers/spi/spi-fsl-qspi.c:636:25: warning: cast from restricted __be32 ../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/firmware/efi/test/efi_test.c:157:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:157:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:157:13: got unsigned long *[addressable] data_size ../drivers/firmware/efi/test/efi_test.c:160:61: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:160:61: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:160:61: got struct guid_t [usertype] *[addressable] vendor_guid ../drivers/firmware/efi/test/efi_test.c:167:60: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:167:60: expected unsigned short [noderef] [usertype] __user *src ../drivers/firmware/efi/test/efi_test.c:167:60: got unsigned short [usertype] *[addressable] variable_name ../drivers/firmware/efi/test/efi_test.c:187:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:187:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:187:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:187:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:187:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:187:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:187:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:187:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:187:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:194:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:194:35: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:194:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:194:35: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:194:35: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:194:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:194:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:194:35: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:194:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:209:45: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:209:45: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:209:45: got void *[addressable] data ../drivers/firmware/efi/test/efi_test.c:215:19: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:215:19: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:215:19: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:215:19: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:215:19: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:215:19: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:215:19: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:215:19: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:215:19: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:220:19: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:220:19: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:220:19: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:220:19: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:220:19: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:220:19: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:220:19: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:220:19: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:220:19: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:243:53: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:243:53: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:243:53: got struct guid_t [usertype] *[addressable] vendor_guid ../drivers/firmware/efi/test/efi_test.c:248:60: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:248:60: expected unsigned short [noderef] [usertype] __user *src ../drivers/firmware/efi/test/efi_test.c:248:60: got unsigned short [usertype] *[addressable] variable_name ../drivers/firmware/efi/test/efi_test.c:253:39: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:253:39: expected void const [noderef] __user * ../drivers/firmware/efi/test/efi_test.c:253:39: got void *[addressable] data ../drivers/firmware/efi/test/efi_test.c:263:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:263:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:263:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:263:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:263:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:263:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:263:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:263:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:263:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:292:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:292:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:292:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:292:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:292:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:292:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:292:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:292:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:292:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:301:27: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:301:27: expected struct efi_time_cap_t [noderef] [usertype] __user *cap_local ../drivers/firmware/efi/test/efi_test.c:301:27: got struct efi_time_cap_t [usertype] * ../drivers/firmware/efi/test/efi_test.c:308:41: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:308:41: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:308:41: got struct efi_time_t [usertype] *[addressable] time ../drivers/firmware/efi/test/efi_test.c:325:46: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:325:46: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:325:46: got struct efi_time_t [usertype] *[addressable] time ../drivers/firmware/efi/test/efi_test.c:330:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:330:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:330:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:330:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:330:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:330:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:330:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:330:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:330:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:354:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:354:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:354:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:354:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:354:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:354:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:354:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:354:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:354:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:360:38: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:360:38: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:360:38: got unsigned char [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:360:38: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:360:38: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:360:38: got unsigned char [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:360:38: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:360:38: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:360:38: got unsigned char [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:365:47: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:365:47: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:365:47: got struct efi_time_t [usertype] *[addressable] time ../drivers/firmware/efi/test/efi_test.c:389:60: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:389:60: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:389:60: got struct efi_time_t [usertype] *[addressable] time ../drivers/firmware/efi/test/efi_test.c:397:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:397:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:397:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:397:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:397:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:397:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:397:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:397:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:397:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:421:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:421:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:421:21: got unsigned long *[addressable] variable_name_size ../drivers/firmware/efi/test/efi_test.c:429:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:429:52: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:429:52: got struct guid_t [usertype] *[addressable] vendor_guid ../drivers/firmware/efi/test/efi_test.c:439:52: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:439:52: expected unsigned short [noderef] [usertype] __user *src ../drivers/firmware/efi/test/efi_test.c:439:52: got unsigned short [usertype] *[addressable] variable_name ../drivers/firmware/efi/test/efi_test.c:452:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:452:52: expected unsigned short [noderef] [usertype] __user *src ../drivers/firmware/efi/test/efi_test.c:452:52: got unsigned short [usertype] *[addressable] variable_name ../drivers/firmware/efi/test/efi_test.c:461:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:461:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:461:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:461:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:461:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:461:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:461:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:461:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:461:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:468:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:468:35: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:468:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:468:35: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:468:35: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:468:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:468:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:468:35: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:468:35: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:479:62: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:479:62: expected unsigned short [noderef] [usertype] __user *dst ../drivers/firmware/efi/test/efi_test.c:479:62: got unsigned short [usertype] *[addressable] variable_name ../drivers/firmware/efi/test/efi_test.c:487:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:487:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:487:21: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:487:21: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:487:21: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:487:21: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:487:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:487:21: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:487:21: got unsigned long *__ptr ../drivers/firmware/efi/test/efi_test.c:494:53: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:494:53: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:494:53: got struct guid_t [usertype] *[addressable] vendor_guid ../drivers/firmware/efi/test/efi_test.c:522:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:522:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:522:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:522:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:522:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:522:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:522:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:522:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:522:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:529:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:529:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:529:13: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:529:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:529:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:529:13: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:529:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:529:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:529:13: got unsigned int [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:546:37: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:546:37: expected void const [noderef] __user * ../drivers/firmware/efi/test/efi_test.c:546:37: got void * ../drivers/firmware/efi/test/efi_test.c:575:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:575:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:575:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:575:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:575:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:575:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:575:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:575:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:575:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:581:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:581:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:581:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:581:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:581:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:581:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:581:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:581:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:581:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:585:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:585:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:585:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:585:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:585:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:585:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:585:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:585:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:585:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:589:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:589:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:589:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:589:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:589:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:589:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:589:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:589:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:589:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:625:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:625:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:625:21: got struct efi_capsule_header_t [usertype] ** ../drivers/firmware/efi/test/efi_test.c:629:50: warning: incorrect type in argument 2 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:629:50: expected void const [noderef] __user *from ../drivers/firmware/efi/test/efi_test.c:629:50: got struct efi_capsule_header_t [usertype] *[assigned] c ../drivers/firmware/efi/test/efi_test.c:643:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:643:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:643:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:643:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:643:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:643:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:643:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:643:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:643:13: got unsigned long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:653:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:653:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:653:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:653:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:653:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:653:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:653:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:653:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:653:13: got unsigned long long [usertype] *__ptr ../drivers/firmware/efi/test/efi_test.c:658:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:658:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:658:13: got int *__ptr ../drivers/firmware/efi/test/efi_test.c:658:13: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:658:13: expected void [noderef] __user *__ptr_pu ../drivers/firmware/efi/test/efi_test.c:658:13: got int *__ptr ../drivers/firmware/efi/test/efi_test.c:658:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:658:13: expected void [noderef] __user *to ../drivers/firmware/efi/test/efi_test.c:658:13: got int *__ptr ../drivers/firmware/efi/test/efi_test.c:671:24: warning: incorrect type in assignment (different address spaces) ../drivers/firmware/efi/test/efi_test.c:671:24: expected unsigned int [noderef] __user *supported_mask ../drivers/firmware/efi/test/efi_test.c:671:24: got unsigned int * ../drivers/firmware/efi/test/efi_test.c:35:27: warning: incorrect type in initializer (different address spaces) ../drivers/firmware/efi/test/efi_test.c:35:27: expected unsigned short [usertype] *s ../drivers/firmware/efi/test/efi_test.c:35:27: got unsigned short [noderef] [usertype] __user *str ../drivers/firmware/efi/test/efi_test.c:44:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:44:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:44:13: got unsigned short [usertype] * ../drivers/firmware/efi/test/efi_test.c:50:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:50:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:50:21: got unsigned short [usertype] * ../drivers/firmware/efi/test/efi_test.c:35:27: warning: incorrect type in initializer (different address spaces) ../drivers/firmware/efi/test/efi_test.c:35:27: expected unsigned short [usertype] *[assigned] s ../drivers/firmware/efi/test/efi_test.c:35:27: got unsigned short [noderef] [usertype] __user *str ../drivers/firmware/efi/test/efi_test.c:44:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:44:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:44:13: got unsigned short [usertype] * ../drivers/firmware/efi/test/efi_test.c:50:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:50:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:50:21: got unsigned short [usertype] * ../drivers/firmware/efi/test/efi_test.c:35:27: warning: incorrect type in initializer (different address spaces) ../drivers/firmware/efi/test/efi_test.c:35:27: expected unsigned short [usertype] *[assigned] s ../drivers/firmware/efi/test/efi_test.c:35:27: got unsigned short [noderef] [usertype] __user *str ../drivers/firmware/efi/test/efi_test.c:44:13: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:44:13: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:44:13: got unsigned short [usertype] * ../drivers/firmware/efi/test/efi_test.c:50:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/firmware/efi/test/efi_test.c:50:21: expected void const volatile [noderef] __user *ptr ../drivers/firmware/efi/test/efi_test.c:50:21: got unsigned short [usertype] * ../drivers/rtc/rtc-ds2404.c:172:20: warning: incorrect type in initializer (different base types) ../drivers/rtc/rtc-ds2404.c:172:20: expected unsigned int [usertype] time ../drivers/rtc/rtc-ds2404.c:172:20: got restricted __le32 [usertype] ../drivers/input/touchscreen/tsc200x-core.c:195:13: warning: context imbalance in 'tsc200x_penup_timer' - wrong count at exit ../drivers/firmware/efi/libstub/efi-stub-helper.c:611: warning: Function parameter or struct member 'out' not described in 'efi_load_initrd' ../drivers/net/ethernet/smsc/smc91x.c:557:9: warning: context imbalance in 'smc_hardware_send_pkt' - different lock contexts for basic block In file included from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:99, from ../include/linux/bug.h:5, from ../arch/x86/include/asm/paravirt.h:19, from ../arch/x86/include/asm/cpuid.h:71, from ../arch/x86/include/asm/processor.h:19, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/mtd/mtdpart.c:10: ../drivers/mtd/mtdpart.c: In function ‘parse_mtd_partitions’: ../drivers/mtd/mtdpart.c:693:34: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 693 | pr_debug("%s: got parser %s\n", master->name, | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/printk.h:391:21: note: in definition of macro ‘pr_fmt’ 391 | #define pr_fmt(fmt) fmt | ^~~ ../include/linux/dynamic_debug.h:248:9: note: in expansion of macro ‘__dynamic_func_call_cls’ 248 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/dynamic_debug.h:250:9: note: in expansion of macro ‘_dynamic_func_call_cls’ 250 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/dynamic_debug.h:269:9: note: in expansion of macro ‘_dynamic_func_call’ 269 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/printk.h:625:9: note: in expansion of macro ‘dynamic_pr_debug’ 625 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ ../drivers/mtd/mtdpart.c:693:25: note: in expansion of macro ‘pr_debug’ 693 | pr_debug("%s: got parser %s\n", master->name, | ^~~~~~~~ ../drivers/mtd/mtdpart.c:693:50: note: format string is defined here 693 | pr_debug("%s: got parser %s\n", master->name, | ^~ ../drivers/net/ethernet/sfc/tx.c:495:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/wiznet/w5100.c: In function ‘w5100_probe’: ../drivers/net/ethernet/wiznet/w5100.c:1190:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~ ../drivers/net/ethernet/wiznet/w5100.c:1190:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:277:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 275 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 277 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/wiznet/w5300.c: In function ‘w5300_hw_probe’: ../drivers/net/ethernet/wiznet/w5300.c:576:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 576 | snprintf(link_name, 16, "%s-link", name); | ^~ ../drivers/net/ethernet/wiznet/w5300.c:576:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 576 | snprintf(link_name, 16, "%s-link", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/spi/spi-lp8841-rtc.c:111:41: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:111:41: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:111:41: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:120:41: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:120:41: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:120:41: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:142:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:142:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:142:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:146:41: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:146:41: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:146:41: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:208:21: warning: incorrect type in assignment (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:208:21: expected void *iomem ../drivers/spi/spi-lp8841-rtc.c:208:21: got void [noderef] __iomem * ../drivers/spi/spi-lp8841-rtc.c:56:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:56:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:56:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:62:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:62:28: expected void const [noderef] __iomem * ../drivers/spi/spi-lp8841-rtc.c:62:28: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:46:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:46:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:46:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:46:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:46:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:46:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:56:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:56:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:56:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:62:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:62:28: expected void const [noderef] __iomem * ../drivers/spi/spi-lp8841-rtc.c:62:28: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:46:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:46:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:46:33: got void *iomem ../drivers/spi/spi-lp8841-rtc.c:46:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-lp8841-rtc.c:46:33: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-lp8841-rtc.c:46:33: got void *iomem ../drivers/mtd/ftl.c:179:37: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:202:23: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:218:21: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:219:24: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:230:24: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:231:28: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:232:27: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:233:27: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:234:17: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:242:28: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:244:53: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:249:21: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:258:27: warning: cast to restricted __le16 ../drivers/mtd/ftl.c:265:14: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:284:44: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:294:17: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:297:25: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:298:23: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:299:39: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:301:22: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:301:22: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:386:23: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:386:23: expected unsigned short [assigned] [usertype] LogicalEUN ../drivers/mtd/ftl.c:386:23: got restricted __le16 [usertype] ../drivers/mtd/ftl.c:387:23: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:387:23: expected unsigned int [assigned] [usertype] EraseCount ../drivers/mtd/ftl.c:387:23: got restricted __le32 [usertype] ../drivers/mtd/ftl.c:397:12: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:400:29: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:401:9: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:401:9: expected unsigned int [usertype] ctl ../drivers/mtd/ftl.c:401:9: got restricted __le32 [usertype] ../drivers/mtd/ftl.c:439:28: warning: incorrect type in initializer (different base types) ../drivers/mtd/ftl.c:439:28: expected unsigned short [usertype] srcunitswap ../drivers/mtd/ftl.c:439:28: got restricted __le16 [usertype] ../drivers/mtd/ftl.c:450:32: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:468:10: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:468:10: expected unsigned short [usertype] unit ../drivers/mtd/ftl.c:468:10: got restricted __le16 [usertype] ../drivers/mtd/ftl.c:484:17: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:508:32: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:508:32: expected unsigned int [usertype] ../drivers/mtd/ftl.c:508:32: got restricted __le32 [usertype] ../drivers/mtd/ftl.c:518:36: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:712:52: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:726:13: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:765:43: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:811:19: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:834:18: warning: incorrect type in assignment (different base types) ../drivers/mtd/ftl.c:834:18: expected unsigned int [usertype] le_virt_addr ../drivers/mtd/ftl.c:834:18: got restricted __le32 [usertype] ../drivers/mtd/ftl.c:887:26: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:948:16: warning: cast to restricted __le32 ../drivers/mtd/ftl.c:1028:39: warning: cast to restricted __le32 ../drivers/mtd/nftlcore.c:218:31: warning: cast to restricted __le16 ../drivers/mtd/nftlcore.c:221:25: warning: cast to restricted __le16 ../drivers/mtd/nftlcore.c:380:54: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlcore.c:380:54: expected unsigned short [addressable] [usertype] FoldMark1 ../drivers/mtd/nftlcore.c:380:54: got restricted __le16 [usertype] ../drivers/mtd/nftlcore.c:428:56: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlcore.c:428:56: expected unsigned short [addressable] [assigned] [usertype] SpareVirtUnitNum ../drivers/mtd/nftlcore.c:428:56: got restricted __le16 [usertype] ../drivers/mtd/nftlcore.c:483:33: warning: cast to restricted __le32 ../drivers/mtd/nftlcore.c:555:25: warning: cast to restricted __le16 ../drivers/mtd/nftlcore.c:642:64: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlcore.c:642:64: expected unsigned short [addressable] [usertype] SpareVirtUnitNum ../drivers/mtd/nftlcore.c:642:64: got restricted __le16 [usertype] ../drivers/mtd/nftlcore.c:658:33: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlcore.c:658:33: expected unsigned short [addressable] [usertype] SpareReplUnitNum ../drivers/mtd/nftlcore.c:658:33: got restricted __le16 [usertype] ../drivers/mtd/nftlmount.c:163:40: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:171:35: warning: cast to restricted __le32 ../drivers/mtd/nftlmount.c:183:35: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:183:68: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:315:22: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:318:31: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:318:31: expected unsigned short [addressable] [usertype] EraseMark ../drivers/mtd/nftlmount.c:318:31: got restricted __le16 [usertype] ../drivers/mtd/nftlmount.c:319:32: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:319:32: expected unsigned short [addressable] [usertype] EraseMark1 ../drivers/mtd/nftlmount.c:319:32: got restricted __le16 [usertype] ../drivers/mtd/nftlmount.c:320:30: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:320:30: expected unsigned int [addressable] [usertype] WearInfo ../drivers/mtd/nftlmount.c:320:30: got restricted __le32 [usertype] ../drivers/mtd/nftlmount.c:334:21: warning: cast to restricted __le32 ../drivers/mtd/nftlmount.c:348:24: warning: cast to restricted __le32 ../drivers/mtd/nftlmount.c:500:22: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:508:30: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:508:30: expected unsigned short [addressable] [usertype] EraseMark ../drivers/mtd/nftlmount.c:508:30: got restricted __le16 [usertype] ../drivers/mtd/nftlmount.c:509:31: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:509:31: expected unsigned short [addressable] [usertype] EraseMark1 ../drivers/mtd/nftlmount.c:509:31: got restricted __le16 [usertype] ../drivers/mtd/nftlmount.c:510:29: warning: incorrect type in assignment (different base types) ../drivers/mtd/nftlmount.c:510:29: expected unsigned int [addressable] [usertype] WearInfo ../drivers/mtd/nftlmount.c:510:29: got restricted __le32 [usertype] ../drivers/mtd/nftlmount.c:559:16: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:607:49: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:608:45: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:609:46: warning: cast to restricted __le16 ../drivers/mtd/nftlmount.c:765:26: warning: cast to restricted __le16 ../drivers/firmware/efi/libstub/x86-stub.c:944:6: warning: symbol 'efi_handover_entry' was not declared. Should it be static? ../drivers/mtd/inftlcore.c:588:39: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlcore.c:588:39: expected unsigned short [addressable] [usertype] virtualUnitNo ../drivers/mtd/inftlcore.c:588:39: got restricted __le16 [usertype] ../drivers/mtd/inftlcore.c:589:36: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlcore.c:589:36: expected unsigned short [addressable] [usertype] prevUnitNo ../drivers/mtd/inftlcore.c:589:36: got restricted __le16 [usertype] ../drivers/mtd/inftlcore.c:599:39: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlcore.c:599:39: expected unsigned short [addressable] [assigned] [usertype] virtualUnitNo ../drivers/mtd/inftlcore.c:599:39: got restricted __le16 [usertype] ../drivers/mtd/inftlcore.c:600:36: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlcore.c:600:36: expected unsigned short [addressable] [assigned] [usertype] prevUnitNo ../drivers/mtd/inftlcore.c:600:36: got restricted __le16 [usertype] ../drivers/edac/skx_common.c: In function ‘skx_get_nvdimm_info’: ../drivers/edac/skx_common.c:491:79: warning: ‘_DIMM#’ directive output may be truncated writing 6 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 491 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~ ../drivers/edac/skx_common.c:491:52: note: using the range [0, 4294967295] for directive argument 491 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c:491:9: note: ‘snprintf’ output between 31 and 53 bytes into a destination of size 32 491 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 492 | imc->src_id, imc->lmc, chan, dimmno); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c: In function ‘skx_get_dimm_info’: ../drivers/edac/skx_common.c:442:87: warning: ‘_DIMM#’ directive output may be truncated writing 6 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 442 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~ ../drivers/edac/skx_common.c:442:60: note: using the range [0, 4294967295] for directive argument 442 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/edac/skx_common.c:442:17: note: ‘snprintf’ output between 31 and 53 bytes into a destination of size 32 442 | snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 443 | imc->src_id, imc->lmc, chan, dimmno); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/firmware/efi/libstub/unaccepted_memory.c:7:30: warning: symbol 'unaccepted_table' was not declared. Should it be static? ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/mtd/inftlmount.c:121:43: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:122:44: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:123:42: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:124:43: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:125:35: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:126:35: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:178:44: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:179:41: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:180:40: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:181:37: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:182:42: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:183:41: warning: cast to restricted __le32 ../drivers/mtd/inftlmount.c:402:23: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlmount.c:402:23: expected unsigned short [usertype] EraseMark ../drivers/mtd/inftlmount.c:402:23: got restricted __le16 [usertype] ../drivers/mtd/inftlmount.c:403:24: warning: incorrect type in assignment (different base types) ../drivers/mtd/inftlmount.c:403:24: expected unsigned short [usertype] EraseMark1 ../drivers/mtd/inftlmount.c:403:24: got restricted __le16 [usertype] ../drivers/mtd/inftlmount.c:592:41: warning: cast to restricted __le16 ../drivers/mtd/inftlmount.c:593:38: warning: cast to restricted __le16 ../drivers/mtd/inftlmount.c:594:38: warning: cast to restricted __le16 ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/mtd/rfd_ftl.c:100:13: warning: cast to restricted __le16 ../drivers/mtd/rfd_ftl.c:110:25: warning: cast to restricted __le16 ../drivers/mtd/rfd_ftl.c:292:29: warning: incorrect type in initializer (different base types) ../drivers/mtd/rfd_ftl.c:292:29: expected unsigned short [usertype] magic ../drivers/mtd/rfd_ftl.c:292:29: got restricted __le16 [usertype] ../drivers/mtd/rfd_ftl.c:351:29: warning: cast to restricted __le16 ../drivers/mtd/rfd_ftl.c:550:19: warning: incorrect type in initializer (different base types) ../drivers/mtd/rfd_ftl.c:550:19: expected unsigned short [usertype] del ../drivers/mtd/rfd_ftl.c:550:19: got restricted __le16 [usertype] ../drivers/mtd/rfd_ftl.c:589:21: warning: cast to restricted __le16 ../drivers/mtd/rfd_ftl.c:644:15: warning: incorrect type in assignment (different base types) ../drivers/mtd/rfd_ftl.c:644:15: expected unsigned short [usertype] entry ../drivers/mtd/rfd_ftl.c:644:15: got restricted __le16 [usertype] ../drivers/spi/spi-nxp-fspi.c:516:25: warning: cast from restricted __be32 ../drivers/hwmon/ad7314.c:52:16: warning: cast to restricted __be16 ../drivers/spi/spi-ti-qspi.c:266:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:266:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:266:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:269:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:269:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:269:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:272:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:272:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:272:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:275:38: warning: incorrect type in assignment (different base types) ../drivers/spi/spi-ti-qspi.c:275:38: expected unsigned int [usertype] data ../drivers/spi/spi-ti-qspi.c:275:38: got restricted __be32 [usertype] ../drivers/spi/spi-ti-qspi.c:376:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:378:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:380:42: warning: cast to restricted __be32 ../drivers/spi/spi-ti-qspi.c:382:42: warning: cast to restricted __be32 ../drivers/spi/spi-pci1xxxx.c:370:22: warning: incorrect type in assignment (different address spaces) ../drivers/spi/spi-pci1xxxx.c:370:22: expected void *base ../drivers/spi/spi-pci1xxxx.c:370:22: got void [noderef] __iomem * ../drivers/spi/spi-pci1xxxx.c:372:22: warning: incorrect type in assignment (different address spaces) ../drivers/spi/spi-pci1xxxx.c:372:22: expected void *base ../drivers/spi/spi-pci1xxxx.c:372:22: got void [noderef] __iomem * ../drivers/spi/spi-pci1xxxx.c:374:34: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:374:34: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:374:34: got void * ../drivers/spi/spi-pci1xxxx.c:375:26: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:375:26: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:375:26: got void * ../drivers/spi/spi-pci1xxxx.c:376:46: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:376:46: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:376:46: got void * ../drivers/spi/spi-pci1xxxx.c:377:46: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:377:46: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:377:46: got void * ../drivers/spi/spi-pci1xxxx.c:379:21: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:379:21: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:379:21: got void * ../drivers/spi/spi-pci1xxxx.c:381:21: warning: incorrect type in argument 2 (different address spaces) ../drivers/spi/spi-pci1xxxx.c:381:21: expected void volatile [noderef] __iomem *addr ../drivers/spi/spi-pci1xxxx.c:381:21: got void * ../drivers/spi/spi-orion.c:451:24: warning: incorrect type in argument 1 (different base types) ../drivers/spi/spi-orion.c:451:24: expected unsigned int val ../drivers/spi/spi-orion.c:451:24: got restricted __le16 [usertype] ../drivers/spi/spi-orion.c:461:17: warning: cast to restricted __le16 ../drivers/mtd/lpddr/lpddr_cmds.c:547:20: warning: cast removes address space '__iomem' of expression ../drivers/mtd/devices/pmc551.c:743:29: warning: incorrect type in assignment (different address spaces) ../drivers/mtd/devices/pmc551.c:743:29: expected unsigned char [usertype] *start ../drivers/mtd/devices/pmc551.c:743:29: got void [noderef] __iomem * ../drivers/mtd/devices/pmc551.c:783:53: warning: incorrect type in argument 2 (different address spaces) ../drivers/mtd/devices/pmc551.c:783:53: expected void [noderef] __iomem * ../drivers/mtd/devices/pmc551.c:783:53: got unsigned char [usertype] *start ../drivers/mtd/devices/pmc551.c:833:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/mtd/devices/pmc551.c:833:52: expected void [noderef] __iomem * ../drivers/mtd/devices/pmc551.c:833:52: got unsigned char [usertype] *start ../drivers/mtd/chips/cfi_util.c:96:26: warning: restricted __be16 degrades to integer ../drivers/mtd/chips/cfi_util.c:96:26: warning: restricted __le16 degrades to integer ../drivers/mtd/chips/cfi_util.c:99:26: warning: restricted __be32 degrades to integer ../drivers/mtd/chips/cfi_util.c:99:26: warning: restricted __le32 degrades to integer ../drivers/mtd/chips/cfi_util.c:184:23: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_util.c:184:23: warning: cast to restricted __be16 ../drivers/mtd/chips/cfi_util.c:187:23: warning: cast to restricted __le32 ../drivers/mtd/chips/cfi_util.c:187:23: warning: cast to restricted __be32 ../drivers/mtd/chips/cfi_util.c: note: in included file: ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../drivers/mtd/chips/cfi_cmdset_0020.c:142:40: warning: cast to restricted __le32 ../drivers/mtd/chips/cfi_cmdset_0020.c:142:40: warning: cast to restricted __be32 ../drivers/mtd/chips/cfi_cmdset_0020.c:143:42: warning: cast to restricted __le32 ../drivers/mtd/chips/cfi_cmdset_0020.c:143:42: warning: cast to restricted __be32 ../drivers/mtd/spi-nor/sfdp.c:769:38: warning: dubious: x | !y ../drivers/mtd/spi-nor/sfdp.c:1394:13: warning: cast to restricted __le32 ../drivers/mtd/spi-nor/sfdp.c:1429:13: warning: cast to restricted __le32 ../drivers/mtd/chips/cfi_cmdset_0002.c: note: in included file: ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../drivers/mtd/nand/onenand/onenand_base.c:779:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:779:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:779:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:779:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:779:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:779:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:779:9: warning: incorrect type in argument 2 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:779:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:779:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:817:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:817:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: warning: incorrect type in argument 2 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:817:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:817:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:860:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:860:9: expected void const * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: got void [noderef] __iomem * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/onenand/onenand_base.c:860:9: expected void * ../drivers/mtd/nand/onenand/onenand_base.c:860:9: got void [noderef] __iomem * ../drivers/mtd/nand/raw/nand_legacy.c:42:17: warning: cast from restricted __le16 ../drivers/iio/adc/ad_sigma_delta.c:207:13: warning: context imbalance in 'ad_sd_disable_irq' - wrong count at exit ../drivers/iio/adc/ad_sigma_delta.c:220:13: warning: context imbalance in 'ad_sd_enable_irq' - wrong count at exit ../drivers/net/ieee802154/ca8210.c:1798:27: warning: incorrect type in assignment (different base types) ../drivers/net/ieee802154/ca8210.c:1798:27: expected restricted __le16 [addressable] [assigned] [usertype] pan_id ../drivers/net/ieee802154/ca8210.c:1798:27: got unsigned short [usertype] ../drivers/net/ieee802154/ca8210.c:1803:25: warning: incorrect type in assignment (different base types) ../drivers/net/ieee802154/ca8210.c:1803:25: expected restricted __le16 [addressable] [assigned] [usertype] pan_id ../drivers/net/ieee802154/ca8210.c:1803:25: got unsigned short [usertype] ../drivers/net/ieee802154/ca8210.c:1930:28: warning: incorrect type in argument 3 (different base types) ../drivers/net/ieee802154/ca8210.c:1930:28: expected unsigned short [usertype] dst_pan_id ../drivers/net/ieee802154/ca8210.c:1930:28: got restricted __le16 [addressable] [usertype] pan_id ../drivers/mtd/chips/cfi_cmdset_0001.c:1418:15: warning: incorrect type in assignment (different address spaces) ../drivers/mtd/chips/cfi_cmdset_0001.c:1418:15: expected void * ../drivers/mtd/chips/cfi_cmdset_0001.c:1418:15: got void [noderef] __iomem * ../drivers/mtd/chips/cfi_cmdset_0001.c:181:30: warning: incorrect type in assignment (different base types) ../drivers/mtd/chips/cfi_cmdset_0001.c:181:30: expected unsigned int [usertype] FeatureSupport ../drivers/mtd/chips/cfi_cmdset_0001.c:181:30: got restricted __le32 [usertype] ../drivers/mtd/chips/cfi_cmdset_0001.c:182:32: warning: incorrect type in assignment (different base types) ../drivers/mtd/chips/cfi_cmdset_0001.c:182:32: expected unsigned short [usertype] BlkStatusRegMask ../drivers/mtd/chips/cfi_cmdset_0001.c:182:32: got restricted __le16 [usertype] ../drivers/mtd/chips/cfi_cmdset_0001.c:183:27: warning: incorrect type in assignment (different base types) ../drivers/mtd/chips/cfi_cmdset_0001.c:183:27: expected unsigned short [usertype] ProtRegAddr ../drivers/mtd/chips/cfi_cmdset_0001.c:183:27: got restricted __le16 [usertype] ../drivers/mtd/chips/cfi_cmdset_0001.c:417:32: warning: cast to restricted __le32 ../drivers/mtd/chips/cfi_cmdset_0001.c:418:34: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_cmdset_0001.c:419:29: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_cmdset_0001.c:437:60: warning: cast to restricted __le32 ../drivers/mtd/chips/cfi_cmdset_0001.c:438:59: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_cmdset_0001.c:439:59: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_cmdset_0001.c:473:51: warning: cast to restricted __le16 ../drivers/mtd/chips/cfi_cmdset_0001.c: note: in included file: ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __le16 ../include/linux/mtd/cfi.h:314:24: warning: cast to restricted __be16 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __le32 ../include/linux/mtd/cfi.h:320:16: warning: cast to restricted __be32 ../drivers/mtd/nand/spi/alliancememory.c:19:8: error: Expected ) in function call ../drivers/mtd/nand/spi/alliancememory.c:19:8: error: got . ../drivers/mtd/nand/spi/alliancememory.c:19:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/raw/nand_onfi.c:320:27: warning: cast to restricted __le16 ../drivers/mtd/nand/raw/nand_onfi.c:323:44: warning: cast to restricted __le16 ../drivers/mtd/chips/map_ram.c:98:15: warning: incorrect type in assignment (different address spaces) ../drivers/mtd/chips/map_ram.c:98:15: expected void * ../drivers/mtd/chips/map_ram.c:98:15: got void [noderef] __iomem * ../drivers/mtd/nand/spi/ato.c:16:8: error: Expected ) in function call ../drivers/mtd/nand/spi/ato.c:16:8: error: got . ../drivers/mtd/nand/spi/ato.c:16:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/esmt.c:15:8: error: Expected ) in function call ../drivers/mtd/nand/spi/esmt.c:15:8: error: got . ../drivers/mtd/nand/spi/esmt.c:15:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/chips/map_rom.c:80:15: warning: incorrect type in assignment (different address spaces) ../drivers/mtd/chips/map_rom.c:80:15: expected void * ../drivers/mtd/chips/map_rom.c:80:15: got void [noderef] __iomem * ../drivers/thunderbolt/switch.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/thunderbolt/tb.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/mtd/nand/spi/foresee.c:14:8: error: Expected ) in function call ../drivers/mtd/nand/spi/foresee.c:14:8: error: got . ../drivers/mtd/nand/spi/foresee.c:14:8: error: undefined identifier '__VA_OPT__' ../drivers/thunderbolt/path.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/mtd/nand/spi/gigadevice.c:26:8: error: Expected ) in function call ../drivers/mtd/nand/spi/gigadevice.c:26:8: error: got . ../drivers/mtd/nand/spi/gigadevice.c:42:8: error: Expected ) in function call ../drivers/mtd/nand/spi/gigadevice.c:42:8: error: got . ../drivers/mtd/nand/spi/gigadevice.c:50:8: error: Expected ) in function call ../drivers/mtd/nand/spi/gigadevice.c:50:8: error: got . ../drivers/mtd/nand/spi/gigadevice.c:26:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/gigadevice.c:42:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/gigadevice.c:50:8: error: undefined identifier '__VA_OPT__' ../drivers/fsi/fsi-master-ast-cf.c:399:65: warning: incorrect type in argument 4 (different base types) ../drivers/fsi/fsi-master-ast-cf.c:399:65: expected restricted __be32 [usertype] rdata ../drivers/fsi/fsi-master-ast-cf.c:399:65: got unsigned int [assigned] [usertype] rdata ../drivers/mtd/nand/spi/macronix.c:28:8: error: Expected ) in function call ../drivers/mtd/nand/spi/macronix.c:28:8: error: got . ../drivers/mtd/nand/spi/macronix.c:28:8: error: undefined identifier '__VA_OPT__' ../drivers/thunderbolt/tunnel.c: note: in included file (through ../drivers/thunderbolt/tb.h, ../drivers/thunderbolt/tunnel.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/thunderbolt/eeprom.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/fpga/machxo2-spi.c:86:19: warning: cast to restricted __be32 ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:66: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:63: note: directive argument in the range [-2147483641, 254] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 892 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:66: warning: ‘-rx-txc’ directive output may be truncated writing 7 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:25: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 16 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 889 | ndev->name); | ~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:58: warning: ‘-txc-’ directive output may be truncated writing 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:55: note: directive argument in the range [-2147483641, 254] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 16 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 899 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/mtd/maps/nettel.c:179:25: warning: cast removes address space '__iomem' of expression ../drivers/mtd/maps/nettel.c:223:25: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/maps/nettel.c:223:25: expected void volatile [noderef] __iomem *addr ../drivers/mtd/maps/nettel.c:223:25: got void *static [assigned] [toplevel] nettel_mmcrp ../drivers/mtd/maps/nettel.c:416:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/maps/nettel.c:416:17: expected void volatile [noderef] __iomem *addr ../drivers/mtd/maps/nettel.c:416:17: got void *static [assigned] [toplevel] nettel_mmcrp ../drivers/mtd/maps/nettel.c:434:25: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/maps/nettel.c:434:25: expected void volatile [noderef] __iomem *addr ../drivers/mtd/maps/nettel.c:434:25: got void *static [assigned] [toplevel] nettel_mmcrp ../drivers/mtd/ubi/fastmap.c:571:23: warning: incorrect type in assignment (different base types) ../drivers/mtd/ubi/fastmap.c:571:23: expected unsigned long long max_sqnum ../drivers/mtd/ubi/fastmap.c:571:23: got restricted __be64 [usertype] sqnum ../drivers/mtd/ubi/fastmap.c:1038:17: warning: incorrect type in assignment (different base types) ../drivers/mtd/ubi/fastmap.c:1038:17: expected restricted __be32 [usertype] tmp_crc ../drivers/mtd/ubi/fastmap.c:1038:17: got unsigned int [usertype] ../drivers/mtd/ubi/fastmap.c:1040:13: warning: incorrect type in assignment (different base types) ../drivers/mtd/ubi/fastmap.c:1040:13: expected restricted __be32 [usertype] crc ../drivers/mtd/ubi/fastmap.c:1040:13: got unsigned int ../drivers/mtd/ubi/fastmap.c:1049:22: warning: incorrect type in assignment (different base types) ../drivers/mtd/ubi/fastmap.c:1049:22: expected restricted __be64 [usertype] sqnum ../drivers/mtd/ubi/fastmap.c:1049:22: got unsigned long long [assigned] sqnum ../drivers/mtd/nand/spi/micron.c:31:8: error: Expected ) in function call ../drivers/mtd/nand/spi/micron.c:31:8: error: got . ../drivers/mtd/nand/spi/micron.c:48:8: error: Expected ) in function call ../drivers/mtd/nand/spi/micron.c:48:8: error: got . ../drivers/mtd/nand/spi/micron.c:31:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/micron.c:48:8: error: undefined identifier '__VA_OPT__' ../drivers/net/ethernet/sfc/falcon/ethtool.c: In function ‘ef4_fill_test’: ../drivers/net/ethernet/sfc/falcon/ethtool.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/mtd/nand/spi/paragon.c:24:8: error: Expected ) in function call ../drivers/mtd/nand/spi/paragon.c:24:8: error: got . ../drivers/mtd/nand/spi/paragon.c:24:8: error: undefined identifier '__VA_OPT__' ../drivers/net/ethernet/sfc/siena/tx.c:290:9: warning: context imbalance in 'efx_siena_xdp_tx_buffers' - different lock contexts for basic block ../drivers/bluetooth/hci_nokia.c:279:23: warning: incorrect type in assignment (different base types) ../drivers/bluetooth/hci_nokia.c:279:23: expected unsigned short [usertype] baud ../drivers/bluetooth/hci_nokia.c:279:23: got restricted __le16 [usertype] ../drivers/bluetooth/hci_nokia.c:282:26: warning: incorrect type in assignment (different base types) ../drivers/bluetooth/hci_nokia.c:282:26: expected unsigned short [usertype] sys_clk ../drivers/bluetooth/hci_nokia.c:282:26: got restricted __le16 [usertype] ../drivers/mtd/nand/spi/skyhigh.c:19:8: error: Expected ) in function call ../drivers/mtd/nand/spi/skyhigh.c:19:8: error: got . ../drivers/mtd/nand/spi/skyhigh.c:19:8: error: undefined identifier '__VA_OPT__' ../drivers/net/ethernet/sfc/siena/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/siena/ethtool_common.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/hwmon/max31722.c:59:42: warning: cast to restricted __le16 ../drivers/mtd/nand/spi/toshiba.c:17:8: error: Expected ) in function call ../drivers/mtd/nand/spi/toshiba.c:17:8: error: got . ../drivers/mtd/nand/spi/toshiba.c:17:8: error: undefined identifier '__VA_OPT__' ../drivers/net/ethernet/sfc/siena/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/mtd/nand/spi/winbond.c:26:8: error: Expected ) in function call ../drivers/mtd/nand/spi/winbond.c:26:8: error: got . ../drivers/mtd/nand/spi/winbond.c:39:8: error: Expected ) in function call ../drivers/mtd/nand/spi/winbond.c:39:8: error: got . ../drivers/mtd/nand/spi/winbond.c:26:8: error: undefined identifier '__VA_OPT__' ../drivers/mtd/nand/spi/winbond.c:39:8: error: undefined identifier '__VA_OPT__' ../drivers/rtc/rtc-mxc_v2.c:114:12: warning: context imbalance in 'mxc_rtc_lock' - different lock contexts for basic block ../drivers/rtc/rtc-mxc_v2.c:127:12: warning: context imbalance in 'mxc_rtc_unlock' - unexpected unlock ../drivers/thunderbolt/tmu.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/mtd/nand/spi/xtx.c:25:8: error: Expected ) in function call ../drivers/mtd/nand/spi/xtx.c:25:8: error: got . ../drivers/mtd/nand/spi/xtx.c:25:8: error: undefined identifier '__VA_OPT__' ../drivers/thunderbolt/usb4.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/rtc/rtc-omap.c:412: warning: Function parameter or struct member 'dev' not described in 'omap_rtc_power_off_program' ../drivers/thunderbolt/clx.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/mtd/nand/raw/nandsim.c:1901:41: warning: cast from restricted __le16 ../drivers/mtd/nand/raw/nandsim.c:2073:59: warning: incorrect type in assignment (different base types) ../drivers/mtd/nand/raw/nandsim.c:2073:59: expected unsigned short [usertype] ../drivers/mtd/nand/raw/nandsim.c:2073:59: got restricted __le16 [usertype] ../drivers/thunderbolt/debugfs.c: note: in included file (through ../drivers/thunderbolt/tb.h): ../drivers/thunderbolt/tb_regs.h:190:32: warning: typeof applied to bitfield type ../drivers/mtd/nand/raw/mxc_nand.c:1477:26: warning: incorrect type in initializer (different address spaces) ../drivers/mtd/nand/raw/mxc_nand.c:1477:26: expected unsigned short [noderef] [usertype] __iomem *t ../drivers/mtd/nand/raw/mxc_nand.c:1477:26: got void *buf ../drivers/mtd/nand/raw/mxc_nand.c:1514:65: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/mxc_nand.c:1514:65: expected void *buf ../drivers/mtd/nand/raw/mxc_nand.c:1514:65: got void [noderef] __iomem * ../drivers/mtd/nand/raw/mxc_nand.c:1525:87: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/mxc_nand.c:1525:87: expected void *buf ../drivers/mtd/nand/raw/mxc_nand.c:1525:87: got void [noderef] __iomem * ../drivers/mtd/nand/raw/sh_flctl.c:457:16: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/sh_flctl.c:480:26: warning: cast to restricted __be32 ../drivers/mtd/nand/raw/sh_flctl.c:495:38: warning: cast to restricted __be32 ../drivers/mtd/nand/raw/sh_flctl.c:511:24: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/sh_flctl.c:511:24: expected unsigned int val ../drivers/mtd/nand/raw/sh_flctl.c:511:24: got restricted __be32 [usertype] ../drivers/mtd/nand/raw/sh_flctl.c:524:24: warning: incorrect type in assignment (different base types) ../drivers/mtd/nand/raw/sh_flctl.c:524:24: expected unsigned long ../drivers/mtd/nand/raw/sh_flctl.c:524:24: got restricted __be32 [usertype] ../drivers/mtd/nand/raw/r852.c:105:25: warning: incorrect type in argument 3 (different base types) ../drivers/mtd/nand/raw/r852.c:105:25: expected unsigned int [usertype] value ../drivers/mtd/nand/raw/r852.c:105:25: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:109:25: warning: incorrect type in argument 3 (different base types) ../drivers/mtd/nand/raw/r852.c:109:25: expected unsigned int [usertype] value ../drivers/mtd/nand/raw/r852.c:109:25: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:142:17: warning: incorrect type in argument 3 (different base types) ../drivers/mtd/nand/raw/r852.c:142:17: expected unsigned int [usertype] value ../drivers/mtd/nand/raw/r852.c:142:17: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/r852.c:51:24: warning: cast to restricted __le32 ../drivers/mtd/nand/raw/r852.c:59:16: warning: incorrect type in argument 1 (different base types) ../drivers/mtd/nand/raw/r852.c:59:16: expected unsigned int val ../drivers/mtd/nand/raw/r852.c:59:16: got restricted __le32 [usertype] ../drivers/mtd/nand/raw/hisi504_nand.c:362:26: warning: cast removes address space '__iomem' of expression ../drivers/mtd/nand/raw/hisi504_nand.c:367:26: warning: cast removes address space '__iomem' of expression ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: expected void * ../drivers/mtd/nand/raw/hisi504_nand.c:465:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: expected void * ../drivers/mtd/nand/raw/hisi504_nand.c:477:17: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: expected void const * ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: expected void * ../drivers/mtd/nand/raw/hisi504_nand.c:603:9: got void [noderef] __iomem *mmio ../drivers/mtd/nand/raw/meson_nand.c:542:23: warning: invalid assignment: |= ../drivers/mtd/nand/raw/meson_nand.c:542:23: left side has type restricted __le64 ../drivers/mtd/nand/raw/meson_nand.c:542:23: right side has type unsigned char ../drivers/mtd/nand/raw/meson_nand.c:543:23: warning: invalid assignment: |= ../drivers/mtd/nand/raw/meson_nand.c:543:23: left side has type restricted __le64 ../drivers/mtd/nand/raw/meson_nand.c:543:23: right side has type int ../drivers/mtd/nand/raw/meson_nand.c:555:32: warning: incorrect type in assignment (different base types) ../drivers/mtd/nand/raw/meson_nand.c:555:32: expected unsigned char [usertype] ../drivers/mtd/nand/raw/meson_nand.c:555:32: got restricted __le64 [usertype] ../drivers/mtd/nand/raw/meson_nand.c:556:38: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:570:21: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:571:53: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:572:37: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:577:21: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:578:53: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:579:37: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/meson_nand.c:823:23: warning: restricted __le64 degrades to integer ../drivers/mtd/nand/raw/brcmnand/brcmnand.c:1961:41: warning: dubious: x | !y ../drivers/iio/adc/ti-ads1298.c:426:13: warning: context imbalance in 'ads1298_rdata_unmark_busy' - wrong count at exit ../drivers/iio/adc/ti-ads1298.c:467:9: warning: context imbalance in 'ads1298_rdata_release_busy_or_restart' - wrong count at exit ../drivers/iio/adc/ti-ads1298.c:532:9: warning: context imbalance in 'ads1298_interrupt' - wrong count at exit ../drivers/gpu/drm/amd/amdgpu/amdgpu_device.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:414:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1873:9: error: incompatible types in conditional expression (different base types): ../drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1873:9: void ../drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1873:9: int ../sound/soc/codecs/tas2562.c:232:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2562.c:238:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2562.c:244:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2562.c:291:58: warning: incorrect type in argument 2 (different base types) ../sound/soc/codecs/tas2562.c:291:58: expected int bitwidth ../sound/soc/codecs/tas2562.c:291:58: got restricted snd_pcm_format_t ../sound/soc/codecs/tas2562.c:616:39: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2562.c:623:43: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2764.c:257:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2764.c:263:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2764.c:269:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2764.c:357:58: warning: incorrect type in argument 2 (different base types) ../sound/soc/codecs/tas2764.c:357:58: expected int bitwidth ../sound/soc/codecs/tas2764.c:357:58: got restricted snd_pcm_format_t ../sound/soc/codecs/tas2780.c:157:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2780.c:164:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2780.c:171:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2780.c:285:58: warning: incorrect type in argument 2 (different base types) ../sound/soc/codecs/tas2780.c:285:58: expected int bitwidth ../sound/soc/codecs/tas2780.c:285:58: got restricted snd_pcm_format_t ../sound/soc/codecs/tas2770.c:198:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2770.c:204:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2770.c:210:14: warning: restricted snd_pcm_format_t degrades to integer ../sound/soc/codecs/tas2770.c:297:58: warning: incorrect type in argument 2 (different base types) ../sound/soc/codecs/tas2770.c:297:58: expected int bitwidth ../sound/soc/codecs/tas2770.c:297:58: got restricted snd_pcm_format_t ../sound/soc/codecs/wm0010.c:225:25: warning: cast to restricted __be32 ../sound/soc/codecs/wm0010.c:310:25: warning: cast to restricted __be32 ../sound/soc/codecs/wm0010.c:329:31: warning: cast to restricted __le64 ../sound/soc/codecs/wm0010.c:329:29: warning: incorrect type in assignment (different base types) ../sound/soc/codecs/wm0010.c:329:29: expected unsigned long long [usertype] ../sound/soc/codecs/wm0010.c:329:29: got restricted __be64 [usertype] ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?