All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amitoj Kaur Chawla <amitoj1606@gmail.com>
To: outreachy-kernel@googlegroups.com
Subject: [PATCH 0/5] staging: Prefer using BIT Macro
Date: Fri, 16 Oct 2015 22:07:18 +0530	[thread overview]
Message-ID: <cover.1445013271.git.amitoj1606@gmail.com> (raw)

This patchset replaces bit shifting on 1 with the BIT(x) Macro

The semantic patch used to find this is:
@@ int g; @@

-(1 << g)
+BIT(g)

Amitoj Kaur Chawla (5):
  staging: rdma: hfi1: Prefer using BIT Macro
  staging: rdma: amso1100: Prefer using BIT Macro
  staging: panel: Prefer using BIT Macro
  staging: vt6656: Prefer using BIT Macro
  staging: vt6655: Prefer using BIT Macro

 drivers/staging/panel/panel.c               | 6 +++---
 drivers/staging/rdma/amso1100/c2_provider.c | 6 +++---
 drivers/staging/rdma/hfi1/file_ops.c        | 2 +-
 drivers/staging/vt6655/card.c               | 2 +-
 drivers/staging/vt6656/card.c               | 2 +-
 5 files changed, 9 insertions(+), 9 deletions(-)

-- 
1.9.1



             reply	other threads:[~2015-10-16 16:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-16 16:37 Amitoj Kaur Chawla [this message]
2015-10-16 16:39 ` [PATCH 1/5] staging: rdma: hfi1: Prefer using BIT Macro Amitoj Kaur Chawla
2015-10-16 16:40 ` [PATCH 2/5] staging: rdma: amso1100: " Amitoj Kaur Chawla
2015-10-16 16:41 ` [PATCH 3/5] staging: panel: " Amitoj Kaur Chawla
2015-10-16 16:42 ` [PATCH 4/5] staging: vt6656: " Amitoj Kaur Chawla
2015-10-16 16:43 ` [PATCH 5/5] staging: vt6655: " Amitoj Kaur Chawla

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.1445013271.git.amitoj1606@gmail.com \
    --to=amitoj1606@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.