From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
To: Amarjargal Gundjalam <amarjargal.gundjalam@gmail.com>
Cc: Julia Lawall <julia.lawall@lip6.fr>,
"outreachy-kernel@googlegroups.com"
<outreachy-kernel@googlegroups.com>
Subject: Re: [Outreachy kernel] [PATCH 3/6] staging: media: omap4iss: Replaces bit shift on 1 with BIT Macro
Date: Tue, 27 Oct 2015 13:31:45 +0530 [thread overview]
Message-ID: <20151027080145.GC22738@sudip-pc> (raw)
In-Reply-To: <20151026084806.7473ef61e6f53570ea5f575d@gmail.com>
On Mon, Oct 26, 2015 at 08:48:06AM -0700, Amarjargal Gundjalam wrote:
> On Mon, 26 Oct 2015 15:46:27 +0100 (CET)
> Julia Lawall <julia.lawall@lip6.fr> wrote:
>
> > > diff --git a/drivers/staging/media/omap4iss/iss_ipipe.h b/drivers/staging/media/omap4iss/iss_ipipe.h
> > > index c22d904..b8c1b8e0 100644
> > > --- a/drivers/staging/media/omap4iss/iss_ipipe.h
> > > +++ b/drivers/staging/media/omap4iss/iss_ipipe.h
> > > @@ -21,7 +21,7 @@ enum ipipe_input_entity {
> > > IPIPE_INPUT_IPIPEIF,
> > > };
> > >
> > > -#define IPIPE_OUTPUT_VP (1 << 0)
> > > +#define IPIPE_OUTPUT_VP BIT(0)
> >
> > Why did the amount of space change?
>
> I tried to align it with the the others below it.
>
> >
> > >
> > > /* Sink and source IPIPE pads */
> > > #define IPIPE_PAD_SINK 0
> > > diff --git a/drivers/staging/media/omap4iss/iss_ipipeif.h b/drivers/staging/media/omap4iss/iss_ipipeif.h
> > > index cbdccb9..cf8a47a 100644
> > > --- a/drivers/staging/media/omap4iss/iss_ipipeif.h
> > > +++ b/drivers/staging/media/omap4iss/iss_ipipeif.h
> > > @@ -22,8 +22,8 @@ enum ipipeif_input_entity {
> > > IPIPEIF_INPUT_CSI2B
> > > };
> > >
> > > -#define IPIPEIF_OUTPUT_MEMORY (1 << 0)
> > > -#define IPIPEIF_OUTPUT_VP (1 << 1)
> > > +#define IPIPEIF_OUTPUT_MEMORY BIT(0)
> > > +#define IPIPEIF_OUTPUT_VP BIT(1)
> >
> > Here, however, you could take advantage of the opportunity to line them
> > up. Maybe these are just a problem with tabs and the patch?
> >
>
> I did aligned them with tabs, maybe it's just a problem with patch formatting?
They looks aligned after applying.
regards
sudip
next prev parent reply other threads:[~2015-10-27 8:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 13:09 [PATCH 0/6] staging: media: omap4iss: Fixes multiple checkpatch issues Amarjargal Gundjalam
2015-10-26 13:09 ` [PATCH 1/6] staging: media: omap4iss: Fixes NULL comparison Amarjargal Gundjalam
2015-10-26 13:09 ` [PATCH 2/6] staging: media: omap4iss: Fixes misspelling Amarjargal Gundjalam
2015-10-26 13:09 ` [PATCH 3/6] staging: media: omap4iss: Replaces bit shift on 1 with BIT Macro Amarjargal Gundjalam
2015-10-26 14:46 ` [Outreachy kernel] " Julia Lawall
2015-10-26 15:48 ` Amarjargal Gundjalam
2015-10-27 8:01 ` Sudip Mukherjee [this message]
2015-10-26 13:09 ` [PATCH 4/6] staging: media: omap4iss: Removes unnecessary blank lines Amarjargal Gundjalam
2015-10-26 13:09 ` [PATCH 5/6] staging: media: omap4iss: Matches alignment with open parenthesis Amarjargal Gundjalam
2015-10-26 13:09 ` [PATCH 6/6] staging: media: omap4iss: Fixes line break Amarjargal Gundjalam
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=20151027080145.GC22738@sudip-pc \
--to=sudipm.mukherjee@gmail.com \
--cc=amarjargal.gundjalam@gmail.com \
--cc=julia.lawall@lip6.fr \
--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.