From: Julia Lawall <julia.lawall@lip6.fr>
To: Ronald Rojas <ronladred@gmail.com>
Cc: gregkh@linuxfoundation.org, outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] [PATCH v4] Staging: ethernet: Fixes checkpatch blank lines warnings
Date: Thu, 15 Sep 2016 07:12:56 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.10.1609150711110.6078@hadrien> (raw)
In-Reply-To: <20160915010230.GA15390@fedora>
On Wed, 14 Sep 2016, Ronald Rojas wrote:
> This patch fixes several of the checkpatch.pl warning
> CHECK: Please don't use multiple blank lines
>
> Signed-off-by: Ronald Rojas <ronladred@gmail.com>
> v4: changes to commit log
The v4 goes under the ---, not above it. It needs to be in the part of
the patch that will disappear when the patch is committed.
The commit log message should also be written using the imperative. "This
patch" is noise. We know that what we are looking at is a patch. One
wants to get to the important part as quickly as possible.
julia
> ---
> drivers/staging/octeon/ethernet.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/staging/octeon/ethernet.c b/drivers/staging/octeon/ethernet.c
> index e9cd5f2..79571d6 100644
> --- a/drivers/staging/octeon/ethernet.c
> +++ b/drivers/staging/octeon/ethernet.c
> @@ -86,7 +86,6 @@ int rx_napi_weight = 32;
> module_param(rx_napi_weight, int, 0444);
> MODULE_PARM_DESC(rx_napi_weight, "The NAPI WEIGHT parameter.");
>
> -
> /*
> * cvm_oct_poll_queue_stopping - flag to indicate polling should stop.
> *
> @@ -665,7 +664,6 @@ static int cvm_oct_probe(struct platform_device *pdev)
> return -EINVAL;
> }
>
> -
> cvm_oct_configure_common_hw();
>
> cvmx_helper_initialize_packet_io_global();
> @@ -878,7 +876,6 @@ static int cvm_oct_remove(struct platform_device *pdev)
> }
> }
>
> -
> cvmx_pko_shutdown();
>
> cvmx_ipd_free_ptr();
> --
> 2.7.4
>
> --
> 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/20160915010230.GA15390%40fedora.
> For more options, visit https://groups.google.com/d/optout.
>
prev parent reply other threads:[~2016-09-15 5:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-15 1:02 [PATCH v4] Staging: ethernet: Fixes checkpatch blank lines warnings Ronald Rojas
2016-09-15 5:12 ` Julia Lawall [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=alpine.DEB.2.10.1609150711110.6078@hadrien \
--to=julia.lawall@lip6.fr \
--cc=gregkh@linuxfoundation.org \
--cc=outreachy-kernel@googlegroups.com \
--cc=ronladred@gmail.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.