Re: [PATCH 2/3] mailbox: imx: get RR/TR registers num from Parameter register

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Peng,

kernel test robot noticed the following build errors:

[auto build test ERROR on ad5c60d66016e544c51ed98635a74073f761f45d]

url:    https://github.com/intel-lab-lkp/linux/commits/Peng-Fan-OSS/dt-bindings-mailbox-fsl-mu-add-i-MX95-Generic-ELE-V2X-MU-compatible/20240122-100424
base:   ad5c60d66016e544c51ed98635a74073f761f45d
patch link:    https://lore.kernel.org/r/20240122-imx-mailbox-v1-2-81413f655210%40nxp.com
patch subject: [PATCH 2/3] mailbox: imx: get RR/TR registers num from Parameter register
config: i386-buildonly-randconfig-003-20240123 (https://download.01.org/0day-ci/archive/20240123/202401231557.HLHet6y7-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240123/202401231557.HLHet6y7-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401231557.HLHet6y7-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   drivers/mailbox/imx-mailbox.c: In function 'imx_mu_get_tr_rr':
>> drivers/mailbox/imx-mailbox.c:749:32: error: implicit declaration of function 'FIELD_GET' [-Werror=implicit-function-declaration]
     749 |                 priv->num_tr = FIELD_GET(IMX_MU_V2_TR_MASK, val);
         |                                ^~~~~~~~~
   cc1: some warnings being treated as errors


vim +/FIELD_GET +749 drivers/mailbox/imx-mailbox.c

   742	
   743	static void imx_mu_get_tr_rr(struct imx_mu_priv *priv)
   744	{
   745		u32 val;
   746	
   747		if (priv->dcfg->type & IMX_MU_V2) {
   748			val = imx_mu_read(priv, IMX_MU_V2_PAR_OFF);
 > 749			priv->num_tr = FIELD_GET(IMX_MU_V2_TR_MASK, val);
   750			priv->num_rr = FIELD_GET(IMX_MU_V2_RR_MASK, val);
   751		} else {
   752			priv->num_tr = 4;
   753			priv->num_rr = 4;
   754		}
   755	}
   756	

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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux