diff options
author | Martin Wilck <mwilck@suse.com> | 2017-09-06 14:36:57 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-09-11 12:29:41 -0400 |
commit | 1359798f9d4082eb04575efdd19512fbd9c28464 (patch) | |
tree | 9e7b470dbf729ee32e2e19110ff1c9069ddf78ac /block/blk-mq.c | |
parent | 044a9df1a7cbb89f48fcc0e9e39997989342966b (diff) | |
download | linux-1359798f9d4082eb04575efdd19512fbd9c28464.tar.bz2 |
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 <mwilck@suse.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions