From: Greg KH <gregkh@linuxfoundation.org>
To: Igor Bezukh <igbzkh@gmail.com>
Cc: devel@driverdev.osuosl.org, forest@alittletooquiet.net,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Staging: vt6655: apply kernel coding style to wCommandTimerWait function
Date: Fri, 18 Jul 2014 16:15:31 -0700 [thread overview]
Message-ID: <20140718231531.GA29920@kroah.com> (raw)
In-Reply-To: <1405708513-27831-1-git-send-email-igbzkh@gmail.com>
On Fri, Jul 18, 2014 at 09:35:13PM +0300, Igor Bezukh wrote:
> Since there is a lot of stuff that need to be changed in order to meet the kernel
> coding style in wcmd.c file, I've decided to fix function-per-patch.
> The following changes were made in vCommandTimerWait function:
>
> - Camel case change:
> - MSecond ---> msec
> - hDdeviceContext ---> private
> - pDevice ---> priv
> - Removed redundant return
> - Removed redndant comment
>
> In future patches, I will also change the function name itself.
A better way to do this, that is easier to review, is to do, on a
per-file basis, one thing, like "remove redundant return", or "remove
unneeded comments".
Having to review all of these changes at once, even for something as
"small" as a single function, is much harder than making sure you only
do one thing, and do it all at once.
So, can you break it up in this way instead?
thanks,
greg k-h
prev parent reply other threads:[~2014-07-18 23:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-18 18:35 Igor Bezukh
2014-07-18 23:15 ` Greg KH [this message]
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=20140718231531.GA29920@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=devel@driverdev.osuosl.org \
--cc=forest@alittletooquiet.net \
--cc=igbzkh@gmail.com \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome