Skip to content

Commit

Permalink
IB/hfi1: Get rid of a warning
Browse files Browse the repository at this point in the history
The right markup for a variable is @foo, and not @foo[].

Using a wrong markup caused this warning:

	./drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:243: WARNING: Inline strong start-string without end-string.

Link: https://lore.kernel.org/r/9dce702510505556d75a13d9641e09218a4b4a65.1584456635.git.mchehab+huawei@kernel.org
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
  • Loading branch information
mchehab authored and jgunthorpe committed Mar 27, 2020
1 parent e0b0722 commit a4da83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ struct opa_veswport_mactable_entry {
* @offset: mac table starting offset
* @num_entries: Number of entries to get or set
* @mac_tbl_digest: mac table digest
* @tbl_entries[]: Array of table entries
* @tbl_entries: Array of table entries
*
* The EM sends down this structure in a MAD indicating
* the starting offset in the forwarding table that this
Expand Down

0 comments on commit a4da83c

Please sign in to comment.