Skip to content
Snippets Groups Projects
Commit 1359798f authored by Martin Wilck's avatar Martin Wilck Committed by Christoph Hellwig
Browse files

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: 01f33c33 "string.h: add memcpy_and_pad()"
Signed-off-by: default avatarMartin Wilck <mwilck@suse.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 044a9df1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment