summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2018-08-27 13:46:45 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-10 10:18:32 +0200
commit86eac24dbb7b0acc8608a52d42bc18e85c78d7ff (patch)
treec8750d6065612e7e7807242d793751cfa2058a14 /tools/perf/scripts/python
parentf72403461bd40658fe483c4caba592c55b84521a (diff)
downloadkernel-86eac24dbb7b0acc8608a52d42bc18e85c78d7ff.tar.gz
staging: rtl8192e: Fix compiler warning from strncpy()
When strncpy() is called with source and destination strings the same length, gcc 8 warns that there may be an unterminated string. This section is completely reworked to use the known lengths of the strings. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions