netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Vadim Fedorenko" <vadim.fedorenko@linux.dev>,
	"Jian Shen" <shenjian15@huawei.com>,
	"Salil Mehta" <salil.mehta@huawei.com>,
	"Jijie Shao" <shaojijie@huawei.com>,
	"Andrew Lunn" <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	"Eric Dumazet" <edumazet@google.com>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Sunil Goutham" <sgoutham@marvell.com>,
	"Geetha sowjanya" <gakula@marvell.com>,
	"Subbaraya Sundeep" <sbhatta@marvell.com>,
	"Bharat Bhushan" <bbhushan2@marvell.com>,
	"Tariq Toukan" <tariqt@nvidia.com>,
	"Brett Creeley" <brett.creeley@amd.com>,
	"Niklas Söderlund" <niklas.soderlund@ragnatech.se>,
	"Paul Barker" <paul@pbarker.dev>,
	"Yoshihiro Shimoda" <yoshihiro.shimoda.uh@renesas.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
	Richard Cochran <richardcochran@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	Vladimir Oltean <vladimir.oltean@nxp.com>,
	Simon Horman <horms@kernel.org>,
	Jacob Keller <jacob.e.keller@intel.com>,
	Vadim Fedorenko <vadim.fedorenko@linux.dev>
Subject: Re: [PATCH net-next v4 3/6] ionic: convert to ndo_hwtstamp API
Date: Fri, 24 Oct 2025 03:49:18 +0800	[thread overview]
Message-ID: <202510240344.2MuPn70o-lkp@intel.com> (raw)
In-Reply-To: <20251022104900.901973-4-vadim.fedorenko@linux.dev>

Hi Vadim,

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/Vadim-Fedorenko/octeontx2-convert-to-ndo_hwtstamp-API/20251022-185103
base:   net-next/main
patch link:    https://lore.kernel.org/r/20251022104900.901973-4-vadim.fedorenko%40linux.dev
patch subject: [PATCH net-next v4 3/6] ionic: convert to ndo_hwtstamp API
config: x86_64-randconfig-001-20251024 (https://download.01.org/0day-ci/archive/20251024/202510240344.2MuPn70o-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251024/202510240344.2MuPn70o-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/202510240344.2MuPn70o-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/net/ethernet/pensando/ionic/ionic_lif.c:2821:22: error: use of undeclared identifier 'ionic_hwstamp_get'; did you mean 'ionic_lif_hwstamp_get'?
    2821 |         .ndo_hwtstamp_get       = ionic_hwstamp_get,
         |                                   ^~~~~~~~~~~~~~~~~
         |                                   ionic_lif_hwstamp_get
   drivers/net/ethernet/pensando/ionic/ionic_lif.h:384:19: note: 'ionic_lif_hwstamp_get' declared here
     384 | static inline int ionic_lif_hwstamp_get(struct ionic_lif *lif, struct ifreq *ifr)
         |                   ^
>> drivers/net/ethernet/pensando/ionic/ionic_lif.c:2822:22: error: use of undeclared identifier 'ionic_hwstamp_set'; did you mean 'ionic_lif_hwstamp_set'?
    2822 |         .ndo_hwtstamp_set       = ionic_hwstamp_set,
         |                                   ^~~~~~~~~~~~~~~~~
         |                                   ionic_lif_hwstamp_set
   drivers/net/ethernet/pensando/ionic/ionic_lif.h:379:19: note: 'ionic_lif_hwstamp_set' declared here
     379 | static inline int ionic_lif_hwstamp_set(struct ionic_lif *lif, struct ifreq *ifr)
         |                   ^
>> drivers/net/ethernet/pensando/ionic/ionic_lif.c:2821:22: error: incompatible function pointer types initializing 'int (*)(struct net_device *, struct kernel_hwtstamp_config *)' with an expression of type 'int (struct ionic_lif *, struct ifreq *)' [-Wincompatible-function-pointer-types]
    2821 |         .ndo_hwtstamp_get       = ionic_hwstamp_get,
         |                                   ^~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/pensando/ionic/ionic_lif.c:2822:22: error: incompatible function pointer types initializing 'int (*)(struct net_device *, struct kernel_hwtstamp_config *, struct netlink_ext_ack *)' with an expression of type 'int (struct ionic_lif *, struct ifreq *)' [-Wincompatible-function-pointer-types]
    2822 |         .ndo_hwtstamp_set       = ionic_hwstamp_set,
         |                                   ^~~~~~~~~~~~~~~~~
   4 errors generated.


vim +2821 drivers/net/ethernet/pensando/ionic/ionic_lif.c

  2797	
  2798	static const struct net_device_ops ionic_netdev_ops = {
  2799		.ndo_open               = ionic_open,
  2800		.ndo_stop               = ionic_stop,
  2801		.ndo_start_xmit		= ionic_start_xmit,
  2802		.ndo_bpf		= ionic_xdp,
  2803		.ndo_xdp_xmit		= ionic_xdp_xmit,
  2804		.ndo_get_stats64	= ionic_get_stats64,
  2805		.ndo_set_rx_mode	= ionic_ndo_set_rx_mode,
  2806		.ndo_set_features	= ionic_set_features,
  2807		.ndo_set_mac_address	= ionic_set_mac_address,
  2808		.ndo_validate_addr	= eth_validate_addr,
  2809		.ndo_tx_timeout         = ionic_tx_timeout,
  2810		.ndo_change_mtu         = ionic_change_mtu,
  2811		.ndo_vlan_rx_add_vid    = ionic_vlan_rx_add_vid,
  2812		.ndo_vlan_rx_kill_vid   = ionic_vlan_rx_kill_vid,
  2813		.ndo_set_vf_vlan	= ionic_set_vf_vlan,
  2814		.ndo_set_vf_trust	= ionic_set_vf_trust,
  2815		.ndo_set_vf_mac		= ionic_set_vf_mac,
  2816		.ndo_set_vf_rate	= ionic_set_vf_rate,
  2817		.ndo_set_vf_spoofchk	= ionic_set_vf_spoofchk,
  2818		.ndo_get_vf_config	= ionic_get_vf_config,
  2819		.ndo_set_vf_link_state	= ionic_set_vf_link_state,
  2820		.ndo_get_vf_stats       = ionic_get_vf_stats,
> 2821		.ndo_hwtstamp_get	= ionic_hwstamp_get,
> 2822		.ndo_hwtstamp_set	= ionic_hwstamp_set,
  2823	};
  2824	

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

  reply	other threads:[~2025-10-23 19:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-22 10:48 [PATCH net-next v4 0/6] convert net drivers to ndo_hwtstamp API part 2 Vadim Fedorenko
2025-10-22 10:48 ` [PATCH net-next v4 1/6] octeontx2: convert to ndo_hwtstamp API Vadim Fedorenko
2025-10-22 10:48 ` [PATCH net-next v4 2/6] mlx4: " Vadim Fedorenko
2025-10-22 10:48 ` [PATCH net-next v4 3/6] ionic: " Vadim Fedorenko
2025-10-23 19:49   ` kernel test robot [this message]
2025-10-22 10:48 ` [PATCH net-next v4 4/6] net: ravb: " Vadim Fedorenko
2025-10-22 10:48 ` [PATCH net-next v4 5/6] net: renesas: rswitch: " Vadim Fedorenko
2025-10-22 10:49 ` [PATCH net-next v4 6/6] net: hns3: add hwtstamp_get/hwtstamp_set ops Vadim Fedorenko

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=202510240344.2MuPn70o-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=bbhushan2@marvell.com \
    --cc=brett.creeley@amd.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=gakula@marvell.com \
    --cc=horms@kernel.org \
    --cc=jacob.e.keller@intel.com \
    --cc=kuba@kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=llvm@lists.linux.dev \
    --cc=netdev@vger.kernel.org \
    --cc=niklas.soderlund@ragnatech.se \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pabeni@redhat.com \
    --cc=paul@pbarker.dev \
    --cc=richardcochran@gmail.com \
    --cc=salil.mehta@huawei.com \
    --cc=sbhatta@marvell.com \
    --cc=sgoutham@marvell.com \
    --cc=shaojijie@huawei.com \
    --cc=shenjian15@huawei.com \
    --cc=tariqt@nvidia.com \
    --cc=vadim.fedorenko@linux.dev \
    --cc=vladimir.oltean@nxp.com \
    --cc=yoshihiro.shimoda.uh@renesas.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;
as well as URLs for NNTP newsgroup(s).