public inbox for linux-doc@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Morduan Zang <zhangdandan@uniontech.com>,
	devnull+cryolitia.gmail.com@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, CoelacanthusHex@gmail.com,
	Cryolitia@gmail.com, corbet@lwn.net, jdelvare@suse.com,
	linux-doc@vger.kernel.org, linux-hwmon@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux@roeck-us.net,
	marcin@stragowski.com, Morduan Zang <zhangdandan@uniontech.com>
Subject: Re: [PATCH] hwmon: gpd-fan: replace custom EC I/O with kernel ec_read/ec_write
Date: Fri, 27 Feb 2026 14:55:56 +0800	[thread overview]
Message-ID: <202602271410.w0cX8IID-lkp@intel.com> (raw)
In-Reply-To: <53C09CAECC90EB98+20260227024945.151198-1-zhangdandan@uniontech.com>

Hi Morduan,

kernel test robot noticed the following build errors:

[auto build test ERROR on groeck-staging/hwmon-next]
[also build test ERROR on linus/master v7.0-rc1 next-20260226]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Morduan-Zang/hwmon-gpd-fan-replace-custom-EC-I-O-with-kernel-ec_read-ec_write/20260227-105255
base:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
patch link:    https://lore.kernel.org/r/53C09CAECC90EB98%2B20260227024945.151198-1-zhangdandan%40uniontech.com
patch subject: [PATCH] hwmon: gpd-fan: replace custom EC I/O with kernel ec_read/ec_write
config: x86_64-buildonly-randconfig-004-20260227 (https://download.01.org/0day-ci/archive/20260227/202602271410.w0cX8IID-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260227/202602271410.w0cX8IID-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/202602271410.w0cX8IID-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/hwmon/gpd-fan.c: In function 'gpd_ecram_read':
>> drivers/hwmon/gpd-fan.c:255:16: error: implicit declaration of function 'ec_read'; did you mean 'up_read'? [-Wimplicit-function-declaration]
     255 |         *val = ec_read(offset, val);
         |                ^~~~~~~
         |                up_read
   drivers/hwmon/gpd-fan.c: In function 'gpd_ecram_write':
>> drivers/hwmon/gpd-fan.c:260:9: error: implicit declaration of function 'ec_write'; did you mean 'up_write'? [-Wimplicit-function-declaration]
     260 |         ec_write(offset, value);
         |         ^~~~~~~~
         |         up_write


vim +255 drivers/hwmon/gpd-fan.c

   251	
   252	// Helper functions to handle EC read/write
   253	static void gpd_ecram_read(u16 offset, u8 *val)
   254	{
 > 255		*val = ec_read(offset, val);
   256	}
   257	
   258	static void gpd_ecram_write(u16 offset, u8 value)
   259	{
 > 260		ec_write(offset, value);
   261	}
   262	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2026-02-27  6:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-27  2:49 [PATCH] hwmon: gpd-fan: replace custom EC I/O with kernel ec_read/ec_write Morduan Zang
2026-02-27  3:03 ` Cryolitia PukNgae
2026-02-27  4:35 ` Guenter Roeck
2026-02-27  6:55 ` kernel test robot [this message]
2026-02-27 10:58 ` kernel test robot

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=202602271410.w0cX8IID-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=CoelacanthusHex@gmail.com \
    --cc=Cryolitia@gmail.com \
    --cc=corbet@lwn.net \
    --cc=devnull+cryolitia.gmail.com@kernel.org \
    --cc=jdelvare@suse.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=marcin@stragowski.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=zhangdandan@uniontech.com \
    /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