summaryrefslogtreecommitdiff
path: root/net/sunrpc/svcauth_unix.c
diff options
context:
space:
mode:
authorMartin Wilck <mwilck@suse.com>2017-09-06 14:36:57 +0200
committerAlexander Grund <flamefire89@gmail.com>2024-03-07 18:16:51 +0100
commit603fe30acf57a20d48ceec9fccb78715f5d589c9 (patch)
tree5775be663331065ff6ea42b03f72a894631ad840 /net/sunrpc/svcauth_unix.c
parent02205a347c40cfbcc5ce34e4ecd63ea821221237 (diff)
string.h: un-fortify memcpy_and_pad
commit 1359798f9d4082eb04575efdd19512fbd9c28464 upstream. 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()" Change-Id: I8bb1ec4490e27d450ba2042074d6f228b102462a Signed-off-by: Martin Wilck <mwilck@suse.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alexander Grund <theflamefire89@gmail.com>
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
0 files changed, 0 insertions, 0 deletions