summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-05-24 06:56:06 +0400
committerDavid S. Miller <davem@davemloft.net>2012-05-25 00:04:24 +0400
commit35c9646062eba15351c6d64ea0c02176e5cb66ac (patch)
tree46b29964dfbf21e6757b5ab629c6f748897d34e5 /lib/string_helpers.c
parent4efcac3a244de86593a82ca4ed945e839eb4c5af (diff)
downloadlinux-35c9646062eba15351c6d64ea0c02176e5cb66ac.tar.xz
sparc: Increase portability of strncpy_from_user() implementation.
Hide details of maximum user address calculation in a new asm/uaccess.h interface named user_addr_max(). Provide little-endian implementation in find_zero(), which should work but can probably be improved. Abstrace alignment check behind IS_UNALIGNED() macro. Kill double-semicolon, noticed by David Howells. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions