diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2014-11-10 14:22:39 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2014-11-10 14:22:39 +0530 |
commit | 81a9e6025aee0fc52ee4995cc9f452a4dccee8b2 (patch) | |
tree | 20490f55a058495090eed23bd3ebffa387b00054 | |
parent | 6ed7bb6460e154ecd49868a7f5209eb242371dc0 (diff) |
staging: android: lowmemorykiller: Fix __module_param_call build errortracking-linaro-android-3.18-llct-20141117.0tracking-linaro-android-3.18-llct-20141110.0
Fix build error related to "__module_param_call":
-----8<-----
drivers/staging/android/lowmemorykiller.c:282:28:
error: macro "__module_param_call" requires 7 arguments, but only 6 given
----->8-----
Upstream commit 91f9d330cc14932084c37751997213cb0e7ea882
"module: make it possible to have unsafe, tainting module params",
adds an additional argument in __module_param_call() which needed
to be taken care of in drivers/staging/android/lowmemorykiller.c
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r-- | drivers/staging/android/lowmemorykiller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemorykiller.c index 331a9d8fc148..3a3e4f8bc6a7 100644 --- a/drivers/staging/android/lowmemorykiller.c +++ b/drivers/staging/android/lowmemorykiller.c @@ -279,7 +279,7 @@ module_param_named(cost, lowmem_shrinker.seeks, int, S_IRUGO | S_IWUSR); __module_param_call(MODULE_PARAM_PREFIX, adj, &lowmem_adj_array_ops, .arr = &__param_arr_adj, - S_IRUGO | S_IWUSR, -1); + S_IRUGO | S_IWUSR, -1, 0); __MODULE_PARM_TYPE(adj, "array of short"); #else module_param_array_named(adj, lowmem_adj, short, &lowmem_adj_size, |