.pylintrc: warning: ignored by one of the .gitignore files ../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/xen/xenbus/xenbus_client.c: In function ‘xenbus_va_dev_error’: ../drivers/xen/xenbus/xenbus_client.c:304:9: warning: function ‘xenbus_va_dev_error’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 304 | vsnprintf(printf_buffer + len, PRINTF_BUFFER_SIZE - len, fmt, ap); | ^~~~~~~~~ ../drivers/tty/hvc/hvc_xen.c:418:37: warning: incorrect type in argument 1 (different address spaces) ../drivers/tty/hvc/hvc_xen.c:418:37: expected void volatile [noderef] __iomem *addr ../drivers/tty/hvc/hvc_xen.c:418:37: got struct xencons_interface *intf ../drivers/pci/xen-pcifront.c:624:18: warning: cast to restricted pci_channel_state_t ../drivers/pci/xen-pcifront.c:634:35: warning: incorrect type in assignment (different base types) ../drivers/pci/xen-pcifront.c:634:35: expected signed int [usertype] err ../drivers/pci/xen-pcifront.c:634:35: got restricted pci_ers_result_t ../drivers/xen/xen-pciback/pci_stub.c:752:21: warning: incorrect type in assignment (different base types) ../drivers/xen/xen-pciback/pci_stub.c:752:21: expected signed int [usertype] err ../drivers/xen/xen-pciback/pci_stub.c:752:21: got restricted pci_channel_state_t [usertype] state ../drivers/xen/xen-pciback/pci_stub.c:797:37: warning: incorrect type in assignment (different base types) ../drivers/xen/xen-pciback/pci_stub.c:797:37: expected signed int [usertype] err ../drivers/xen/xen-pciback/pci_stub.c:797:37: got restricted pci_ers_result_t ../drivers/usb/host/xen-hcd.c:774:20: warning: context imbalance in 'xenhcd_giveback_urb' - unexpected unlock ../drivers/xen/pvcalls-back.c:1014:9: warning: incorrect type in assignment (different address spaces) ../drivers/xen/pvcalls-back.c:1014:9: expected void **slot ../drivers/xen/pvcalls-back.c:1014:9: got void [noderef] __rcu ** ../drivers/xen/pvcalls-back.c:1014:9: warning: incorrect type in assignment (different address spaces) ../drivers/xen/pvcalls-back.c:1014:9: expected void **slot ../drivers/xen/pvcalls-back.c:1014:9: got void [noderef] __rcu ** ../drivers/xen/pvcalls-back.c:1015:49: warning: incorrect type in argument 1 (different address spaces) ../drivers/xen/pvcalls-back.c:1015:49: expected void [noderef] __rcu **slot ../drivers/xen/pvcalls-back.c:1015:49: got void **slot ../drivers/xen/pvcalls-back.c:1020:38: warning: incorrect type in assignment (different address spaces) ../drivers/xen/pvcalls-back.c:1020:38: expected void **slot ../drivers/xen/pvcalls-back.c:1020:38: got void [noderef] __rcu ** ../drivers/xen/pvcalls-back.c:1014:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/xen/pvcalls-back.c:1014:9: expected void [noderef] __rcu **slot ../drivers/xen/pvcalls-back.c:1014:9: got void **slot ../drivers/xen/pvcalls-back.c:1014:9: warning: incorrect type in assignment (different address spaces) ../drivers/xen/pvcalls-back.c:1014:9: expected void **slot ../drivers/xen/pvcalls-back.c:1014:9: got void [noderef] __rcu ** ../drivers/xen/pvcalls-front.c:956:24: warning: incorrect type in return expression (different base types) ../drivers/xen/pvcalls-front.c:956:24: expected restricted __poll_t ../drivers/xen/pvcalls-front.c:956:24: got int [assigned] ret ../drivers/net/xen-netback/xenbus.c: In function ‘connect’: ../drivers/net/xen-netback/xenbus.c:779:65: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 779 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~ ../drivers/net/xen-netback/xenbus.c:779:60: note: directive argument in the range [0, 4294967294] 779 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~~~~~~~ ../drivers/net/xen-netback/xenbus.c:779:17: note: ‘snprintf’ output between 4 and 28 bytes into a destination of size 21 779 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 780 | be->vif->dev->name, queue->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? .pylintrc: warning: ignored by one of the .gitignore files ../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/xen/xenbus/xenbus_client.c: In function ‘xenbus_va_dev_error’: ../drivers/xen/xenbus/xenbus_client.c:304:9: warning: function ‘xenbus_va_dev_error’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 304 | vsnprintf(printf_buffer + len, PRINTF_BUFFER_SIZE - len, fmt, ap); | ^~~~~~~~~ ../drivers/tty/hvc/hvc_xen.c:418:37: warning: incorrect type in argument 1 (different address spaces) ../drivers/tty/hvc/hvc_xen.c:418:37: expected void volatile [noderef] __iomem *addr ../drivers/tty/hvc/hvc_xen.c:418:37: got struct xencons_interface *intf ../drivers/pci/xen-pcifront.c:624:18: warning: cast to restricted pci_channel_state_t ../drivers/pci/xen-pcifront.c:634:35: warning: incorrect type in assignment (different base types) ../drivers/pci/xen-pcifront.c:634:35: expected signed int [usertype] err ../drivers/pci/xen-pcifront.c:634:35: got restricted pci_ers_result_t ../drivers/usb/host/xen-hcd.c:774:20: warning: context imbalance in 'xenhcd_giveback_urb' - unexpected unlock ../drivers/xen/xen-pciback/pci_stub.c:752:21: warning: incorrect type in assignment (different base types) ../drivers/xen/xen-pciback/pci_stub.c:752:21: expected signed int [usertype] err ../drivers/xen/xen-pciback/pci_stub.c:752:21: got restricted pci_channel_state_t [usertype] state ../drivers/xen/xen-pciback/pci_stub.c:797:37: warning: incorrect type in assignment (different base types) ../drivers/xen/xen-pciback/pci_stub.c:797:37: expected signed int [usertype] err ../drivers/xen/xen-pciback/pci_stub.c:797:37: got restricted pci_ers_result_t ../drivers/xen/pvcalls-front.c:956:24: warning: incorrect type in return expression (different base types) ../drivers/xen/pvcalls-front.c:956:24: expected restricted __poll_t ../drivers/xen/pvcalls-front.c:956:24: got int [assigned] ret ../drivers/xen/pvcalls-back.c:1014:9: warning: incorrect type in assignment (different address spaces) ../drivers/xen/pvcalls-back.c:1014:9: expected void **slot ../drivers/xen/pvcalls-back.c:1014:9: got void [noderef] __rcu ** ../drivers/xen/pvcalls-back.c:1014:9: warning: incorrect type in assignment (different address spaces) ../drivers/xen/pvcalls-back.c:1014:9: expected void **slot ../drivers/xen/pvcalls-back.c:1014:9: got void [noderef] __rcu ** ../drivers/xen/pvcalls-back.c:1015:49: warning: incorrect type in argument 1 (different address spaces) ../drivers/xen/pvcalls-back.c:1015:49: expected void [noderef] __rcu **slot ../drivers/xen/pvcalls-back.c:1015:49: got void **slot ../drivers/xen/pvcalls-back.c:1020:38: warning: incorrect type in assignment (different address spaces) ../drivers/xen/pvcalls-back.c:1020:38: expected void **slot ../drivers/xen/pvcalls-back.c:1020:38: got void [noderef] __rcu ** ../drivers/xen/pvcalls-back.c:1014:9: warning: incorrect type in argument 1 (different address spaces) ../drivers/xen/pvcalls-back.c:1014:9: expected void [noderef] __rcu **slot ../drivers/xen/pvcalls-back.c:1014:9: got void **slot ../drivers/xen/pvcalls-back.c:1014:9: warning: incorrect type in assignment (different address spaces) ../drivers/xen/pvcalls-back.c:1014:9: expected void **slot ../drivers/xen/pvcalls-back.c:1014:9: got void [noderef] __rcu ** ../drivers/net/xen-netback/xenbus.c: In function ‘connect’: ../drivers/net/xen-netback/xenbus.c:779:65: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 779 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~ ../drivers/net/xen-netback/xenbus.c:779:60: note: directive argument in the range [0, 4294967294] 779 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~~~~~~~ ../drivers/net/xen-netback/xenbus.c:779:17: note: ‘snprintf’ output between 4 and 28 bytes into a destination of size 21 779 | snprintf(queue->name, sizeof(queue->name), "%s-q%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 780 | be->vif->dev->name, queue->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?