Buildresult: linus-rand/x86_64-randconfig/x86_64-gcc8 built on Aug 21 2018, 11:22
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Aug 21 2018, 11:22
Duration:
0:03:25.353026
Builder:
ka2
Revision:
Raise the minimum required gcc version to 4.6 (
cafa0010cd51fb711fdcb50fc55f394c5f167a0a)
Target:
linus-rand/x86_64-randconfig/x86_64-gcc8
Branch:
linus-rand
Compiler:
x86_64-gcc8
(x86_64-linux-gcc (GCC) 8.1.0)
Config:
randconfig
(
download
)
Log:
Download original
Possible warnings (41)
include/trace/events/fscache.h:212:7: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation] include/trace/events/fscache.h:212:7: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation] fs/ext4/super.c:344:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] fs/ext4/super.c:349:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] kernel/trace/blktrace.c:500:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:223:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:277:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:299:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:324:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:375:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:179:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:99:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:660:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:586:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:69:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:299:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:277:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:179:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:99:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:586:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:69:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:324:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:660:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:223:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:375:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/wbt.h:36:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/wbt.h:141:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/wbt.h:36:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/wbt.h:70:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/wbt.h:106:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/wbt.h:141:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/wbt.h:70:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/wbt.h:106:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] lib/ubsan.c:432:1: warning: ignoring attribute 'noreturn' in declaration of a built-in function '__ubsan_handle_builtin_unreachable' because it conflicts with attribute 'const' [-Wattributes] drivers/misc/c2port/core.c:929:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] drivers/nvme/host/core.c:2079:3: warning: 'strncpy' output may be truncated copying 223 bytes from a string of length 255 [-Wstringop-truncation] drivers/scsi/3w-sas.c:1328:3: warning: 'strncpy' output truncated before terminating nul copying 11 bytes from a string of the same length [-Wstringop-truncation] drivers/scsi/ch.c:652:4: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] drivers/scsi/ch.c:656:4: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] drivers/scsi/ch.c:660:4: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] drivers/scsi/ch.c:664:4: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
Full Log
# git rev-parse -q --verify cafa0010cd51fb711fdcb50fc55f394c5f167a0a^{commit} cafa0010cd51fb711fdcb50fc55f394c5f167a0a already have revision, skipping fetch # git checkout -q -f -B kisskb cafa0010cd51fb711fdcb50fc55f394c5f167a0a # git clean -qxdf # < git log -1 # commit cafa0010cd51fb711fdcb50fc55f394c5f167a0a # Author: Joe Perches <joe@perches.com> # Date: Mon Aug 20 13:15:26 2018 -0700 # # Raise the minimum required gcc version to 4.6 # # Various architectures fail to build properly with older versions of the # gcc compiler. # # An example from Guenter Roeck in thread [1]: # > # > In file included from ./include/linux/mm.h:17:0, # > from ./include/linux/pid_namespace.h:7, # > from ./include/linux/ptrace.h:10, # > from arch/openrisc/kernel/asm-offsets.c:32: # > ./include/linux/mm_types.h:497:16: error: flexible array member in otherwise empty struct # > # > This is just an example with gcc 4.5.1 for or32. I have seen the problem # > with gcc 4.4 (for unicore32) as well. # # So update the minimum required version of gcc to 4.6. # # [1] https://lore.kernel.org/lkml/20180814170904.GA12768@roeck-us.net/ # # Miscellanea: # # - Update Documentation/process/changes.rst # # - Remove and consolidate version test blocks in compiler-gcc.h for # versions lower than 4.6 # # Signed-off-by: Joe Perches <joe@perches.com> # Reviewed-by: Kees Cook <keescook@chromium.org> # Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < git log --format=%s --max-count=1 cafa0010cd51fb711fdcb50fc55f394c5f167a0a # < make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig KCONFIG_SEED=0xFBBACC92 # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # yes \n | make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- In file included from /kisskb/src/include/trace/define_trace.h:97, from /kisskb/src/include/trace/events/fscache.h:537, from /kisskb/src/fs/fscache/internal.h:32, from /kisskb/src/fs/fscache/main.c:20: /kisskb/src/include/trace/events/fscache.h: In function 'perf_trace_fscache_netfs': /kisskb/src/include/trace/events/fscache.h:212:7: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation] strncpy(__entry->name, netfs->name, 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/perf.h:66:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/fscache.h:200:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(fscache_netfs, ^~~~~~~~~~~ /kisskb/src/include/trace/events/fscache.h:210:6: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/trace/define_trace.h:96, from /kisskb/src/include/trace/events/fscache.h:537, from /kisskb/src/fs/fscache/internal.h:32, from /kisskb/src/fs/fscache/main.c:20: /kisskb/src/include/trace/events/fscache.h: In function 'trace_event_raw_event_fscache_netfs': /kisskb/src/include/trace/events/fscache.h:212:7: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation] strncpy(__entry->name, netfs->name, 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/fscache.h:200:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(fscache_netfs, ^~~~~~~~~~~ /kisskb/src/include/trace/events/fscache.h:210:6: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/fs/ext4/super.c: In function '__save_error_info': /kisskb/src/fs/ext4/super.c:344:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(es->s_last_error_func, func, sizeof(es->s_last_error_func)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/super.c:349:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(es->s_first_error_func, func, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(es->s_first_error_func)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'do_blk_trace_setup', inlined from '__blk_trace_setup' at /kisskb/src/kernel/trace/blktrace.c:589:8: /kisskb/src/kernel/trace/blktrace.c:500:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(buts->name, name, BLKTRACE_BDEV_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/trace/define_trace.h:97, from /kisskb/src/include/trace/events/writeback.h:762, from /kisskb/src/fs/fs-writeback.c:98: /kisskb/src/include/trace/events/writeback.h: In function 'perf_trace_writeback_work_class': /kisskb/src/include/trace/events/writeback.h:223:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ wb->bdi->dev ? dev_name(wb->bdi->dev) : "(unknown)", 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/perf.h:66:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:222:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'perf_trace_writeback_class': /kisskb/src/include/trace/events/writeback.h:277:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(wb->bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/perf.h:66:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:276:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'perf_trace_writeback_bdi_register': /kisskb/src/include/trace/events/writeback.h:299:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/perf.h:66:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:292:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(writeback_bdi_register, ^~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h:298:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'perf_trace_wbc_class': /kisskb/src/include/trace/events/writeback.h:324:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/perf.h:66:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:323:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'perf_trace_writeback_queue_io': /kisskb/src/include/trace/events/writeback.h:375:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(wb->bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/perf.h:66:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:360:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(writeback_queue_io, ^~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h:373:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'perf_trace_writeback_write_inode_template': /kisskb/src/include/trace/events/writeback.h:179:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ dev_name(inode_to_bdi(inode)->dev), 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/perf.h:66:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:178:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'perf_trace_writeback_dirty_inode_template': /kisskb/src/include/trace/events/writeback.h:99:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ bdi->dev ? dev_name(bdi->dev) : "(unknown)", 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/perf.h:66:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:95:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'perf_trace_writeback_single_inode_template': /kisskb/src/include/trace/events/writeback.h:660:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ dev_name(inode_to_bdi(inode)->dev), 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/perf.h:66:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:659:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'perf_trace_writeback_sb_inodes_requeue': /kisskb/src/include/trace/events/writeback.h:586:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ dev_name(inode_to_bdi(inode)->dev), 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/perf.h:66:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:572:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(writeback_sb_inodes_requeue, ^~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h:585:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'perf_trace_writeback_dirty_page': /kisskb/src/include/trace/events/writeback.h:69:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ mapping ? dev_name(inode_to_bdi(mapping->host)->dev) : "(unknown)", 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/perf.h:66:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:56:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(writeback_dirty_page, ^~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h:68:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/trace/define_trace.h:96, from /kisskb/src/include/trace/events/writeback.h:762, from /kisskb/src/fs/fs-writeback.c:98: /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_bdi_register': /kisskb/src/include/trace/events/writeback.h:299:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:292:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(writeback_bdi_register, ^~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h:298:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_class': /kisskb/src/include/trace/events/writeback.h:277:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(wb->bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:276:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_write_inode_template': /kisskb/src/include/trace/events/writeback.h:179:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ dev_name(inode_to_bdi(inode)->dev), 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:178:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_dirty_inode_template': /kisskb/src/include/trace/events/writeback.h:99:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ bdi->dev ? dev_name(bdi->dev) : "(unknown)", 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:95:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_sb_inodes_requeue': /kisskb/src/include/trace/events/writeback.h:586:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ dev_name(inode_to_bdi(inode)->dev), 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:572:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(writeback_sb_inodes_requeue, ^~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h:585:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_dirty_page': /kisskb/src/include/trace/events/writeback.h:69:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ mapping ? dev_name(inode_to_bdi(mapping->host)->dev) : "(unknown)", 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:56:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(writeback_dirty_page, ^~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h:68:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_wbc_class': /kisskb/src/include/trace/events/writeback.h:324:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:323:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_single_inode_template': /kisskb/src/include/trace/events/writeback.h:660:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ dev_name(inode_to_bdi(inode)->dev), 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:659:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_work_class': /kisskb/src/include/trace/events/writeback.h:223:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ wb->bdi->dev ? dev_name(wb->bdi->dev) : "(unknown)", 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:222:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_queue_io': /kisskb/src/include/trace/events/writeback.h:375:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(wb->bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:360:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(writeback_queue_io, ^~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h:373:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/trace/define_trace.h:97, from /kisskb/src/include/trace/events/wbt.h:154, from /kisskb/src/block/blk-wbt.c:31: /kisskb/src/include/trace/events/wbt.h: In function 'perf_trace_wbt_stat': /kisskb/src/include/trace/events/wbt.h:36:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/perf.h:66:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/wbt.h:15:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(wbt_stat, ^~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h:35:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h: In function 'perf_trace_wbt_timer': /kisskb/src/include/trace/events/wbt.h:141:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/perf.h:66:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/wbt.h:126:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(wbt_timer, ^~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h:140:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/trace/define_trace.h:96, from /kisskb/src/include/trace/events/wbt.h:154, from /kisskb/src/block/blk-wbt.c:31: /kisskb/src/include/trace/events/wbt.h: In function 'trace_event_raw_event_wbt_stat': /kisskb/src/include/trace/events/wbt.h:36:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/wbt.h:15:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(wbt_stat, ^~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h:35:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/trace/define_trace.h:97, from /kisskb/src/include/trace/events/wbt.h:154, from /kisskb/src/block/blk-wbt.c:31: /kisskb/src/include/trace/events/wbt.h: In function 'perf_trace_wbt_lat': /kisskb/src/include/trace/events/wbt.h:70:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/perf.h:66:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/wbt.h:58:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(wbt_lat, ^~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h:69:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h: In function 'perf_trace_wbt_step': /kisskb/src/include/trace/events/wbt.h:106:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/perf.h:66:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/wbt.h:87:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(wbt_step, ^~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h:105:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/trace/define_trace.h:96, from /kisskb/src/include/trace/events/wbt.h:154, from /kisskb/src/block/blk-wbt.c:31: /kisskb/src/include/trace/events/wbt.h: In function 'trace_event_raw_event_wbt_timer': /kisskb/src/include/trace/events/wbt.h:141:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/wbt.h:126:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(wbt_timer, ^~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h:140:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h: In function 'trace_event_raw_event_wbt_lat': /kisskb/src/include/trace/events/wbt.h:70:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/wbt.h:58:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(wbt_lat, ^~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h:69:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h: In function 'trace_event_raw_event_wbt_step': /kisskb/src/include/trace/events/wbt.h:106:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/wbt.h:87:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(wbt_step, ^~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h:105:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/lib/ubsan.c:432:1: warning: ignoring attribute 'noreturn' in declaration of a built-in function '__ubsan_handle_builtin_unreachable' because it conflicts with attribute 'const' [-Wattributes] { ^ <built-in>: note: previous declaration here /kisskb/src/drivers/misc/c2port/core.c: In function 'c2port_device_register': /kisskb/src/drivers/misc/c2port/core.c:929:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(c2dev->name, name, C2PORT_NAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'nvme_init_subnqn', inlined from 'nvme_init_subsystem' at /kisskb/src/drivers/nvme/host/core.c:2225:2, inlined from 'nvme_init_identify' at /kisskb/src/drivers/nvme/host/core.c:2372:9: /kisskb/src/drivers/nvme/host/core.c:2079:3: warning: 'strncpy' output may be truncated copying 223 bytes from a string of length 255 [-Wstringop-truncation] strncpy(subsys->subnqn, id->subnqn, NVMF_NQN_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/3w-sas.c: In function 'twl_reset_sequence': /kisskb/src/drivers/scsi/3w-sas.c:1328:3: warning: 'strncpy' output truncated before terminating nul copying 11 bytes from a string of the same length [-Wstringop-truncation] strncpy(tw_dev->tw_compat_info.driver_version, TW_DRIVER_VERSION, strlen(TW_DRIVER_VERSION)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ch.c: In function 'ch_ioctl': /kisskb/src/drivers/scsi/ch.c:652:4: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(vparams.cvp_label1,vendor_labels[0],16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ch.c:656:4: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(vparams.cvp_label2,vendor_labels[1],16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ch.c:660:4: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(vparams.cvp_label3,vendor_labels[2],16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ch.c:664:4: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(vparams.cvp_label4,vendor_labels[3],16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 # Build took: 0:03:25.353026
© Michael Ellerman 2006-2018.