lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202601222033.Qhu55YA4-lkp@intel.com>
Date: Thu, 22 Jan 2026 21:05:10 +0800
From: kernel test robot <lkp@...el.com>
To: Carlos Song <carlos.song@....com>, andi.shyti@...nel.org,
	aisheng.dong@....com, shawnguo@...nel.org, s.hauer@...gutronix.de,
	kernel@...gutronix.de, festevam@...il.com, vz@...ia.com,
	pandy.gao@....com, B38611@...escale.com, wsa@...nel.org
Cc: oe-kbuild-all@...ts.linux.dev, linux-i2c@...r.kernel.org,
	imx@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
	linux-kernel@...r.kernel.org, Carlos Song <carlos.song@....com>,
	Frank Li <Frank.Li@....com>
Subject: Re: [Patch V3] i2c: imx-lpi2c: fix SMBus block read NACK after byte
 count

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ