All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms@kernel.org>
To: ivecera@redhat.com
Cc: edumazet@google.com, anthony.l.nguyen@intel.com, leon@kernel.org,
	andrew+netdev@lunn.ch, linux-rdma@vger.kernel.org,
	przemyslaw.kitszel@intel.com, arkadiusz.kubalewski@intel.com,
	aleksandr.loktionov@intel.com, intel-wired-lan@lists.osuosl.org,
	kuba@kernel.org, pabeni@redhat.com, jiri@resnulli.us,
	richardcochran@gmail.com, Prathosh.Satish@microchip.com,
	vadim.fedorenko@linux.dev, netdev@vger.kernel.org,
	mbloch@nvidia.com, linux-kernel@vger.kernel.org,
	tariqt@nvidia.com, aleksander.lobakin@intel.com,
	Simon Horman <horms@kernel.org>,
	jonathan.lemon@gmail.com, saeedm@nvidia.com, davem@davemloft.net
Subject: Re: [Intel-wired-lan] [net-next, v4, 7/9] dpll: Add reference count tracking support
Date: Tue,  3 Feb 2026 16:11:02 +0000	[thread overview]
Message-ID: <20260203161102.1894146-1-horms@kernel.org> (raw)
In-Reply-To: <20260202171638.17427-8-ivecera@redhat.com>

This is an AI-generated review of your patch. The human sending this
email has considered the AI review valid, or at least plausible.

For local reproduction steps see https://netdev-ai.bots.linux.dev/ai-local.html
---
dpll: Add reference count tracking support

This commit adds REF_TRACKER infrastructure support to the DPLL subsystem,
allowing developers to track and debug reference counting leaks for
dpll_device and dpll_pin objects via debugfs.

> diff --git a/include/linux/dpll.h b/include/linux/dpll.h
> --- a/include/linux/dpll.h
> +++ b/include/linux/dpll.h

[ ... ]

> @@ -223,16 +231,17 @@ dpll_netdev_add_pin_handle(struct sk_buff *msg, const struct net_device *dev)
>  }
>
>  static inline struct dpll_pin *
> -fwnode_dpll_pin_find(struct fwnode_handle *fwnode)
> +fwnode_dpll_pin_find(struct fwnode_handle *fwnode, dpll_tracker *tracker);
>  {
>  	return NULL;
>  }

There appears to be a stray semicolon at the end of the function signature
on the line with the tracker parameter. This would cause a compile error
when CONFIG_DPLL is disabled since the function body follows what looks
like a forward declaration.

Should the semicolon be removed so the stub function compiles correctly?

WARNING: multiple messages have this Message-ID (diff)
From: Simon Horman <horms@kernel.org>
To: ivecera@redhat.com
Cc: Simon Horman <horms@kernel.org>,
	richardcochran@gmail.com, arkadiusz.kubalewski@intel.com,
	przemyslaw.kitszel@intel.com, aleksandr.loktionov@intel.com,
	andrew+netdev@lunn.ch, pabeni@redhat.com, saeedm@nvidia.com,
	kuba@kernel.org, tariqt@nvidia.com, netdev@vger.kernel.org,
	grzegorz.nitka@intel.com, poros@redhat.com, davem@davemloft.net,
	vadim.fedorenko@linux.dev, linux-rdma@vger.kernel.org,
	linux-kernel@vger.kernel.org, aleksander.lobakin@intel.com,
	jonathan.lemon@gmail.com, jiri@resnulli.us,
	anthony.l.nguyen@intel.com, intel-wired-lan@lists.osuosl.org,
	Prathosh.Satish@microchip.com, leon@kernel.org,
	edumazet@google.com, mbloch@nvidia.com
Subject: Re: [net-next,v4,7/9] dpll: Add reference count tracking support
Date: Tue,  3 Feb 2026 16:11:02 +0000	[thread overview]
Message-ID: <20260203161102.1894146-1-horms@kernel.org> (raw)
In-Reply-To: <20260202171638.17427-8-ivecera@redhat.com>

This is an AI-generated review of your patch. The human sending this
email has considered the AI review valid, or at least plausible.

For local reproduction steps see https://netdev-ai.bots.linux.dev/ai-local.html
---
dpll: Add reference count tracking support

This commit adds REF_TRACKER infrastructure support to the DPLL subsystem,
allowing developers to track and debug reference counting leaks for
dpll_device and dpll_pin objects via debugfs.

> diff --git a/include/linux/dpll.h b/include/linux/dpll.h
> --- a/include/linux/dpll.h
> +++ b/include/linux/dpll.h

[ ... ]

> @@ -223,16 +231,17 @@ dpll_netdev_add_pin_handle(struct sk_buff *msg, const struct net_device *dev)
>  }
>
>  static inline struct dpll_pin *
> -fwnode_dpll_pin_find(struct fwnode_handle *fwnode)
> +fwnode_dpll_pin_find(struct fwnode_handle *fwnode, dpll_tracker *tracker);
>  {
>  	return NULL;
>  }

There appears to be a stray semicolon at the end of the function signature
on the line with the tracker parameter. This would cause a compile error
when CONFIG_DPLL is disabled since the function body follows what looks
like a forward declaration.

Should the semicolon be removed so the stub function compiles correctly?

  parent reply	other threads:[~2026-02-03 16:11 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-02 17:16 [Intel-wired-lan] [PATCH net-next v4 0/9] dpll: Core improvements and ice E825-C SyncE support Ivan Vecera
2026-02-02 17:16 ` Ivan Vecera
2026-02-02 17:16 ` [Intel-wired-lan] [PATCH net-next v4 1/9] dpll: Allow associating dpll pin with a firmware node Ivan Vecera
2026-02-02 17:16   ` Ivan Vecera
2026-02-02 17:16 ` [Intel-wired-lan] [PATCH net-next v4 2/9] dpll: zl3073x: Associate pin with fwnode handle Ivan Vecera
2026-02-02 17:16   ` Ivan Vecera
2026-02-02 17:16 ` [Intel-wired-lan] [PATCH net-next v4 3/9] dpll: Add notifier chain for dpll events Ivan Vecera
2026-02-02 17:16   ` Ivan Vecera
2026-02-02 17:16 ` [Intel-wired-lan] [PATCH net-next v4 4/9] dpll: Support dynamic pin index allocation Ivan Vecera
2026-02-02 17:16   ` Ivan Vecera
2026-02-02 17:16 ` [Intel-wired-lan] [PATCH net-next v4 5/9] dpll: zl3073x: Add support for mux pin type Ivan Vecera
2026-02-02 17:16   ` Ivan Vecera
2026-02-02 17:16 ` [Intel-wired-lan] [PATCH net-next v4 6/9] dpll: Enhance and consolidate reference counting logic Ivan Vecera
2026-02-02 17:16   ` Ivan Vecera
2026-02-02 17:16 ` [Intel-wired-lan] [PATCH net-next v4 7/9] dpll: Add reference count tracking support Ivan Vecera
2026-02-02 17:16   ` Ivan Vecera
2026-02-02 21:48   ` [Intel-wired-lan] " kernel test robot
2026-02-03 10:21     ` Ivan Vecera
2026-02-02 23:55   ` kernel test robot
2026-02-03 16:11   ` Simon Horman [this message]
2026-02-03 16:11     ` [net-next,v4,7/9] " Simon Horman
2026-02-03 17:08     ` [Intel-wired-lan] [net-next, v4, 7/9] " Ivan Vecera
2026-02-03 17:08       ` [net-next,v4,7/9] " Ivan Vecera
2026-02-02 17:16 ` [Intel-wired-lan] [PATCH net-next v4 8/9] drivers: Add support for DPLL reference count tracking Ivan Vecera
2026-02-02 17:16   ` Ivan Vecera
2026-02-02 17:16 ` [Intel-wired-lan] [PATCH net-next v4 9/9] ice: dpll: Support E825-C SyncE and dynamic pin discovery Ivan Vecera
2026-02-02 17:16   ` Ivan Vecera
2026-02-03 16:11   ` [Intel-wired-lan] [net-next, v4, " Simon Horman
2026-02-03 16:11     ` [net-next,v4,9/9] " Simon Horman
2026-02-03 17:16     ` [Intel-wired-lan] [net-next, v4, 9/9] " Ivan Vecera
2026-02-03 17:16       ` [net-next,v4,9/9] " 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=20260203161102.1894146-1-horms@kernel.org \
    --to=horms@kernel.org \
    --cc=Prathosh.Satish@microchip.com \
    --cc=aleksander.lobakin@intel.com \
    --cc=aleksandr.loktionov@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=anthony.l.nguyen@intel.com \
    --cc=arkadiusz.kubalewski@intel.com \
    --cc=davem@davemloft.net \
    --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=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=pabeni@redhat.com \
    --cc=przemyslaw.kitszel@intel.com \
    --cc=richardcochran@gmail.com \
    --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.