All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bhumika Goyal <bhumirks@gmail.com>
To: outreachy-kernel@googlegroups.com
Cc: Bhumika Goyal <bhumirks@gmail.com>
Subject: [PATCH 0/2] Staging: android: Redefine macros as static inline functions
Date: Fri, 11 Mar 2016 19:33:03 +0530	[thread overview]
Message-ID: <cover.1457703530.git.bhumirks@gmail.com> (raw)

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



             reply	other threads:[~2016-03-11 14:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-11 14:03 Bhumika Goyal [this message]
2016-03-11 14:03 ` [PATCH 1/2] Staging: android: ashmem.c: Redefine macros as static inline functions 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1457703530.git.bhumirks@gmail.com \
    --to=bhumirks@gmail.com \
    --cc=outreachy-kernel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.