]> Git Repo - linux.git/commitdiff
IB/hfi1: Fix comment on default hdr entry size
authorMike Marciniszyn <[email protected]>
Mon, 4 Jun 2018 18:44:11 +0000 (11:44 -0700)
committerJason Gunthorpe <[email protected]>
Mon, 4 Jun 2018 21:29:48 +0000 (15:29 -0600)
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]>
drivers/infiniband/hw/hfi1/init.c

index 561ad66d0ab32b259ba80f35893f8ecca0d341a5..f110842b91f56ba4a95f786df282b1d11cf41be8 100644 (file)
@@ -113,8 +113,8 @@ module_param_named(rcvhdrcnt, rcvhdrcnt, uint, S_IRUGO);
 MODULE_PARM_DESC(rcvhdrcnt, "Receive header queue count (default 2048)");
 
 static uint hfi1_hdrq_entsize = 32;
-module_param_named(hdrq_entsize, hfi1_hdrq_entsize, uint, S_IRUGO);
-MODULE_PARM_DESC(hdrq_entsize, "Size of header queue entries: 2 - 8B, 16 - 64B (default), 32 - 128B");
+module_param_named(hdrq_entsize, hfi1_hdrq_entsize, uint, 0444);
+MODULE_PARM_DESC(hdrq_entsize, "Size of header queue entries: 2 - 8B, 16 - 64B, 32 - 128B (default)");
 
 unsigned int user_credit_return_threshold = 33;        /* default is 33% */
 module_param(user_credit_return_threshold, uint, S_IRUGO);
This page took 0.05987 seconds and 4 git commands to generate.