Skip to content

Commit d9a6ce6

Browse files
mmarcinijgunthorpe
authored andcommitted
IB/hfi1: Fix comment on default hdr entry size
The comment for the default header queue entry size is incorrect. Correct the comment and fix the resulting S_IRUGO warning that shows up in the widened patch context. Reviewed-by: Michael J. Ruhl <[email protected]> Signed-off-by: Mike Marciniszyn <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent ed71e86 commit d9a6ce6

File tree

1 file changed

+2
-2
lines changed
  • drivers/infiniband/hw/hfi1

1 file changed

+2
-2
lines changed

drivers/infiniband/hw/hfi1/init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ module_param_named(rcvhdrcnt, rcvhdrcnt, uint, S_IRUGO);
113113
MODULE_PARM_DESC(rcvhdrcnt, "Receive header queue count (default 2048)");
114114

115115
static uint hfi1_hdrq_entsize = 32;
116-
module_param_named(hdrq_entsize, hfi1_hdrq_entsize, uint, S_IRUGO);
117-
MODULE_PARM_DESC(hdrq_entsize, "Size of header queue entries: 2 - 8B, 16 - 64B (default), 32 - 128B");
116+
module_param_named(hdrq_entsize, hfi1_hdrq_entsize, uint, 0444);
117+
MODULE_PARM_DESC(hdrq_entsize, "Size of header queue entries: 2 - 8B, 16 - 64B, 32 - 128B (default)");
118118

119119
unsigned int user_credit_return_threshold = 33; /* default is 33% */
120120
module_param(user_credit_return_threshold, uint, S_IRUGO);

0 commit comments

Comments
 (0)