netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Radu Pirea (NXP OSS)" <radu-nicolae.pirea@oss.nxp.com>,
	sd@queasysnail.net, davem@davemloft.net, edumazet@google.com,
	kuba@kernel.org, pabeni@redhat.com, andrew@lunn.ch,
	hkallweit1@gmail.com, linux@armlinux.org.uk,
	richardcochran@gmail.com
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org, sebastian.tobuschat@oss.nxp.com,
	"Radu Pirea (NXP OSS)" <radu-nicolae.pirea@oss.nxp.com>
Subject: Re: [PATCH net-next v8 5/7] net: phy: nxp-c45-tja11xx: add MACsec support
Date: Fri, 27 Oct 2023 07:02:38 +0800	[thread overview]
Message-ID: <202310270618.i3W3qKiJ-lkp@intel.com> (raw)
In-Reply-To: <20231023094327.565297-6-radu-nicolae.pirea@oss.nxp.com>

Hi Radu,

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/Radu-Pirea-NXP-OSS/net-macsec-move-sci_to_cpu-to-macsec-header/20231023-174539
base:   net-next/main
patch link:    https://lore.kernel.org/r/20231023094327.565297-6-radu-nicolae.pirea%40oss.nxp.com
patch subject: [PATCH net-next v8 5/7] net: phy: nxp-c45-tja11xx: add MACsec support
config: x86_64-randconfig-103-20231026 (https://download.01.org/0day-ci/archive/20231027/202310270618.i3W3qKiJ-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231027/202310270618.i3W3qKiJ-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/202310270618.i3W3qKiJ-lkp@intel.com/

All errors (new ones prefixed by >>):

   ld: drivers/net/phy/nxp-c45-tja11xx-macsec.o: in function `nxp_c45_handle_macsec_interrupt':
>> drivers/net/phy/nxp-c45-tja11xx-macsec.c:1330: undefined reference to `macsec_pn_wrapped'


vim +1330 drivers/net/phy/nxp-c45-tja11xx-macsec.c

  1299	
  1300	void nxp_c45_handle_macsec_interrupt(struct phy_device *phydev,
  1301					     irqreturn_t *ret)
  1302	{
  1303		struct nxp_c45_phy *priv = phydev->priv;
  1304		struct nxp_c45_secy *pos, *tmp;
  1305		struct nxp_c45_sa *sa;
  1306		u8 encoding_sa;
  1307		int secy_id;
  1308		u32 reg = 0;
  1309	
  1310		if (!priv->macsec)
  1311			return;
  1312	
  1313		do {
  1314			nxp_c45_macsec_read(phydev, MACSEC_EVR, &reg);
  1315			if (!reg)
  1316				return;
  1317	
  1318			secy_id = MACSEC_REG_SIZE - ffs(reg);
  1319			list_for_each_entry_safe(pos, tmp, &priv->macsec->secy_list,
  1320						 list)
  1321				if (pos->secy_id == secy_id)
  1322					break;
  1323	
  1324			encoding_sa = pos->secy->tx_sc.encoding_sa;
  1325			phydev_dbg(phydev, "pn_wrapped: TX SC %d, encoding_sa %u\n",
  1326				   pos->secy_id, encoding_sa);
  1327	
  1328			sa = nxp_c45_find_sa(&pos->sa_list, TX_SA, encoding_sa);
  1329			if (!IS_ERR(sa))
> 1330				macsec_pn_wrapped(pos->secy, sa->sa);

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

  reply	other threads:[~2023-10-26 23:02 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-23  9:43 [PATCH net-next v8 0/7] Add MACsec support for TJA11XX C45 PHYs Radu Pirea (NXP OSS)
2023-10-23  9:43 ` [PATCH net-next v8 1/7] net: macsec: move sci_to_cpu to macsec header Radu Pirea (NXP OSS)
2023-10-23  9:43 ` [PATCH net-next v8 2/7] net: macsec: documentation for macsec_context and macsec_ops Radu Pirea (NXP OSS)
2023-10-23  9:43 ` [PATCH net-next v8 3/7] net: macsec: revert the MAC address if mdo_upd_secy fails Radu Pirea (NXP OSS)
2023-10-23  9:43 ` [PATCH net-next v8 4/7] net: macsec: introduce mdo_insert_tx_tag Radu Pirea (NXP OSS)
2023-10-25 22:40   ` Jakub Kicinski
2023-10-23  9:43 ` [PATCH net-next v8 5/7] net: phy: nxp-c45-tja11xx: add MACsec support Radu Pirea (NXP OSS)
2023-10-26 23:02   ` kernel test robot [this message]
2023-10-27  9:37   ` Sabrina Dubroca
2023-11-08 13:50     ` Radu Pirea (OSS)
2023-11-04 11:35   ` Simon Horman
2023-11-08 10:45     ` Radu Pirea (OSS)
2023-10-23  9:43 ` [PATCH net-next v8 6/7] net: phy: nxp-c45-tja11xx: add MACsec statistics Radu Pirea (NXP OSS)
2023-10-23  9:43 ` [PATCH net-next v8 7/7] net: phy: nxp-c45-tja11xx: implement mdo_insert_tx_tag Radu Pirea (NXP OSS)
2023-10-25 16:21 ` [PATCH net-next v8 0/7] Add MACsec support for TJA11XX C45 PHYs Radu Pirea (OSS)
2023-10-25 22:18   ` Jakub Kicinski
2023-10-25 22:40     ` Jakub Kicinski
2023-10-25 22:46       ` Jakub Kicinski

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=202310270618.i3W3qKiJ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=hkallweit1@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=netdev@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pabeni@redhat.com \
    --cc=radu-nicolae.pirea@oss.nxp.com \
    --cc=richardcochran@gmail.com \
    --cc=sd@queasysnail.net \
    --cc=sebastian.tobuschat@oss.nxp.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).