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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2018 19:01:35 +0000 (04:01 +0900)
commiteca2f76b1d13c2dedc24e3b405389018866ed76b
tree1497d756d5a49b3bd5f62fb2d4ec227907280dd9
parent1a767e7368d277c10e673844dfa69713e66b9b8c
IB/hfi1 Use correct type for num_user_context

[ Upstream commit 5da9e742be44d9b7c68b1bf6e1aaf46a1aa7a52b ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/hfi1/init.c