All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Ivan Vecera <ivecera@redhat.com>, netdev@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, Eric Dumazet <edumazet@google.com>,
	Tony Nguyen <anthony.l.nguyen@intel.com>,
	Rob Herring <robh@kernel.org>, Leon Romanovsky <leon@kernel.org>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	linux-rdma@vger.kernel.org,
	Przemek Kitszel <przemyslaw.kitszel@intel.com>,
	Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>,
	intel-wired-lan@lists.osuosl.org,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	devicetree@vger.kernel.org, Conor Dooley <conor+dt@kernel.org>,
	Jiri Pirko <jiri@resnulli.us>,
	Richard Cochran <richardcochran@gmail.com>,
	Prathosh Satish <Prathosh.Satish@microchip.com>,
	Vadim Fedorenko <vadim.fedorenko@linux.dev>,
	Mark Bloch <mbloch@nvidia.com>,
	linux-kernel@vger.kernel.org, Tariq Toukan <tariqt@nvidia.com>,
	Alexander Lobakin <aleksander.lobakin@intel.com>,
	Jonathan Lemon <jonathan.lemon@gmail.com>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Saeed Mahameed <saeedm@nvidia.com>
Subject: Re: [Intel-wired-lan] [PATCH net-next 10/12] dpll: Add reference count tracking support
Date: Tue, 13 Jan 2026 00:06:17 +0800	[thread overview]
Message-ID: <202601122334.64RmoU1u-lkp@intel.com> (raw)
In-Reply-To: <20260108182318.20935-11-ivecera@redhat.com>

Hi Ivan,

kernel test robot noticed the following build errors:

[auto build test ERROR on net-next/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Ivan-Vecera/dt-bindings-dpll-add-common-dpll-pin-consumer-schema/20260109-022618
base:   net-next/main
patch link:    https://lore.kernel.org/r/20260108182318.20935-11-ivecera%40redhat.com
patch subject: [Intel-wired-lan] [PATCH net-next 10/12] dpll: Add reference count tracking support
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20260112/202601122334.64RmoU1u-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260112/202601122334.64RmoU1u-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/202601122334.64RmoU1u-lkp@intel.com/

All errors (new ones prefixed by >>):

   lib/ref_tracker.c: In function 'ref_tracker_alloc':
>> lib/ref_tracker.c:277:22: error: implicit declaration of function 'stack_trace_save'; did you mean 'stack_depot_save'? [-Wimplicit-function-declaration]
     277 |         nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 1);
         |                      ^~~~~~~~~~~~~~~~
         |                      stack_depot_save

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for REF_TRACKER
   Depends on [n]: STACKTRACE_SUPPORT
   Selected by [y]:
   - DPLL_REFCNT_TRACKER [=y] && DPLL [=y]


vim +277 lib/ref_tracker.c

4e66934eaadc83b Eric Dumazet  2021-12-04  252  
4e66934eaadc83b Eric Dumazet  2021-12-04  253  int ref_tracker_alloc(struct ref_tracker_dir *dir,
4e66934eaadc83b Eric Dumazet  2021-12-04  254  		      struct ref_tracker **trackerp,
4e66934eaadc83b Eric Dumazet  2021-12-04  255  		      gfp_t gfp)
4e66934eaadc83b Eric Dumazet  2021-12-04  256  {
4e66934eaadc83b Eric Dumazet  2021-12-04  257  	unsigned long entries[REF_TRACKER_STACK_ENTRIES];
4e66934eaadc83b Eric Dumazet  2021-12-04  258  	struct ref_tracker *tracker;
4e66934eaadc83b Eric Dumazet  2021-12-04  259  	unsigned int nr_entries;
acd8f0e5d72741b Andrzej Hajda 2023-06-02  260  	gfp_t gfp_mask = gfp | __GFP_NOWARN;
4e66934eaadc83b Eric Dumazet  2021-12-04  261  	unsigned long flags;
4e66934eaadc83b Eric Dumazet  2021-12-04  262  
e3ececfe668facd Eric Dumazet  2022-02-04  263  	WARN_ON_ONCE(dir->dead);
e3ececfe668facd Eric Dumazet  2022-02-04  264  
8fd5522f44dcd7f Eric Dumazet  2022-02-04  265  	if (!trackerp) {
8fd5522f44dcd7f Eric Dumazet  2022-02-04  266  		refcount_inc(&dir->no_tracker);
8fd5522f44dcd7f Eric Dumazet  2022-02-04  267  		return 0;
8fd5522f44dcd7f Eric Dumazet  2022-02-04  268  	}
c12837d1bb31032 Eric Dumazet  2022-01-12  269  	if (gfp & __GFP_DIRECT_RECLAIM)
c12837d1bb31032 Eric Dumazet  2022-01-12  270  		gfp_mask |= __GFP_NOFAIL;
c12837d1bb31032 Eric Dumazet  2022-01-12  271  	*trackerp = tracker = kzalloc(sizeof(*tracker), gfp_mask);
4e66934eaadc83b Eric Dumazet  2021-12-04  272  	if (unlikely(!tracker)) {
4e66934eaadc83b Eric Dumazet  2021-12-04  273  		pr_err_once("memory allocation failure, unreliable refcount tracker.\n");
4e66934eaadc83b Eric Dumazet  2021-12-04  274  		refcount_inc(&dir->untracked);
4e66934eaadc83b Eric Dumazet  2021-12-04  275  		return -ENOMEM;
4e66934eaadc83b Eric Dumazet  2021-12-04  276  	}
4e66934eaadc83b Eric Dumazet  2021-12-04 @277  	nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 1);
4e66934eaadc83b Eric Dumazet  2021-12-04  278  	tracker->alloc_stack_handle = stack_depot_save(entries, nr_entries, gfp);
4e66934eaadc83b Eric Dumazet  2021-12-04  279  
4e66934eaadc83b Eric Dumazet  2021-12-04  280  	spin_lock_irqsave(&dir->lock, flags);
4e66934eaadc83b Eric Dumazet  2021-12-04  281  	list_add(&tracker->head, &dir->list);
4e66934eaadc83b Eric Dumazet  2021-12-04  282  	spin_unlock_irqrestore(&dir->lock, flags);
4e66934eaadc83b Eric Dumazet  2021-12-04  283  	return 0;
4e66934eaadc83b Eric Dumazet  2021-12-04  284  }
4e66934eaadc83b Eric Dumazet  2021-12-04  285  EXPORT_SYMBOL_GPL(ref_tracker_alloc);
4e66934eaadc83b Eric Dumazet  2021-12-04  286  

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

  reply	other threads:[~2026-01-12 16:06 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-08 18:23 [Intel-wired-lan] [PATCH net-next 00/12] dpll: Core improvements and ice E825-C SyncE support Ivan Vecera
2026-01-08 18:23 ` Ivan Vecera
2026-01-08 18:23 ` [Intel-wired-lan] [PATCH net-next 01/12] dt-bindings: dpll: add common dpll-pin-consumer schema Ivan Vecera
2026-01-08 18:23   ` Ivan Vecera
2026-01-09  9:48   ` [Intel-wired-lan] " Krzysztof Kozlowski
2026-01-09  9:48     ` Krzysztof Kozlowski
2026-01-09 10:22     ` [Intel-wired-lan] " Ivan Vecera
2026-01-09 14:11       ` Ivan Vecera
2026-01-12 16:14         ` Krzysztof Kozlowski
2026-01-12 16:48           ` Ivan Vecera
2026-01-12 18:07             ` Ivan Vecera
2026-01-15 12:01   ` Ivan Vecera
2026-01-15 12:01     ` Ivan Vecera
2026-01-16 15:23     ` [Intel-wired-lan] " Rob Herring
2026-01-16 15:23       ` Rob Herring
2026-01-16 19:00       ` [Intel-wired-lan] " Ivan Vecera
2026-01-16 19:00         ` Ivan Vecera
2026-01-16 23:39         ` [Intel-wired-lan] " Rob Herring
2026-01-16 23:39           ` Rob Herring
2026-01-17 18:21           ` [Intel-wired-lan] " Ivan Vecera
2026-01-17 18:21             ` Ivan Vecera
2026-01-08 18:23 ` [Intel-wired-lan] [PATCH net-next 02/12] dpll: Allow associating dpll pin with a firmware node Ivan Vecera
2026-01-08 18:23   ` Ivan Vecera
2026-01-09 15:46   ` [Intel-wired-lan] " Vadim Fedorenko
2026-01-09 15:46     ` Vadim Fedorenko
2026-01-08 18:23 ` [Intel-wired-lan] [PATCH net-next 03/12] dpll: Add helpers to find DPLL pin fwnode Ivan Vecera
2026-01-08 18:23   ` Ivan Vecera
2026-01-09  9:55   ` [Intel-wired-lan] " Krzysztof Kozlowski
2026-01-09  9:55     ` Krzysztof Kozlowski
2026-01-09 10:22     ` [Intel-wired-lan] " Ivan Vecera
2026-01-09 10:22       ` Ivan Vecera
2026-01-12 16:16       ` [Intel-wired-lan] " Krzysztof Kozlowski
2026-01-12 16:16         ` Krzysztof Kozlowski
2026-01-12 16:52         ` [Intel-wired-lan] " Ivan Vecera
2026-01-12 16:52           ` Ivan Vecera
2026-01-09 14:19     ` [Intel-wired-lan] " Ivan Vecera
2026-01-09 14:19       ` Ivan Vecera
2026-01-12 16:20       ` [Intel-wired-lan] " Krzysztof Kozlowski
2026-01-12 16:20         ` Krzysztof Kozlowski
2026-01-12 16:55         ` [Intel-wired-lan] " Ivan Vecera
2026-01-12 16:55           ` Ivan Vecera
2026-01-08 18:23 ` [Intel-wired-lan] [PATCH net-next 04/12] dpll: zl3073x: Associate pin with fwnode handle Ivan Vecera
2026-01-08 18:23   ` Ivan Vecera
2026-01-08 18:23 ` [Intel-wired-lan] [PATCH net-next 05/12] dpll: Add notifier chain for dpll events Ivan Vecera
2026-01-08 18:23   ` Ivan Vecera
2026-01-09 16:12   ` [Intel-wired-lan] " Vadim Fedorenko
2026-01-09 16:12     ` Vadim Fedorenko
2026-01-08 18:23 ` [Intel-wired-lan] [PATCH net-next 06/12] dpll: Support dynamic pin index allocation Ivan Vecera
2026-01-08 18:23   ` Ivan Vecera
2026-01-09 23:34   ` [Intel-wired-lan] " kernel test robot
2026-01-12 15:13   ` kernel test robot
2026-01-12 16:56     ` Ivan Vecera
2026-01-12 19:19   ` kernel test robot
2026-01-08 18:23 ` [Intel-wired-lan] [PATCH net-next 07/12] dpll: zl3073x: Add support for mux pin type Ivan Vecera
2026-01-08 18:23   ` Ivan Vecera
2026-01-08 18:23 ` [Intel-wired-lan] [PATCH net-next 08/12] dpll: Enhance and consolidate reference counting logic Ivan Vecera
2026-01-08 18:23   ` Ivan Vecera
2026-01-08 18:23 ` [Intel-wired-lan] [PATCH net-next 09/12] dpll: Prevent duplicate registrations Ivan Vecera
2026-01-08 18:23   ` Ivan Vecera
2026-01-08 18:23 ` [Intel-wired-lan] [PATCH net-next 10/12] dpll: Add reference count tracking support Ivan Vecera
2026-01-08 18:23   ` Ivan Vecera
2026-01-12 16:06   ` kernel test robot [this message]
2026-01-08 18:23 ` [Intel-wired-lan] [PATCH net-next 11/12] drivers: Add support for DPLL reference count tracking Ivan Vecera
2026-01-08 18:23   ` Ivan Vecera
2026-01-08 18:23 ` [Intel-wired-lan] [PATCH net-next 12/12] ice: dpll: Support E825-C SyncE and dynamic pin discovery Ivan Vecera
2026-01-08 18:23   ` Ivan Vecera
2026-01-09  6:15   ` [Intel-wired-lan] " Loktionov, Aleksandr
2026-01-09  6:15     ` Loktionov, Aleksandr
2026-01-09 14:47     ` Ivan Vecera

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=202601122334.64RmoU1u-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Prathosh.Satish@microchip.com \
    --cc=aleksander.lobakin@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=anthony.l.nguyen@intel.com \
    --cc=arkadiusz.kubalewski@intel.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=ivecera@redhat.com \
    --cc=jiri@resnulli.us \
    --cc=jonathan.lemon@gmail.com \
    --cc=krzk@kernel.org \
    --cc=kuba@kernel.org \
    --cc=leon@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=mbloch@nvidia.com \
    --cc=netdev@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pabeni@redhat.com \
    --cc=przemyslaw.kitszel@intel.com \
    --cc=richardcochran@gmail.com \
    --cc=robh@kernel.org \
    --cc=saeedm@nvidia.com \
    --cc=tariqt@nvidia.com \
    --cc=vadim.fedorenko@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.