From: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
To: Nicholas Krause <xerofoify@gmail.com>
Cc: JBottomley@odin.com, linux-scsi@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ibmvscsi:Remove no longer required comments about return values in the file ibmvfc.c
Date: Thu, 16 Jul 2015 14:07:45 -0700 [thread overview]
Message-ID: <55A81D21.6030006@linux.vnet.ibm.com> (raw)
In-Reply-To: <1436463665-14409-1-git-send-email-xerofoify@gmail.com>
On 07/09/2015 10:41 AM, Nicholas Krause wrote:
> This removes the no longer require comments about the return values
> for the functions ibmvfc_init_host and ibmvfc_reinit_host due to
> these functions being declared to have a return type of void thus
> making this comments invalid.
>
> Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
Some grammar nit picking. Aside from a couple spelling errors the
wording is a little difficult. Refer to Documentation/SubmittingPatches
section 2. In particular it suggests using the imperative mood.
Something like this would work better:
"Remove comments about return values from ibmvfc_init_host() and
ibmvfc_reinit_host() as they are both declared to have return type void."
Otherwise,
Acked-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
> ---
> drivers/scsi/ibmvscsi/ibmvfc.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/scsi/ibmvscsi/ibmvfc.c b/drivers/scsi/ibmvscsi/ibmvfc.c
> index 057d277..c6582db 100644
> --- a/drivers/scsi/ibmvscsi/ibmvfc.c
> +++ b/drivers/scsi/ibmvscsi/ibmvfc.c
> @@ -528,8 +528,6 @@ static void ibmvfc_set_host_action(struct ibmvfc_host *vhost,
> * ibmvfc_reinit_host - Re-start host initialization (no NPIV Login)
> * @vhost: ibmvfc host struct
> *
> - * Return value:
> - * nothing
> **/
> static void ibmvfc_reinit_host(struct ibmvfc_host *vhost)
> {
> @@ -570,8 +568,6 @@ static void ibmvfc_link_down(struct ibmvfc_host *vhost,
> * ibmvfc_init_host - Start host initialization
> * @vhost: ibmvfc host struct
> *
> - * Return value:
> - * nothing
> **/
> static void ibmvfc_init_host(struct ibmvfc_host *vhost)
> {
>
parent reply other threads:[~2015-07-16 21:07 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1436463665-14409-1-git-send-email-xerofoify@gmail.com>]
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=55A81D21.6030006@linux.vnet.ibm.com \
--to=tyreld@linux.vnet.ibm.com \
--cc=JBottomley@odin.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=xerofoify@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.