Skip to contentSkip to conversation

infiniband: fix ulp/opa_vnic/opa_vnic_vema.c kernel-doc notation

PATCH Applied Randy Dunlap 2 participants 2 messages Jan 6, 2018 – Jan 9, 2018 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 4/8 infiniband: fix ulp/opa_vnic/opa_vnic_vema.c kernel-doc notation

Use correct parameter name and description in kernel-doc notation to eliminate a kernel-doc warning.

../drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c:730: warning: Excess function parameter 'cport' description in 'opa_vnic_vema_send_trap'

Cc Doug Ledford <[email protected]>
Cc Jason Gunthorpe <jgg-VPRAkNaXOzVWk0Htik3J/[email protected]>
---
 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c +1 -1
@@ -710,7 +710,7 @@ vema_get_port(struct opa_vnic_ctrl_port
 
 /**
  * opa_vnic_vema_send_trap -- This function sends a trap to the EM
- * @cport: pointer to vnic control port
+ * @adapter: pointer to vnic adapter
  * @data: pointer to trap data filled by calling function
  * @lid:  issuers lid (encap_slid from vesw_port_info)
  *
Signature · 4 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 5a5016b1.c149620a.ecab3.486f-ATjtLOhZ0NVl57MIdRCFDg@public.gmane.org

#2 lore raw
Quoted 18 lines · Randy Dunlap

Use correct parameter name and description in kernel-doc notation to eliminate a kernel-doc warning.

../drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c:730: warning: Excess function parameter 'cport' description in 'opa_vnic_vema_send_trap'

Cc Doug Ledford <[email protected]>
Cc Jason Gunthorpe <jgg-VPRAkNaXOzVWk0Htik3J/[email protected]>
---
  drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c vema_get_port(struct opa_vnic_ctrl_port · line 716

Quoted 8 lines
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c +1 -1
@@ -710,7 +710,7 @@ vema_get_port(struct opa_vnic_ctrl_port
 
  /**
   * opa_vnic_vema_send_trap -- This function sends a trap to the EM
- * @cport: pointer to vnic control port
+ * @adapter: pointer to vnic adapter
   * @data: pointer to trap data filled by calling function
   * @lid:  issuers lid (encap_slid from vesw_port_info)
   *

Thanks!

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html