Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1608178
| From | Pushkar Jambhlekar <pushkar.iit@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] drivers/staging/wilc1000: Using __func__ instead of hardcoded function name |
| Date | 2017-03-24 08:30 +0100 |
| Message-ID | <torPz-6yo-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
dev_err: replacing hardcoded function name with '%s' and __func__ Signed-off-by: Pushkar Jambhlekar <pushkar.iit@gmail.com> --- drivers/staging/wilc1000/wilc_sdio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_sdio.c b/drivers/staging/wilc1000/wilc_sdio.c index ad4eb0f..ce6c3b4 100644 --- a/drivers/staging/wilc1000/wilc_sdio.c +++ b/drivers/staging/wilc1000/wilc_sdio.c @@ -74,7 +74,7 @@ static int wilc_sdio_cmd52(struct wilc *wilc, struct sdio_cmd52 *cmd) sdio_release_host(func); if (ret) - dev_err(&func->dev, "wilc_sdio_cmd52..failed, err(%d)\n", ret); + dev_err(&func->dev, "%s..failed, err(%d)\n", __func__, ret); return ret; } @@ -103,7 +103,7 @@ static int wilc_sdio_cmd53(struct wilc *wilc, struct sdio_cmd53 *cmd) sdio_release_host(func); if (ret) - dev_err(&func->dev, "wilc_sdio_cmd53..failed, err(%d)\n", ret); + dev_err(&func->dev, "%s..failed, err(%d)\n", __func__, ret); return ret; } -- 2.7.4
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] drivers/staging/wilc1000: Using __func__ instead of hardcoded function name Pushkar Jambhlekar <pushkar.iit@gmail.com> - 2017-03-24 08:30 +0100
csiph-web