]> git.karo-electronics.de Git - linux-beck.git/commit
staging: android: ashmem: convert range macros to inlines
authorGuillaume Tucker <guillaume.tucker@gmail.com>
Mon, 5 Dec 2016 18:55:23 +0000 (18:55 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Dec 2016 09:18:07 +0000 (10:18 +0100)
commit40270ca0de2deef44ba53c4fd88dc39fddcd006d
tree24c764d68047358cd6240a5488c73c4188fb1010
parente895f00a84965a2fef2cee0cb06f2f59154186f0
staging: android: ashmem: convert range macros to inlines

Convert range_size and range_on_lru macros to inline functions to
fix checkpatch check:

  CHECK: Macro argument reuse 'range' - possible side-effects?

Signed-off-by: Guillaume Tucker <guillaume.tucker@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ashmem.c