Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1614801
| From | Daniel Cashman <dan.a.cashman@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [Patch v2 2/3] staging: vt6656: Replace embedded function name with __func__ in rf.c |
| Date | 2017-04-02 22:50 +0200 |
| Message-ID | <trUBI-5rN-23@gated-at.bofh.it> (permalink) |
| References | <trGS5-55K-1@gated-at.bofh.it> <trUBH-5rN-7@gated-at.bofh.it> <trUBI-5rN-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] staging: vt6656: Fix spaces, char limit and embedded func name in print. Daniel Cashman <dan.a.cashman@gmail.com> - 2017-04-02 05:30 +0200
Re: [PATCH] staging: vt6656: Fix spaces, char limit and embedded func name in print. Greg KH <gregkh@linuxfoundation.org> - 2017-04-02 08:10 +0200
[Patch v2 0/3] staging: vt6656: Fix checkpatch style violations. Daniel Cashman <dan.a.cashman@gmail.com> - 2017-04-02 22:50 +0200
[Patch v2 2/3] staging: vt6656: Replace embedded function name with __func__ in rf.c Daniel Cashman <dan.a.cashman@gmail.com> - 2017-04-02 22:50 +0200
[Patch v2 3/3] staging: vt6656: Split arguments to avoid 80-char violation in rf.c Daniel Cashman <dan.a.cashman@gmail.com> - 2017-04-02 22:50 +0200
[Patch v2 1/3] staging: vt6656: convert spaces to tabs for rf.c Daniel Cashman <dan.a.cashman@gmail.com> - 2017-04-02 22:50 +0200
csiph-web