This is to fix some checkpatch.pl errors by converting macros to static inline functions and do a bit of clean-up in existing inline functions. I've run some Android unit tests on a HiKey board and made a small kernel-side test function to sanity check it. I realise this code is a bit stale 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: convert range macros to inlines and clean-up drivers/staging/android/ashmem.c | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) -- 2.8.1.116.g7b0d47b _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel