../drivers/char/virtio_console.c: In function ‘add_port.isra’: ../drivers/char/virtio_console.c:1427:63: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 1427 | snprintf(debugfs_name, sizeof(debugfs_name), "vport%up%u", | ^~ ../drivers/char/virtio_console.c:1427:54: note: directive argument in the range [0, 4294967294] 1427 | snprintf(debugfs_name, sizeof(debugfs_name), "vport%up%u", | ^~~~~~~~~~~~ ../drivers/char/virtio_console.c:1427:9: note: ‘snprintf’ output between 9 and 27 bytes into a destination of size 16 1427 | snprintf(debugfs_name, sizeof(debugfs_name), "vport%up%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1428 | port->portdev->vdev->index, id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/socket.c:1669:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../fs/read_write.c:159:1: warning: context imbalance in 'generic_file_llseek_size' - different lock contexts for basic block ../net/unix/af_unix.c:234:13: warning: context imbalance in 'unix_table_double_lock' - wrong count at exit ../net/unix/af_unix.c:253:28: warning: context imbalance in 'unix_table_double_unlock' - unexpected unlock ../net/unix/af_unix.c:1386:13: warning: context imbalance in 'unix_state_double_lock' - wrong count at exit ../net/unix/af_unix.c:1403:17: warning: context imbalance in 'unix_state_double_unlock' - unexpected unlock ../net/unix/af_unix.c:1519:54: warning: context imbalance in 'unix_wait_for_peer' - unexpected unlock ../net/unix/af_unix.c:1703:9: warning: context imbalance in 'unix_stream_connect' - different lock contexts for basic block ../net/unix/af_unix.c:2085:25: warning: context imbalance in 'unix_dgram_sendmsg' - unexpected unlock ../net/unix/af_unix.c:3332:20: warning: context imbalance in 'unix_get_first' - wrong count at exit ../net/unix/af_unix.c:3363:34: warning: context imbalance in 'unix_get_next' - unexpected unlock ../net/unix/af_unix.c:3393:42: warning: context imbalance in 'unix_seq_stop' - unexpected unlock ../net/unix/af_unix.c:3496:34: warning: context imbalance in 'bpf_iter_unix_hold_batch' - unexpected unlock ../mm/filemap.c: note: in included file (through ../include/linux/rculist.h, ../include/linux/dcache.h, ../include/linux/fs.h, ../include/linux/dax.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'filemap_fault_recheck_pte_none' - unexpected unlock ../include/linux/rcupdate.h:878:9: warning: context imbalance in 'filemap_map_pages' - different lock contexts for basic block ../kernel/relay.c: In function ‘relay_create_buf_file’: ../kernel/relay.c:357:42: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 357 | snprintf(tmpname, NAME_MAX, "%s%d", chan->base_filename, cpu); | ^ ../kernel/relay.c:357:9: note: ‘snprintf’ output between 2 and 266 bytes into a destination of size 255 357 | snprintf(tmpname, NAME_MAX, "%s%d", chan->base_filename, cpu); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/trace/trace.c:5657:1: warning: trying to concatenate 12722-character string (8191 bytes max) ../kernel/trace/trace.c:457:28: warning: incorrect type in argument 1 (different address spaces) ../kernel/trace/trace.c:457:28: expected struct trace_export **list ../kernel/trace/trace.c:457:28: got struct trace_export [noderef] __rcu ** ../kernel/trace/trace.c:471:33: warning: incorrect type in argument 1 (different address spaces) ../kernel/trace/trace.c:471:33: expected struct trace_export **list ../kernel/trace/trace.c:471:33: got struct trace_export [noderef] __rcu ** ../kernel/trace/trace.c:2772:38: warning: incorrect type in argument 1 (different address spaces) ../kernel/trace/trace.c:2772:38: expected struct event_filter *filter ../kernel/trace/trace.c:2772:38: got struct event_filter [noderef] __rcu *filter ../kernel/trace/trace.c:411:9: error: incompatible types in comparison expression (different address spaces): ../kernel/trace/trace.c:411:9: struct trace_export [noderef] __rcu * ../kernel/trace/trace.c:411:9: struct trace_export * ../kernel/trace/trace.c:426:9: error: incompatible types in comparison expression (different address spaces): ../kernel/trace/trace.c:426:9: struct trace_export [noderef] __rcu * ../kernel/trace/trace.c:426:9: struct trace_export * ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../drivers/char/virtio_console.c: In function ‘add_port.isra’: ../drivers/char/virtio_console.c:1427:63: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 1427 | snprintf(debugfs_name, sizeof(debugfs_name), "vport%up%u", | ^~ ../drivers/char/virtio_console.c:1427:54: note: directive argument in the range [0, 4294967294] 1427 | snprintf(debugfs_name, sizeof(debugfs_name), "vport%up%u", | ^~~~~~~~~~~~ ../drivers/char/virtio_console.c:1427:9: note: ‘snprintf’ output between 9 and 27 bytes into a destination of size 16 1427 | snprintf(debugfs_name, sizeof(debugfs_name), "vport%up%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1428 | port->portdev->vdev->index, id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/relay.c: In function ‘relay_create_buf_file’: ../kernel/relay.c:357:42: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 357 | snprintf(tmpname, NAME_MAX, "%s%d", chan->base_filename, cpu); | ^ ../kernel/relay.c:357:9: note: ‘snprintf’ output between 2 and 266 bytes into a destination of size 255 357 | snprintf(tmpname, NAME_MAX, "%s%d", chan->base_filename, cpu); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fs/read_write.c:159:1: warning: context imbalance in 'generic_file_llseek_size' - different lock contexts for basic block ../net/socket.c:1669:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../net/unix/af_unix.c:234:13: warning: context imbalance in 'unix_table_double_lock' - wrong count at exit ../net/unix/af_unix.c:253:28: warning: context imbalance in 'unix_table_double_unlock' - unexpected unlock ../net/unix/af_unix.c:1386:13: warning: context imbalance in 'unix_state_double_lock' - wrong count at exit ../net/unix/af_unix.c:1403:17: warning: context imbalance in 'unix_state_double_unlock' - unexpected unlock ../net/unix/af_unix.c:1519:54: warning: context imbalance in 'unix_wait_for_peer' - unexpected unlock ../net/unix/af_unix.c:1703:9: warning: context imbalance in 'unix_stream_connect' - different lock contexts for basic block ../net/unix/af_unix.c:2085:25: warning: context imbalance in 'unix_dgram_sendmsg' - unexpected unlock ../net/unix/af_unix.c:3332:20: warning: context imbalance in 'unix_get_first' - wrong count at exit ../net/unix/af_unix.c:3363:34: warning: context imbalance in 'unix_get_next' - unexpected unlock ../net/unix/af_unix.c:3393:42: warning: context imbalance in 'unix_seq_stop' - unexpected unlock ../net/unix/af_unix.c:3496:34: warning: context imbalance in 'bpf_iter_unix_hold_batch' - unexpected unlock ../mm/filemap.c: note: in included file (through ../include/linux/rculist.h, ../include/linux/dcache.h, ../include/linux/fs.h, ../include/linux/dax.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'filemap_fault_recheck_pte_none' - unexpected unlock ../include/linux/rcupdate.h:878:9: warning: context imbalance in 'filemap_map_pages' - different lock contexts for basic block ../kernel/trace/trace.c:5657:1: warning: trying to concatenate 12722-character string (8191 bytes max) ../kernel/trace/trace.c:457:28: warning: incorrect type in argument 1 (different address spaces) ../kernel/trace/trace.c:457:28: expected struct trace_export **list ../kernel/trace/trace.c:457:28: got struct trace_export [noderef] __rcu ** ../kernel/trace/trace.c:471:33: warning: incorrect type in argument 1 (different address spaces) ../kernel/trace/trace.c:471:33: expected struct trace_export **list ../kernel/trace/trace.c:471:33: got struct trace_export [noderef] __rcu ** ../kernel/trace/trace.c:2772:38: warning: incorrect type in argument 1 (different address spaces) ../kernel/trace/trace.c:2772:38: expected struct event_filter *filter ../kernel/trace/trace.c:2772:38: got struct event_filter [noderef] __rcu *filter ../kernel/trace/trace.c:411:9: error: incompatible types in comparison expression (different address spaces): ../kernel/trace/trace.c:411:9: struct trace_export [noderef] __rcu * ../kernel/trace/trace.c:411:9: struct trace_export * ../kernel/trace/trace.c:426:9: error: incompatible types in comparison expression (different address spaces): ../kernel/trace/trace.c:426:9: struct trace_export [noderef] __rcu * ../kernel/trace/trace.c:426:9: struct trace_export * ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?