diff options
author | Michael J. Ruhl <michael.j.ruhl@intel.com> | 2017-05-04 14:14:39 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-05-05 01:31:46 +0200 |
commit | f4cd876529194b2d3f653c645ba203688e9e4ba3 (patch) | |
tree | fdbaf7a8996b996e7b8e005c5a7c67c90dd41194 /drivers/infiniband/hw/hfi1/driver.c | |
parent | IB/hfi1: Fix a subcontext memory leak (diff) | |
download | linux-f4cd876529194b2d3f653c645ba203688e9e4ba3.tar.xz linux-f4cd876529194b2d3f653c645ba203688e9e4ba3.zip |
IB/hfi1: Name function prototype parameters
To improve the readability of function prototypes, give the parameters
names.
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>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/driver.c')
-rw-r--r-- | drivers/infiniband/hw/hfi1/driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/hfi1/driver.c b/drivers/infiniband/hw/hfi1/driver.c index 527895487175..fb319d2a579e 100644 --- a/drivers/infiniband/hw/hfi1/driver.c +++ b/drivers/infiniband/hw/hfi1/driver.c @@ -85,8 +85,8 @@ module_param_named(cu, hfi1_cu, uint, S_IRUGO); MODULE_PARM_DESC(cu, "Credit return units"); unsigned long hfi1_cap_mask = HFI1_CAP_MASK_DEFAULT; -static int hfi1_caps_set(const char *, const struct kernel_param *); -static int hfi1_caps_get(char *, const struct kernel_param *); +static int hfi1_caps_set(const char *val, const struct kernel_param *kp); +static int hfi1_caps_get(char *buffer, const struct kernel_param *kp); static const struct kernel_param_ops cap_ops = { .set = hfi1_caps_set, .get = hfi1_caps_get |