netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Bjørn Mork" <bjorn@mork.no>
To: Ethan Yang <ipis.yang@gmail.com>
Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
	netdev@vger.kernel.org, linux-usb@vger.kernel.org,
	linux-kernel@vger.kernel.org, gchiang@sierrawireless.com,
	Ethan Yang <etyang@sierrawireless.com>
Subject: Re: [PATCH] add support for Sierra Wireless EM7590 0xc081 composition.
Date: Mon, 25 Apr 2022 07:07:04 +0200	[thread overview]
Message-ID: <87bkwpkayv.fsf@miraculix.mork.no> (raw)
In-Reply-To: <20220425031411.4030-1-etyang@sierrawireless.com> (Ethan Yang's message of "Mon, 25 Apr 2022 11:14:11 +0800")

Ethan Yang <ipis.yang@gmail.com> writes:

> add support for Sierra Wireless EM7590 0xc081 composition.
>
> Signed-off-by: Ethan Yang <etyang@sierrawireless.com>
> ---
>  drivers/net/usb/qmi_wwan.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c
> index 3353e761016d..fa220a13edb6 100644
> --- a/drivers/net/usb/qmi_wwan.c
> +++ b/drivers/net/usb/qmi_wwan.c
> @@ -1351,6 +1351,7 @@ static const struct usb_device_id products[] = {
>  	{QMI_QUIRK_SET_DTR(0x1199, 0x907b, 8)},	/* Sierra Wireless EM74xx */
>  	{QMI_QUIRK_SET_DTR(0x1199, 0x907b, 10)},/* Sierra Wireless EM74xx */
>  	{QMI_QUIRK_SET_DTR(0x1199, 0x9091, 8)},	/* Sierra Wireless EM7565 */
> +	{QMI_QUIRK_SET_DTR(0x1199, 0xc081, 8)},	/* Sierra Wireless EM7590 */
>  	{QMI_FIXED_INTF(0x1bbb, 0x011e, 4)},	/* Telekom Speedstick LTE II (Alcatel One Touch L100V LTE) */
>  	{QMI_FIXED_INTF(0x1bbb, 0x0203, 2)},	/* Alcatel L800MA */
>  	{QMI_FIXED_INTF(0x2357, 0x0201, 4)},	/* TP-LINK HSUPA Modem MA180 */


Hello!

The diff looks fine to me, but there are some minor issues with the
commit message.  This is how it ended up looking in for me with "git
log":

---
commit 5e3f386fdb23c8e5ba7c24ff5efd6beb73db3e85 (HEAD -> bugfix-master)
Author: Ethan Yang <ipis.yang@gmail.com>
Date:   Mon Apr 25 11:14:11 2022 +0800

    add support for Sierra Wireless EM7590 0xc081 composition.
    
    add support for Sierra Wireless EM7590 0xc081 composition.
    
    Signed-off-by: Ethan Yang <etyang@sierrawireless.com>
---

The issues I see there are:


 1) subject should have a prefix - e.g. "net: usb: qmi_wwan:"
 
 2) don't repeat the subject in the body - that's redundant and ends up
    looking like a duplicate line in the commit message.  Write
    something addding more information instead.  Anything you find
    relevant
 

 3) I guess you send from a gmail address for a reason.  But you most
    likely want the Author field to match your Signed-off-by?  You can fix
    this by including something like this as the *first* line of the
    message body:

       From: Ethan Yang <etyang@sierrawireless.com>



FYI: checkpatch warns about the last issue:

bjorn@miraculix:/usr/local/src/git/linux$ scripts/checkpatch.pl /tmp/xx
WARNING: From:/Signed-off-by: email address mismatch: 'From: Ethan Yang <ipis.yang@gmail.com>' != 'Signed-off-by: Ethan Yang <etyang@sierrawireless.com>'

total: 0 errors, 1 warnings, 0 checks, 7 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

/tmp/xx has style problems, please review.

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.







Bjørn

  reply	other threads:[~2022-04-25  5:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-25  3:14 [PATCH] add support for Sierra Wireless EM7590 0xc081 composition Ethan Yang
2022-04-25  5:07 ` Bjørn Mork [this message]
2022-04-25  5:40   ` [PATCH v2] net: usb: qmi_wwan: add support for Sierra Wireless EM7590 ipis.yang
2022-04-25  5:43     ` Bjørn Mork
2022-04-26  9:50     ` patchwork-bot+netdevbpf

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=87bkwpkayv.fsf@miraculix.mork.no \
    --to=bjorn@mork.no \
    --cc=davem@davemloft.net \
    --cc=etyang@sierrawireless.com \
    --cc=gchiang@sierrawireless.com \
    --cc=ipis.yang@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).