[PATCH v2 0/2] staging: android: ashmem: convert range macros to inlines and clean-up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is to fix some checkpatch.pl checks 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 (2):
  staging: android: ashmem: convert range macros to inlines
  staging: android: ashmem: clean up range inline functions

 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



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux