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:02:54 +0000 (04:02 +0900)
commit77662d35b8c5e95ad498c253d434c37e137a2eda
treefa05e2f669abf455e5390982bdc2ac5b1cfd1d2a
parent194feed06bcea86a804d2a547f34f1033faa728f
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