From: Daniel Cashman <dan.a.cashman@gmail.com>
To: gregkh@linuxfoundation.org
Cc: forest@alittletooquiet.net, dan.a.cashman@gmail.com,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: [Patch v2 2/3] staging: vt6656: Replace embedded function name with __func__ in rf.c
Date: Sun, 2 Apr 2017 13:48:11 -0700 [thread overview]
Message-ID: <1491166092-3235-3-git-send-email-dan.a.cashman@gmail.com> (raw)
In-Reply-To: <1491166092-3235-2-git-send-email-dan.a.cashman@gmail.com>
From: Dan Cashman <dan.a.cashman@gmail.com>
Change embedded function name in vnt_rf_set_txpower with %s format with
__func__ argument to make it consistent with other part of if-else and
kernel coding style standards as reported by checkpatch.
Signed-off-by: Daniel Cashman <dan.a.cashman@gmail.com>
---
drivers/staging/vt6656/rf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c
index 1e19579..d157e5c 100644
--- a/drivers/staging/vt6656/rf.c
+++ b/drivers/staging/vt6656/rf.c
@@ -771,7 +771,7 @@ int vnt_rf_set_txpower(struct vnt_private *priv, u8 power, u32 rate)
ret &= vnt_rf_write_embedded(priv, 0x015C0800);
} else {
dev_dbg(&priv->usb->dev,
- "@@@@ vnt_rf_set_txpower> 11G mode\n");
+ "@@@@ %s> 11G mode\n", __func__);
power_setting = ((0x3f - power) << 20) | (0x7 << 8);
--
2.7.4
next prev parent reply other threads:[~2017-04-02 20:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-02 3:29 [PATCH] staging: vt6656: Fix spaces, char limit and embedded func name in print Daniel Cashman
2017-04-02 6:02 ` Greg KH
2017-04-02 20:48 ` [Patch v2 0/3] staging: vt6656: Fix checkpatch style violations Daniel Cashman
2017-04-02 20:48 ` [Patch v2 1/3] staging: vt6656: convert spaces to tabs for rf.c Daniel Cashman
2017-04-02 20:48 ` Daniel Cashman [this message]
2017-04-02 20:48 ` [Patch v2 3/3] staging: vt6656: Split arguments to avoid 80-char violation in rf.c Daniel Cashman
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=1491166092-3235-3-git-send-email-dan.a.cashman@gmail.com \
--to=dan.a.cashman@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=forest@alittletooquiet.net \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.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
Powered by JetHome