diff options
| author | Lee Jones <[email protected]> | 2021-04-14 19:10:34 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-05-10 11:19:23 +0200 |
| commit | 9a6ce484e88520e5cbdd1970b9fd8d5f5f33db8d (patch) | |
| tree | abea3c0432c60b33747b75617e72fc62916cce78 | |
| parent | 7f201acf475de7109029812aa5079d1448f0d269 (diff) | |
staging: android: ashmem: Supply description for 'new_range'
Fixes the following W=1 kernel build warning(s):
drivers/staging/android/ashmem.c:189: warning: Function parameter or member 'new_range' not described in 'range_alloc'
Cc: Greg Kroah-Hartman <[email protected]>
Cc: "Arve Hjønnevåg" <[email protected]>
Cc: Todd Kjos <[email protected]>
Cc: Martijn Coenen <[email protected]>
Cc: Joel Fernandes <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Hridya Valsaraju <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Cc: Robert Love <[email protected]>
Cc: [email protected]
Acked-by: Todd Kjos <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | drivers/staging/android/ashmem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c index d66a64e42273..8ee4320a5dc6 100644 --- a/drivers/staging/android/ashmem.c +++ b/drivers/staging/android/ashmem.c @@ -179,6 +179,7 @@ static inline void lru_del(struct ashmem_range *range) * @purged: Initial purge status (ASMEM_NOT_PURGED or ASHMEM_WAS_PURGED) * @start: The starting page (inclusive) * @end: The ending page (inclusive) + * @new_range: The placeholder for the new range * * This function is protected by ashmem_mutex. */ |