driverdev-devel.linuxdriverproject.org archive mirror
 help / color / mirror / Atom feed
From: Gabriele Modena <gabriele.modena@gmail.com>
To: devel@driverdev.osuosl.org
Cc: Gabriele Modena <gabriele.modena@gmail.com>, trivial@kernel.org
Subject: [PATCH v2 3/3] staging: wimax: fix quoted string split across lines in op-rfkill.c
Date: Sat, 13 Mar 2021 18:35:32 +0100	[thread overview]
Message-ID: <590fcf33a97025019e5c3b3a915fec9bbe24aa4c.1615652628.git.gabriele.modena@gmail.com> (raw)
In-Reply-To: <cover.1615652628.git.gabriele.modena@gmail.com>

This commit fixes the following checkpatch.pl warning:

WARNING: quoted string split across lines
+		dev_err(dev, "WIMAX_GNL_RFKILL: can't find RFKILL_STATE "
+			"attribute\n");

Signed-off-by: Gabriele Modena <gabriele.modena@gmail.com>
---
 drivers/staging/wimax/op-rfkill.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/wimax/op-rfkill.c b/drivers/staging/wimax/op-rfkill.c
index 50146f7b089e..52612ed09183 100644
--- a/drivers/staging/wimax/op-rfkill.c
+++ b/drivers/staging/wimax/op-rfkill.c
@@ -417,8 +417,7 @@ int wimax_gnl_doit_rfkill(struct sk_buff *skb, struct genl_info *info)
 	dev = wimax_dev_to_dev(wimax_dev);
 	result = -EINVAL;
 	if (info->attrs[WIMAX_GNL_RFKILL_STATE] == NULL) {
-		dev_err(dev, "WIMAX_GNL_RFKILL: can't find RFKILL_STATE "
-			"attribute\n");
+		dev_err(dev, "WIMAX_GNL_RFKILL: can't find RFKILL_STATE attribute\n");
 		goto error_no_pid;
 	}
 	new_state = nla_get_u32(info->attrs[WIMAX_GNL_RFKILL_STATE]);
-- 
2.11.0

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

      parent reply	other threads:[~2021-03-13 17:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-05 19:55 [PATCH] staging: wimax: fix style check warnings gabriele.modena
2021-03-06 17:26 ` Greg KH
2021-03-13 17:35 ` [PATCH v2 0/3] " Gabriele Modena
2021-03-13 17:35   ` [PATCH v2 1/3] staging: wimax: fix block comment style check in op-rfkill.c Gabriele Modena
2021-03-13 17:35   ` [PATCH v2 2/3] staging: wimax: add a blank line after declaration " Gabriele Modena
2021-03-13 17:35   ` Gabriele Modena [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=590fcf33a97025019e5c3b3a915fec9bbe24aa4c.1615652628.git.gabriele.modena@gmail.com \
    --to=gabriele.modena@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=trivial@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;
as well as URLs for NNTP newsgroup(s).