Commit 15b209cd authored by Zhengchao Shao's avatar Zhengchao Shao Committed by Jakub Kicinski

net: hinic: modify kernel doc comments

The type of cmdq_free_page() hinic_set_pf_action() and
link_status_event_handler() are void, modify the comments.
Signed-off-by: default avatarZhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 3f5b606d
...@@ -115,8 +115,6 @@ int hinic_msix_attr_cnt_clear(struct hinic_hwif *hwif, u16 msix_index) ...@@ -115,8 +115,6 @@ int hinic_msix_attr_cnt_clear(struct hinic_hwif *hwif, u16 msix_index)
* hinic_set_pf_action - set action on pf channel * hinic_set_pf_action - set action on pf channel
* @hwif: the HW interface of a pci function device * @hwif: the HW interface of a pci function device
* @action: action on pf channel * @action: action on pf channel
*
* Return 0 - Success, negative - Failure
**/ **/
void hinic_set_pf_action(struct hinic_hwif *hwif, enum hinic_pf_action action) void hinic_set_pf_action(struct hinic_hwif *hwif, enum hinic_pf_action action)
{ {
......
...@@ -175,8 +175,6 @@ static int cmdq_allocate_page(struct hinic_cmdq_pages *cmdq_pages) ...@@ -175,8 +175,6 @@ static int cmdq_allocate_page(struct hinic_cmdq_pages *cmdq_pages)
/** /**
* cmdq_free_page - free page from cmdq * cmdq_free_page - free page from cmdq
* @cmdq_pages: the pages of the cmdq queue struct that hold the page * @cmdq_pages: the pages of the cmdq queue struct that hold the page
*
* Return 0 - Success, negative - Failure
**/ **/
static void cmdq_free_page(struct hinic_cmdq_pages *cmdq_pages) static void cmdq_free_page(struct hinic_cmdq_pages *cmdq_pages)
{ {
......
...@@ -960,8 +960,6 @@ static void hinic_refresh_nic_cfg(struct hinic_dev *nic_dev) ...@@ -960,8 +960,6 @@ static void hinic_refresh_nic_cfg(struct hinic_dev *nic_dev)
* @in_size: input size * @in_size: input size
* @buf_out: output buffer * @buf_out: output buffer
* @out_size: returned output size * @out_size: returned output size
*
* Return 0 - Success, negative - Failure
**/ **/
static void link_status_event_handler(void *handle, void *buf_in, u16 in_size, static void link_status_event_handler(void *handle, void *buf_in, u16 in_size,
void *buf_out, u16 *out_size) void *buf_out, u16 *out_size)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment