aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLiu, Changcheng <changcheng.liu@intel.com>2019-07-25 21:22:09 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-25 18:12:20 +0200
commit6389a62ff798e781567645c0b0ca3dd7b8a4289d (patch)
treea541c84683648c8615482a5a9e381a4601fd95b5 /tools/perf/scripts/python/export-to-sqlite.py
parentdt-bindings: usb: mtu3: fix typo of DMA clock name (diff)
downloadwireguard-linux-6389a62ff798e781567645c0b0ca3dd7b8a4289d.tar.xz
wireguard-linux-6389a62ff798e781567645c0b0ca3dd7b8a4289d.zip
usbip: tools: fix GCC8 warning for strncpy
GCC8 started emitting warning about using strncpy with number of bytes exactly equal destination size which could lead to non-zero terminated string being copied. Use "SYSFS_PATH_MAX - 1" & "SYSFS_BUS_ID_SIZE - 1" as number of bytes to ensure name is always zero-terminated. Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com> Acked-by: Shuah Khan <skhan@linuxfoundation.org> Link: https://lore.kernel.org/r/20190725132209.GA27590@jerryopenix Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions