commit | 0238507b951857360461b0635111e7376ffd44d1 | [log] [tgz] |
---|---|---|
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | Wed Nov 19 11:52:00 2014 +0100 |
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | Wed Dec 10 20:53:02 2014 +0100 |
tree | c6952e34b302fc2f3fac4fbdcffa369bf264d611 | |
parent | 51b04d59c27430a57c347b55478415c342009035 [diff] |
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>