Skip to content

Commit 45677bc

Browse files
Wang Haidavem330
authored andcommitted
net: cxgb3: Fix some kernel-doc warnings
Fixes the following W=1 kernel build warning(s): drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:2209: warning: Excess function parameter 'adapter' description in 'clear_sge_ctxt' drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:2975: warning: Excess function parameter 'adapter' description in 't3_set_proto_sram' Reported-by: Hulk Robot <[email protected]> Signed-off-by: Wang Hai <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 3c9e154 commit 45677bc

File tree

1 file changed

+2
-2
lines changed
  • drivers/net/ethernet/chelsio/cxgb3

1 file changed

+2
-2
lines changed

drivers/net/ethernet/chelsio/cxgb3/t3_hw.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2195,7 +2195,7 @@ static int t3_sge_write_context(struct adapter *adapter, unsigned int id,
21952195

21962196
/**
21972197
* clear_sge_ctxt - completely clear an SGE context
2198-
* @adapter: the adapter
2198+
* @adap: the adapter
21992199
* @id: the context id
22002200
* @type: the context type
22012201
*
@@ -2966,7 +2966,7 @@ static void ulp_config(struct adapter *adap, const struct tp_params *p)
29662966

29672967
/**
29682968
* t3_set_proto_sram - set the contents of the protocol sram
2969-
* @adapter: the adapter
2969+
* @adap: the adapter
29702970
* @data: the protocol image
29712971
*
29722972
* Write the contents of the protocol SRAM.

0 commit comments

Comments
 (0)