All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Carlos Song <carlos.song@nxp.com>,
	andi.shyti@kernel.org, aisheng.dong@nxp.com, shawnguo@kernel.org,
	s.hauer@pengutronix.de, kernel@pengutronix.de,
	festevam@gmail.com, vz@mleia.com, pandy.gao@nxp.com,
	B38611@freescale.com, wsa@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, linux-i2c@vger.kernel.org,
	imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Carlos Song <carlos.song@nxp.com>,
	Frank Li <Frank.Li@nxp.com>
Subject: Re: [Patch V3] i2c: imx-lpi2c: fix SMBus block read NACK after byte count
Date: Thu, 22 Jan 2026 21:05:10 +0800	[thread overview]
Message-ID: <202601222033.Qhu55YA4-lkp@intel.com> (raw)
In-Reply-To: <20260121094837.2651035-1-carlos.song@nxp.com>

Hi Carlos,

kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on v6.19-rc6 next-20260121]
[cannot apply to andi-shyti/i2c/i2c-host]
[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/Carlos-Song/i2c-imx-lpi2c-fix-SMBus-block-read-NACK-after-byte-count/20260121-175629
base:   linus/master
patch link:    https://lore.kernel.org/r/20260121094837.2651035-1-carlos.song%40nxp.com
patch subject: [Patch V3] i2c: imx-lpi2c: fix SMBus block read NACK after byte count
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20260122/202601222033.Qhu55YA4-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/20260122/202601222033.Qhu55YA4-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/202601222033.Qhu55YA4-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/i2c/busses/i2c-imx-lpi2c.c:19:
   drivers/i2c/busses/i2c-imx-lpi2c.c: In function 'lpi2c_imx_read_init':
>> drivers/i2c/busses/i2c-imx-lpi2c.c:93:29: error: implicit declaration of function 'FIELD_GET' [-Wimplicit-function-declaration]
      93 | #define MSR_RDF_ASSERTED(x) FIELD_GET(MSR_RDF, (x))
         |                             ^~~~~~~~~
   include/linux/iopoll.h:49:21: note: in definition of macro 'poll_timeout_us'
      49 |                 if (cond) { \
         |                     ^~~~
   include/linux/iopoll.h:193:9: note: in expansion of macro 'read_poll_timeout'
     193 |         read_poll_timeout(op, val, cond, sleep_us, timeout_us, false, addr)
         |         ^~~~~~~~~~~~~~~~~
   include/linux/iopoll.h:228:9: note: in expansion of macro 'readx_poll_timeout'
     228 |         readx_poll_timeout(readl, addr, val, cond, delay_us, timeout_us)
         |         ^~~~~~~~~~~~~~~~~~
   drivers/i2c/busses/i2c-imx-lpi2c.c:569:23: note: in expansion of macro 'readl_poll_timeout'
     569 |                 ret = readl_poll_timeout(lpi2c_imx->base + LPI2C_MSR, val,
         |                       ^~~~~~~~~~~~~~~~~~
   drivers/i2c/busses/i2c-imx-lpi2c.c:570:42: note: in expansion of macro 'MSR_RDF_ASSERTED'
     570 |                                          MSR_RDF_ASSERTED(val), 1, 1000);
         |                                          ^~~~~~~~~~~~~~~~


vim +/FIELD_GET +93 drivers/i2c/busses/i2c-imx-lpi2c.c

    70	
    71	#define MCR_MEN		BIT(0)
    72	#define MCR_RST		BIT(1)
    73	#define MCR_DOZEN	BIT(2)
    74	#define MCR_DBGEN	BIT(3)
    75	#define MCR_RTF		BIT(8)
    76	#define MCR_RRF		BIT(9)
    77	#define MSR_TDF		BIT(0)
    78	#define MSR_RDF		BIT(1)
    79	#define MSR_SDF		BIT(9)
    80	#define MSR_NDF		BIT(10)
    81	#define MSR_ALF		BIT(11)
    82	#define MSR_MBF		BIT(24)
    83	#define MSR_BBF		BIT(25)
    84	#define MIER_TDIE	BIT(0)
    85	#define MIER_RDIE	BIT(1)
    86	#define MIER_SDIE	BIT(9)
    87	#define MIER_NDIE	BIT(10)
    88	#define MCFGR1_AUTOSTOP	BIT(8)
    89	#define MCFGR1_IGNACK	BIT(9)
    90	#define MRDR_RXEMPTY	BIT(14)
    91	#define MDER_TDDE	BIT(0)
    92	#define MDER_RDDE	BIT(1)
  > 93	#define MSR_RDF_ASSERTED(x) FIELD_GET(MSR_RDF, (x))
    94	

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

  reply	other threads:[~2026-01-22 13:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-21  9:48 [Patch V3] i2c: imx-lpi2c: fix SMBus block read NACK after byte count Carlos Song
2026-01-22 13:05 ` kernel test robot [this message]
2026-01-22 13:06 ` Andi Shyti

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=202601222033.Qhu55YA4-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=B38611@freescale.com \
    --cc=Frank.Li@nxp.com \
    --cc=aisheng.dong@nxp.com \
    --cc=andi.shyti@kernel.org \
    --cc=carlos.song@nxp.com \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pandy.gao@nxp.com \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=vz@mleia.com \
    --cc=wsa@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 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.