All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: lustre-devel@lists.lustre.org
Subject: [lustre-devel] [PATCH v3 2/5] staging: lustre: hash.c: Replace IS_PO2 by is_power_of_2
Date: Fri, 6 Nov 2015 17:10:48 -0800	[thread overview]
Message-ID: <20151107011048.GA7495@kroah.com> (raw)
In-Reply-To: <f31d304bb4f29a751f20323731b5a454f3e10460.1446079745.git.mahfouz.saif.elyazal@gmail.com>

On Thu, Oct 29, 2015 at 02:55:50AM +0200, Aya Mahfouz wrote:
> Replaces IS_PO2 by is_power_of_2. It is more accurate to use
> is_power_of_2 since it returns 1 for numbers that are powers
> of 2 only whereas IS_PO2 returns 1 for 0 and numbers that are
> powers of 2.
> 
> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
> Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
> ---
> v2:
>         -changed commit message
> 	-added Andreas Reviewed by tag
> v3:
> 	-fixed checkpatch.pl warning
> 
>  drivers/staging/lustre/lustre/libcfs/hash.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

This doesn't apply to my tree, can you please refresh it and resend?

thanks,

greg k-h

  reply	other threads:[~2015-11-07  1:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-29  0:52 [lustre-devel] [PATCH v3 0/5] Remove uses and definition of IS_PO2 Aya Mahfouz
2015-10-29  0:54 ` [lustre-devel] [PATCH v3 1/5] staging: lustre: ldlm_extent.c: replace IS_PO2 by is_power_of_2 Aya Mahfouz
2015-10-29  0:55 ` [lustre-devel] [PATCH v3 2/5] staging: lustre: hash.c: Replace " Aya Mahfouz
2015-11-07  1:10   ` Greg KH [this message]
2015-10-29  0:57 ` [lustre-devel] [PATCH v3 3/5] staging: lustre: workitem.c: replace " Aya Mahfouz
2015-10-29  0:59 ` [lustre-devel] [PATCH v3 4/5] staging: lustre: selftest.h: " Aya Mahfouz
2015-10-29  1:00 ` [lustre-devel] [PATCH v3 5/5] staging: lustre: libcfs.h: remove IS_PO2 and __is_po2 Aya Mahfouz
2015-11-07  1:11   ` Greg KH
2015-11-07 10:03     ` Aya Mahfouz

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=20151107011048.GA7495@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=lustre-devel@lists.lustre.org \
    /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.