From: Guenter Roeck <linux@roeck-us.net>
To: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>, jdelvare@suse.com
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
Abaci Robot <abaci@linux.alibaba.com>
Subject: Re: [PATCH] hwmon: (hih6130) Modify mismatched function name
Date: Sun, 27 Nov 2022 07:01:47 -0800 [thread overview]
Message-ID: <e3017eda-3764-4ff0-71fc-0f33f5ad8085@roeck-us.net> (raw)
In-Reply-To: <20221127134351.87394-1-jiapeng.chong@linux.alibaba.com>
On 11/27/22 05:43, Jiapeng Chong wrote:
> No functional modification involved.
>
> drivers/hwmon/hih6130.c:185: warning: expecting prototype for hih6130_show_humidity(). Prototype was for hih6130_humidity_show() instead.
>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3264
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
NACK. We don't start changing function names because some robot
thinks we should. Please do not submit such patches against the hwmon
or watchdog subsystems.
Guenter
> ---
> drivers/hwmon/hih6130.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hwmon/hih6130.c b/drivers/hwmon/hih6130.c
> index d9394e19fea8..764e6e185d98 100644
> --- a/drivers/hwmon/hih6130.c
> +++ b/drivers/hwmon/hih6130.c
> @@ -172,7 +172,7 @@ static ssize_t hih6130_temperature_show(struct device *dev,
> }
>
> /**
> - * hih6130_show_humidity() - show humidity measurement value in sysfs
> + * hih6130_humidity_show() - show humidity measurement value in sysfs
> * @dev: device
> * @attr: device attribute
> * @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to
prev parent reply other threads:[~2022-11-27 15:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-27 13:43 Jiapeng Chong
2022-11-27 15:01 ` Guenter Roeck [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=e3017eda-3764-4ff0-71fc-0f33f5ad8085@roeck-us.net \
--to=linux@roeck-us.net \
--cc=abaci@linux.alibaba.com \
--cc=jdelvare@suse.com \
--cc=jiapeng.chong@linux.alibaba.com \
--cc=linux-hwmon@vger.kernel.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
all inboxes | Powered by JetHome®