summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2018-08-20 13:48:31 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-25 15:53:48 +0100
commit3b63b0c7ceaeba6eb00be9502179d6c634c8cb1f (patch)
treee4b6c9177f7cbbb800ef37902454ea4ce8bd38aa /tools/perf/scripts/python/bin
parent321cf3b60eeec8f652a44fbcad7c1bdfbf0130ac (diff)
rtl8187: Fix warning generated when strncpy() destination length matches the sixe argument
[ Upstream commit 199ba9faca909e77ac533449ecd1248123ce89e7 ] In gcc8, when the 3rd argument (size) of a call to strncpy() matches the length of the first argument, the compiler warns of the possibility of an unterminated string. Using strlcpy() forces a null at the end. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions