From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Colin King <colin.king@canonical.com>,
Salil Mehta <salil.mehta@huawei.com>,
"David S . Miller" <davem@davemloft.net>,
Kejian Yan <yankejian@huawei.com>,
Daode Huang <huangdaode@hisilicon.com>,
lipeng <lipeng321@huawei.com>, Lisheng <lisheng011@huawei.com>,
netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net: hns: qdd missing \n to end of dev_err messages
Date: Tue, 4 Oct 2016 15:31:54 +0300 [thread overview]
Message-ID: <e2df7519-2663-d332-7c3a-90b0243561d6@cogentembedded.com> (raw)
In-Reply-To: <20161004110618.11615-1-colin.king@canonical.com>
Hello.
On 10/04/2016 02:06 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Trival fix, dev_err messages are missing a \n, so add it.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
> drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c b/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c
> index a834774..7aeed08 100644
> --- a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c
> +++ b/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c
> @@ -547,7 +547,7 @@ int hns_mac_set_autoneg(struct hns_mac_cb *mac_cb, u8 enable)
> struct mac_driver *mac_ctrl_drv = hns_mac_get_drv(mac_cb);
>
> if (mac_cb->phy_if == PHY_INTERFACE_MODE_XGMII && enable) {
> - dev_err(mac_cb->dev, "enable autoneg is not allowed!");
> + dev_err(mac_cb->dev, "enable autoneg is not allowed!\n");
Enabling, perhaps?
> return -ENOTSUPP;
> }
>
> @@ -571,7 +571,7 @@ int hns_mac_set_pauseparam(struct hns_mac_cb *mac_cb, u32 rx_en, u32 tx_en)
>
> if (mac_cb->mac_type == HNAE_PORT_DEBUG) {
> if (is_ver1 && (tx_en || rx_en)) {
> - dev_err(mac_cb->dev, "macv1 cann't enable tx/rx_pause!");
> + dev_err(mac_cb->dev, "macv1 cann't enable tx/rx_pause!\n");
Perhaps a good time to fix this "cann't"?
[...]
MBR, Sergei
prev parent reply other threads:[~2016-10-04 12:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-04 11:06 [PATCH] net: hns: qdd missing \n to end of dev_err messages Colin King
2016-10-04 12:31 ` Sergei Shtylyov [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=e2df7519-2663-d332-7c3a-90b0243561d6@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=colin.king@canonical.com \
--cc=davem@davemloft.net \
--cc=huangdaode@hisilicon.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lipeng321@huawei.com \
--cc=lisheng011@huawei.com \
--cc=netdev@vger.kernel.org \
--cc=salil.mehta@huawei.com \
--cc=yankejian@huawei.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