diff options
| author | Larry Finger <[email protected]> | 2018-08-27 13:46:45 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-09-10 10:18:32 +0200 |
| commit | 86eac24dbb7b0acc8608a52d42bc18e85c78d7ff (patch) | |
| tree | c8750d6065612e7e7807242d793751cfa2058a14 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | f72403461bd40658fe483c4caba592c55b84521a (diff) | |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions