From: kernel test robot <lkp@intel.com>
To: Ivor Wanders <ivor@iwanders.net>
Cc: oe-kbuild-all@lists.linux.dev, linux-hwmon@vger.kernel.org,
Guenter Roeck <linux@roeck-us.net>,
Maximilian Luz <luzmaximilian@gmail.com>,
Armin Wolf <W_Armin@gmx.de>
Subject: [groeck-staging:hwmon-next 13/34] drivers/hwmon/surface_fan.c:22:9: warning: no previous prototype for 'surface_fan_hwmon_is_visible'
Date: Sat, 3 Feb 2024 12:52:09 +0800 [thread overview]
Message-ID: <202402031253.JPVKEF5X-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
head: 68ca2db26850ff7eb72388e237103c56db7b4a84
commit: 6652888f0379f01027bb1d7bbdb377710833b4f2 [13/34] hwmon: add fan speed monitoring driver for Surface devices
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20240203/202402031253.JPVKEF5X-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240203/202402031253.JPVKEF5X-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402031253.JPVKEF5X-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/hwmon/surface_fan.c:22:9: warning: no previous prototype for 'surface_fan_hwmon_is_visible' [-Wmissing-prototypes]
22 | umode_t surface_fan_hwmon_is_visible(const void *drvdata,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/surface_fan_hwmon_is_visible +22 drivers/hwmon/surface_fan.c
20
21 // hwmon
> 22 umode_t surface_fan_hwmon_is_visible(const void *drvdata,
23 enum hwmon_sensor_types type, u32 attr,
24 int channel)
25 {
26 return 0444;
27 }
28
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2024-02-03 4:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-03 4:52 kernel test robot [this message]
2024-02-03 12:52 ` [groeck-staging:hwmon-next 13/34] drivers/hwmon/surface_fan.c:22:9: warning: no previous prototype for 'surface_fan_hwmon_is_visible' Ivor Wanders
2024-02-03 14:12 ` Guenter Roeck
2024-02-03 14:16 ` Ivor Wanders
2024-02-03 14:22 ` Guenter Roeck
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=202402031253.JPVKEF5X-lkp@intel.com \
--to=lkp@intel.com \
--cc=W_Armin@gmx.de \
--cc=ivor@iwanders.net \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=luzmaximilian@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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