infiniband: fix ulp/opa_vnic/opa_vnic_vema.c kernel-doc notation
authorRandy Dunlap <[email protected]>
Sat, 6 Jan 2018 00:22:04 +0000 (16:22 -0800)
committerJason Gunthorpe <[email protected]>
Thu, 11 Jan 2018 05:00:34 +0000 (22:00 -0700)
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'

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Doug Ledford <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: [email protected]
Acked-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c

index 4b615c1451e795aa087e23f449ada8e1a49bf4e1..15711dcc6f58567ffebbc9312cd6df910294f31a 100644 (file)
@@ -710,7 +710,7 @@ vema_get_port(struct opa_vnic_ctrl_port *cport, u8 port_num)
 
 /**
  * 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)
  *