aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/firewire/core-device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/firewire/core-device.c b/drivers/firewire/core-device.c
index 2c6d5e118ac1..f9e3aee6a211 100644
--- a/drivers/firewire/core-device.c
+++ b/drivers/firewire/core-device.c
@@ -115,6 +115,9 @@ static int textual_leaf_to_string(const u32 *block, char *buf, size_t size)
115 * 115 *
116 * The string is taken from a minimal ASCII text descriptor leaf after 116 * The string is taken from a minimal ASCII text descriptor leaf after
117 * the immediate entry with @key. The string is zero-terminated. 117 * the immediate entry with @key. The string is zero-terminated.
118 * An overlong string is silently truncated such that it and the
119 * zero byte fit into @size.
120 *
118 * Returns strlen(buf) or a negative error code. 121 * Returns strlen(buf) or a negative error code.
119 */ 122 */
120int fw_csr_string(const u32 *directory, int key, char *buf, size_t size) 123int fw_csr_string(const u32 *directory, int key, char *buf, size_t size)