OSDN Git Service

IB/hfi1 Use correct type for num_user_context
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Tue, 1 May 2018 12:35:43 +0000 (05:35 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 3 May 2018 19:24:47 +0000 (15:24 -0400)
commit5da9e742be44d9b7c68b1bf6e1aaf46a1aa7a52b
tree72416097072537673aeae20b67f6fdca024a1662
parentf59fb9e05109b836230813e45f71c9ecc2d5dbe6
IB/hfi1 Use correct type for num_user_context

The module parameter num_user_context is defined as 'int' and
defaults to -1.  The module_param_named() says that it is uint.

Correct module_param_named() type information and update the modinfo
text to reflect the default value.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/init.c