Linux IIO development
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Daniel Lezcano <daniel.lezcano@linaro.org>,
	wbg@kernel.org, robh@kernel.org, conor+dt@kernel.org,
	krzk+dt@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, s32@nxp.com,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-iio@vger.kernel.org
Subject: Re: [PATCH v1 3/3] counter: Add STM based counter
Date: Tue, 9 Dec 2025 05:29:24 +0800	[thread overview]
Message-ID: <202512090533.JQEqVYW8-lkp@intel.com> (raw)
In-Reply-To: <20251208030413.3117660-4-daniel.lezcano@linaro.org>

Hi Daniel,

kernel test robot noticed the following build warnings:

[auto build test WARNING on robh/for-next]
[also build test WARNING on linus/master v6.18 next-20251208]
[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/Daniel-Lezcano/counters-Reorder-the-Makefile/20251208-110937
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link:    https://lore.kernel.org/r/20251208030413.3117660-4-daniel.lezcano%40linaro.org
patch subject: [PATCH v1 3/3] counter: Add STM based counter
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20251209/202512090533.JQEqVYW8-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251209/202512090533.JQEqVYW8-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/202512090533.JQEqVYW8-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/counter/nxp-stm-cnt.c: In function 'nxp_stm_cnt_set_prescaler':
   drivers/counter/nxp-stm-cnt.c:110:9: error: implicit declaration of function 'FIELD_MODIFY' [-Wimplicit-function-declaration]
     110 |         FIELD_MODIFY(STM_CR_CPS_MASK, &reg, prescaler);
         |         ^~~~~~~~~~~~
   drivers/counter/nxp-stm-cnt.c: In function 'nxp_stm_cnt_get_prescaler':
   drivers/counter/nxp-stm-cnt.c:119:16: error: implicit declaration of function 'FIELD_GET' [-Wimplicit-function-declaration]
     119 |         return FIELD_GET(STM_CR_CPS_MASK, reg);
         |                ^~~~~~~~~
   drivers/counter/nxp-stm-cnt.c: At top level:
>> drivers/counter/nxp-stm-cnt.c:303:32: warning: 'nxp_stm_cnt_pm_ops' defined but not used [-Wunused-const-variable=]
     303 | static const struct dev_pm_ops nxp_stm_cnt_pm_ops = {
         |                                ^~~~~~~~~~~~~~~~~~


vim +/nxp_stm_cnt_pm_ops +303 drivers/counter/nxp-stm-cnt.c

   302	
 > 303	static const struct dev_pm_ops nxp_stm_cnt_pm_ops = {
   304		.suspend = nxp_stm_cnt_suspend,
   305		.resume  = nxp_stm_cnt_resume,
   306	};
   307	

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

  parent reply	other threads:[~2025-12-08 21:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-08  3:04 [PATCH v1 0/3] Add the System Timer Module counter Daniel Lezcano
2025-12-08  3:04 ` [PATCH v1 1/3] counters: Reorder the Makefile Daniel Lezcano
2025-12-08  3:04 ` [PATCH v1 2/3] dt-bindings: counter: Add NXP System Timer Module Counter Daniel Lezcano
2025-12-09 21:27   ` Rob Herring (Arm)
2025-12-08  3:04 ` [PATCH v1 3/3] counter: Add STM based counter Daniel Lezcano
2025-12-08 20:25   ` kernel test robot
2025-12-08 21:29   ` kernel test robot [this message]
2025-12-08 23:45   ` 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=202512090533.JQEqVYW8-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=robh@kernel.org \
    --cc=s32@nxp.com \
    --cc=wbg@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