Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reviewed-by: Takashi Sakamoto <[email protected]>
- Loading branch information