aboutsummaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-spin-softirq.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2015-06-03 15:50:35 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-03 08:00:22 -0700
commit226a07ef0a5a2dfad4cce1a5c226c4cb7370d41f (patch)
tree7b957c610ea1df9e099173ac29e84ef7ca6856b4 /lib/locking-selftest-spin-softirq.h
parentMerge tag 'please-pull-rusty' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux (diff)
downloadlinux-dev-226a07ef0a5a2dfad4cce1a5c226c4cb7370d41f.tar.xz
linux-dev-226a07ef0a5a2dfad4cce1a5c226c4cb7370d41f.zip
lib: Clarify the return value of strnlen_user()
strnlen_user() can return a number in a range 0 to count + sizeof(unsigned long) - 1. Clarify the comment at the top of the function so that users don't think the function returns at most count+1. Signed-off-by: Jan Kara <jack@suse.cz> [ Also added commentary about preferably not using this function ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/locking-selftest-spin-softirq.h')
0 files changed, 0 insertions, 0 deletions