summaryrefslogtreecommitdiffstats
path: root/drivers/misc/habanalabs/firmware_if.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-07-01 09:58:36 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-01 15:05:36 +0200
commita0c11b3c91e053128d13d988de8b9bcb76c5adfe (patch)
tree042defc46f2da6bfe3711c1d3e708249c6094c9d /drivers/misc/habanalabs/firmware_if.c
parent6e47fc8a68230c8803db2724b8a22f2725753386 (diff)
downloadlinux-a0c11b3c91e053128d13d988de8b9bcb76c5adfe.tar.bz2
misc: habanalabs: firmware_if: Add missing 'fw_name' and 'dst' entries to function header
Looks as though documentation for these function arguments have been missing since the driver's inception last year. Fixes the following W=1 kernel build warnings: drivers/misc/habanalabs/firmware_if.c:26: warning: Function parameter or member 'fw_name' not described in 'hl_fw_load_fw_to_device' drivers/misc/habanalabs/firmware_if.c:26: warning: Function parameter or member 'dst' not described in 'hl_fw_load_fw_to_device' Cc: Oded Gabbay <oded.gabbay@gmail.com> Cc: Tomer Tayar <ttayar@habana.ai> Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Link: https://lore.kernel.org/r/20200701085853.164358-4-lee.jones@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/habanalabs/firmware_if.c')
-rw-r--r--drivers/misc/habanalabs/firmware_if.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/misc/habanalabs/firmware_if.c b/drivers/misc/habanalabs/firmware_if.c
index baf790cf4b78..15e0793da655 100644
--- a/drivers/misc/habanalabs/firmware_if.c
+++ b/drivers/misc/habanalabs/firmware_if.c
@@ -15,7 +15,10 @@
/**
* hl_fw_load_fw_to_device() - Load F/W code to device's memory.
+ *
* @hdev: pointer to hl_device structure.
+ * @fw_name: the firmware image name
+ * @dst: IO memory mapped address space to copy firmware to
*
* Copy fw code from firmware file to device memory.
*