# git rev-parse -q --verify d207ea8e74ff45be0838afa12bdd2492fa9dc8bc^{commit} d207ea8e74ff45be0838afa12bdd2492fa9dc8bc already have revision, skipping fetch # git checkout -q -f -B kisskb d207ea8e74ff45be0838afa12bdd2492fa9dc8bc # git clean -qxdf # < git log -1 # commit d207ea8e74ff45be0838afa12bdd2492fa9dc8bc # Merge: 2a8a2b7c49d6 66e5db4a1ccc # Author: Linus Torvalds # Date: Sun Aug 26 11:25:21 2018 -0700 # # Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip # # Pull perf updates from Thomas Gleixner: # "Kernel: # - Improve kallsyms coverage # - Add x86 entry trampolines to kcore # - Fix ARM SPE handling # - Correct PPC event post processing # # Tools: # - Make the build system more robust # - Small fixes and enhancements all over the place # - Update kernel ABI header copies # - Preparatory work for converting libtraceevnt to a shared library # - License cleanups" # # * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (100 commits) # tools arch: Update arch/x86/lib/memcpy_64.S copy used in 'perf bench mem memcpy' # tools arch x86: Update tools's copy of cpufeatures.h # perf python: Fix pyrf_evlist__read_on_cpu() interface # perf mmap: Store real cpu number in 'struct perf_mmap' # perf tools: Remove ext from struct kmod_path # perf tools: Add gzip_is_compressed function # perf tools: Add lzma_is_compressed function # perf tools: Add is_compressed callback to compressions array # perf tools: Move the temp file processing into decompress_kmodule # perf tools: Use compression id in decompress_kmodule() # perf tools: Store compression id into struct dso # perf tools: Add compression id into 'struct kmod_path' # perf tools: Make is_supported_compression() static # perf tools: Make decompress_to_file() function static # perf tools: Get rid of dso__needs_decompress() call in __open_dso() # perf tools: Get rid of dso__needs_decompress() call in symbol__disassemble() # perf tools: Get rid of dso__needs_decompress() call in read_object_code() # tools lib traceevent: Change to SPDX License format # perf llvm: Allow passing options to llc in addition to clang # perf parser: Improve error message for PMU address filters # ... # < /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 d207ea8e74ff45be0838afa12bdd2492fa9dc8bc # < 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=0xF36D0CCF # 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 # 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- /kisskb/src/scripts/unifdef.c: In function 'Mpass': /kisskb/src/scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] static void Mpass (void) { strncpy(keyword, "if ", 4); Pelif(); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/debug/kdb/kdb_io.c: In function 'kdb_getstr': /kisskb/src/kernel/debug/kdb/kdb_io.c:446:3: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(kdb_prompt_str, prompt, CMD_BUFLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/debug/kdb/kdb_support.c: In function 'kallsyms_symbol_next': /kisskb/src/kernel/debug/kdb/kdb_support.c:239:4: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(prefix_name, name, strlen(name)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/debug/kdb/kdb_support.c:239:31: note: length computed here strncpy(prefix_name, name, strlen(name)+1); ^~~~~~~~~~~~ In function 'handle_ctrl_cmd', inlined from 'kdb_local.isra.3' at /kisskb/src/kernel/debug/kdb/kdb_main.c:1323:5: /kisskb/src/kernel/debug/kdb/kdb_main.c:1106:3: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] strncpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/debug/kdb/kdb_main.c:1111:3: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] strncpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/hfsplus/xattr.c: In function 'copy_name': /kisskb/src/fs/hfsplus/xattr.c:410:3: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] strncpy(buffer, XATTR_MAC_OSX_PREFIX, XATTR_MAC_OSX_PREFIX_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_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( ^~~~~~~~~~~~~~ /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( ^~~~~~~~~~~~~~ /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_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_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( ^~~~~~~~~~~~~~ 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( ^~~~~~~~~~~~~~ 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_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_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/writeback.h:762, from /kisskb/src/fs/fs-writeback.c:98: /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( ^~~~~~~~~~~~~~ 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_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_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( ^~~~~~~~~~~~~~ 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_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_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/drivers/devfreq/devfreq.c: In function 'devfreq_add_device': /kisskb/src/drivers/devfreq/devfreq.c:593:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(devfreq->governor_name, governor_name, DEVFREQ_NAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 'ZSTD_copyRawBlock', inlined from 'ZSTD_decompressContinue' at /kisskb/src/lib/zstd/decompress.c:1811:24, inlined from 'ZSTD_decompressStream' at /kisskb/src/lib/zstd/decompress.c:2353:5: /kisskb/src/lib/zstd/decompress.c:416:2: warning: argument 1 null where non-null expected [-Wnonnull] memcpy(dst, src, srcSize); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/x86/include/asm/string.h:5, from /kisskb/src/include/linux/string.h:20, from /kisskb/src/lib/zstd/mem.h:24, from /kisskb/src/lib/zstd/bitstream.h:54, from /kisskb/src/lib/zstd/fse.h:228, from /kisskb/src/lib/zstd/decompress.c:32: /kisskb/src/lib/zstd/decompress.c: In function 'ZSTD_decompressStream': /kisskb/src/arch/x86/include/asm/string_64.h:32:14: note: in a call to function 'memcpy' declared here extern void *memcpy(void *to, const void *from, size_t len); ^~~~~~ In function 'ZSTD_setRleBlock', inlined from 'ZSTD_decompressContinue' at /kisskb/src/lib/zstd/decompress.c:1812:24, inlined from 'ZSTD_decompressStream' at /kisskb/src/lib/zstd/decompress.c:2353:5: /kisskb/src/lib/zstd/decompress.c:426:2: warning: argument 1 null where non-null expected [-Wnonnull] memset(dst, *(const BYTE *)src, regenSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/x86/include/asm/string.h:5, from /kisskb/src/include/linux/string.h:20, from /kisskb/src/lib/zstd/mem.h:24, from /kisskb/src/lib/zstd/bitstream.h:54, from /kisskb/src/lib/zstd/fse.h:228, from /kisskb/src/lib/zstd/decompress.c:32: /kisskb/src/lib/zstd/decompress.c: In function 'ZSTD_decompressStream': /kisskb/src/arch/x86/include/asm/string_64.h:51:7: note: in a call to function 'memset' declared here void *memset(void *s, int c, size_t n); ^~~~~~ In function 'ZSTD_copyRawBlock', inlined from 'ZSTD_decompressContinue' at /kisskb/src/lib/zstd/decompress.c:1811:24, inlined from 'ZSTD_decompressStream' at /kisskb/src/lib/zstd/decompress.c:2356:6: /kisskb/src/lib/zstd/decompress.c:416:2: warning: argument 1 null where non-null expected [-Wnonnull] memcpy(dst, src, srcSize); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/x86/include/asm/string.h:5, from /kisskb/src/include/linux/string.h:20, from /kisskb/src/lib/zstd/mem.h:24, from /kisskb/src/lib/zstd/bitstream.h:54, from /kisskb/src/lib/zstd/fse.h:228, from /kisskb/src/lib/zstd/decompress.c:32: /kisskb/src/lib/zstd/decompress.c: In function 'ZSTD_decompressStream': /kisskb/src/arch/x86/include/asm/string_64.h:32:14: note: in a call to function 'memcpy' declared here extern void *memcpy(void *to, const void *from, size_t len); ^~~~~~ In function 'ZSTD_setRleBlock', inlined from 'ZSTD_decompressContinue' at /kisskb/src/lib/zstd/decompress.c:1812:24, inlined from 'ZSTD_decompressStream' at /kisskb/src/lib/zstd/decompress.c:2356:6: /kisskb/src/lib/zstd/decompress.c:426:2: warning: argument 1 null where non-null expected [-Wnonnull] memset(dst, *(const BYTE *)src, regenSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/x86/include/asm/string.h:5, from /kisskb/src/include/linux/string.h:20, from /kisskb/src/lib/zstd/mem.h:24, from /kisskb/src/lib/zstd/bitstream.h:54, from /kisskb/src/lib/zstd/fse.h:228, from /kisskb/src/lib/zstd/decompress.c:32: /kisskb/src/lib/zstd/decompress.c: In function 'ZSTD_decompressStream': /kisskb/src/arch/x86/include/asm/string_64.h:51:7: note: in a call to function 'memset' declared here void *memset(void *s, int c, size_t n); ^~~~~~ In function 'nvme_init_subnqn.isra.46', 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/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/video/hdmi.c: In function 'hdmi_spd_infoframe_init': /kisskb/src/drivers/video/hdmi.c:174:2: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation] strncpy(frame->vendor, vendor, sizeof(frame->vendor)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/video/hdmi.c:175:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(frame->product, product, sizeof(frame->product)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 # Build took: 0:04:10.294107