le so it's probably not the most pressing thing
to fix in the kernel but it's the first patch I'm sending so I thought I'd pick
something easy to start with and put me through my paces. I hope it'll be
useful anyway.
Guillaume Tucker (1):
staging: android: ashmem: conve
Convert ashmem_range related macros to inline functions to fix
checkpatch errors. Clean up the code in related existing inline
functions.
Signed-off-by: Guillaume Tucker
---
drivers/staging/android/ashmem.c | 40 ++--
1 file changed, 22 insertions(+), 18
le so it's probably not the most pressing thing
to fix in the kernel but it's the first patch I'm sending so I thought I'd pick
something easy to start with and put me through my paces. I hope it'll be
useful anyway.
Guillaume Tucker (2):
staging: android: ashmem: c
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
---
drivers/staging/android/ashmem.c | 12
1 file changed, 8 insertions(+), 4 deletion
Clean up the code in inline functions that deal with page and
range addresses. Use bool instead of int for boolean return
types and remove superfluous brackets.
Signed-off-by: Guillaume Tucker
---
drivers/staging/android/ashmem.c | 28 ++--
1 file changed, 14 insertions
On 12/05/16 18:08, Greg Kroah-Hartman wrote:
> On Mon, Dec 05, 2016 at 05:34:15PM +0000, Guillaume Tucker wrote:
>> Convert ashmem_range related macros to inline functions to fix
>> checkpatch errors. Clean up the code in related existing inline
>> functions.
>
> How
On 12/06/16 07:39, Greg Kroah-Hartman wrote:
> On Mon, Dec 05, 2016 at 08:01:35PM +0000, Guillaume Tucker wrote:
>> On 12/05/16 18:08, Greg Kroah-Hartman wrote:
>>> On Mon, Dec 05, 2016 at 05:34:15PM +, Guillaume Tucker wrote:
>>>> Convert ashmem_range related mac