From: Shivani Bhardwaj <shivanib134@gmail.com>
To: outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] [PATCH] Staging: sm750fb: ddk750_dvi: Fixed character limit warning
Date: Thu, 8 Oct 2015 17:09:44 +0530 [thread overview]
Message-ID: <20151008113944.GA5621@ubuntu> (raw)
In-Reply-To: <alpine.DEB.2.10.1510081124360.2613@hadrien>
On Thu, Oct 08, 2015 at 11:25:22AM +0100, Julia Lawall wrote:
> On Thu, 8 Oct 2015, Shivani Bhardwaj wrote:
>
> > Fixed the warning - line over 80 characters generated by checkpatch by
> > breaking the line at appropriate places so that the code looks more
> > readable and good.
> >
> > Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
> > ---
> > drivers/staging/sm750fb/ddk750_dvi.c | 7 ++++---
> > 1 file changed, 4 insertions(+), 3 deletions(-)
> >
> > diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c
> > index a7a2351..382b515 100644
> > --- a/drivers/staging/sm750fb/ddk750_dvi.c
> > +++ b/drivers/staging/sm750fb/ddk750_dvi.c
> > @@ -46,9 +46,10 @@ int dviInit(
> >
> > pCurrentDviCtrl = g_dcftSupportedDviController;
> > if (pCurrentDviCtrl->pfnInit != NULL) {
> > - return pCurrentDviCtrl->pfnInit(edgeSelect, busSelect, dualEdgeClkSelect, hsyncEnable,
> > - vsyncEnable, deskewEnable, deskewSetting, continuousSyncEnable,
> > - pllFilterEnable, pllFilterValue);
> > + return pCurrentDviCtrl->pfnInit(edgeSelect, busSelect,
> > + dualEdgeClkSelect, hsyncEnable, vsyncEnable,
> > + deskewEnable, deskewSetting, continuousSyncEnable,
> > + pllFilterEnable, pllFilterValue);
>
> It looks like the arguments are not all lined up - the last ones are more
> indented than the others. The real problem would be the ariable names...
>
> julia
>
So, should I indent the last line in accordance with the previous ones?
Will that work fine? I'm sorry, I do not understand what would be the
problem with variable names.
Thanks
Shivani
> > }
> > return -1; /* error */
> > }
> > --
> > 2.1.0
> >
> > --
> > You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com.
> > To post to this group, send email to outreachy-kernel@googlegroups.com.
> > To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20151008094215.GA4799%40ubuntu.
> > For more options, visit https://groups.google.com/d/optout.
> >
next prev parent reply other threads:[~2015-10-08 11:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-08 9:42 [PATCH] Staging: sm750fb: ddk750_dvi: Fixed character limit warning Shivani Bhardwaj
2015-10-08 10:25 ` [Outreachy kernel] " Julia Lawall
2015-10-08 11:39 ` Shivani Bhardwaj [this message]
2015-10-08 13:42 ` 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=20151008113944.GA5621@ubuntu \
--to=shivanib134@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.