summaryrefslogtreecommitdiff
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2014-11-19 13:52:00 +0300
committerStefan Richter <stefanr@s5r6.in-berlin.de>2014-12-10 22:53:02 +0300
commit0238507b951857360461b0635111e7376ffd44d1 (patch)
treec6952e34b302fc2f3fac4fbdcffa369bf264d611 /mm/mempolicy.c
parent51b04d59c27430a57c347b55478415c342009035 (diff)
downloadlinux-0238507b951857360461b0635111e7376ffd44d1.tar.xz
firewire: core: document fw_csr_string's truncation of long strings
fw_csr_string() truncates and terminates target strings like strlcpy() does. Unlike strlcpy(), it returns the target strlen, not the source strlen, hence users of fw_csr_string() are unable to detect truncation. Point this behavior out in the kerneldoc comment. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions