diff options
author | Martin Wilck <[email protected]> | 2017-09-06 14:36:57 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2017-09-11 12:29:41 -0400 |
commit | 1359798f9d4082eb04575efdd19512fbd9c28464 (patch) | |
tree | 9e7b470dbf729ee32e2e19110ff1c9069ddf78ac /tools/perf/util/trace-event-scripting.c | |
parent | 044a9df1a7cbb89f48fcc0e9e39997989342966b (diff) |
string.h: un-fortify memcpy_and_pad
The way I'd implemented the new helper memcpy_and_pad with
__FORTIFY_INLINE caused compiler warnings for certain kernel
configurations.
This helper is only used in a single place at this time, and thus
doesn't benefit much from fortification. So simplify the code
by dropping fortification support for now.
Fixes: 01f33c336e2d "string.h: add memcpy_and_pad()"
Signed-off-by: Martin Wilck <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions