All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Staging: android: Redefine macros as static inline functions
@ 2016-03-11 14:03 Bhumika Goyal
  2016-03-11 14:03 ` [PATCH 1/2] Staging: android: ashmem.c: " Bhumika Goyal
  2016-03-11 14:03 ` [PATCH 2/2] Staging: android: ashmem.c: Convert macros page_range_{subsumes/subsumed_by/in}_range to static inline function Bhumika Goyal
  0 siblings, 2 replies; 4+ messages in thread
From: Bhumika Goyal @ 2016-03-11 14:03 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: Bhumika Goyal

Convert macros page_in_range, range_before_page, 
page_range_{subsumes/subsumed_by/in}_rang into static inline functions 
as static inline functions are preferred over macros. The
change can be done as the arguments at all call sites have the same type.

Bhumika Goyal (2):
  Staging: android: ashmem.c: Redefine macros as static inline functions
  Staging: android: ashmem.c: Convert macros
    page_range_{subsumes/subsumed_by/in}_range  to static inline
    function

 drivers/staging/android/ashmem.c | 35 ++++++++++++++++++++++++-----------
 1 file changed, 24 insertions(+), 11 deletions(-)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-12 12:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-11 14:03 [PATCH 0/2] Staging: android: Redefine macros as static inline functions Bhumika Goyal
2016-03-11 14:03 ` [PATCH 1/2] Staging: android: ashmem.c: " Bhumika Goyal
2016-03-11 14:03 ` [PATCH 2/2] Staging: android: ashmem.c: Convert macros page_range_{subsumes/subsumed_by/in}_range to static inline function Bhumika Goyal
2016-03-12 12:55   ` [Outreachy kernel] " Julia Lawall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.