mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [phy:next 37/37] drivers/phy/freescale/phy-fsl-imx8m-pcie.c:41:41: error: implicit declaration of function 'FIELD_PREP'
@ 2021-12-14 23:04 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-14 23:04 UTC (permalink / raw)
  To: Richard Zhu; +Cc: kbuild-all, Vinod Koul, Kishon, linux-kernel, Tim Harvey

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git next
head:   1aa97b002258a190d7790a1a5c0c27829f82e569
commit: 1aa97b002258a190d7790a1a5c0c27829f82e569 [37/37] phy: freescale: pcie: Initialize the imx8 pcie standalone phy driver
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20211215/202112150757.4yrvwmKK-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git/commit/?id=1aa97b002258a190d7790a1a5c0c27829f82e569
        git remote add phy https://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git
        git fetch --no-tags phy next
        git checkout 1aa97b002258a190d7790a1a5c0c27829f82e569
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/phy/freescale/phy-fsl-imx8m-pcie.c: In function 'imx8_pcie_phy_init':
>> drivers/phy/freescale/phy-fsl-imx8m-pcie.c:41:41: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration]
      41 | #define IMX8MM_GPR_PCIE_REF_CLK_EXT     FIELD_PREP(IMX8MM_GPR_PCIE_REF_CLK_SEL, 0x2)
         |                                         ^~~~~~~~~~
   drivers/phy/freescale/phy-fsl-imx8m-pcie.c:85:28: note: in expansion of macro 'IMX8MM_GPR_PCIE_REF_CLK_EXT'
      85 |                            IMX8MM_GPR_PCIE_REF_CLK_EXT :
         |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/FIELD_PREP +41 drivers/phy/freescale/phy-fsl-imx8m-pcie.c

    38	
    39	#define IMX8MM_GPR_PCIE_REF_CLK_SEL	GENMASK(25, 24)
    40	#define IMX8MM_GPR_PCIE_REF_CLK_PLL	FIELD_PREP(IMX8MM_GPR_PCIE_REF_CLK_SEL, 0x3)
  > 41	#define IMX8MM_GPR_PCIE_REF_CLK_EXT	FIELD_PREP(IMX8MM_GPR_PCIE_REF_CLK_SEL, 0x2)
    42	#define IMX8MM_GPR_PCIE_AUX_EN		BIT(19)
    43	#define IMX8MM_GPR_PCIE_CMN_RST		BIT(18)
    44	#define IMX8MM_GPR_PCIE_POWER_OFF	BIT(17)
    45	#define IMX8MM_GPR_PCIE_SSC_EN		BIT(16)
    46	#define IMX8MM_GPR_PCIE_AUX_EN_OVERRIDE	BIT(9)
    47	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-14 23:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-14 23:04 [phy:next 37/37] drivers/phy/freescale/phy-fsl-imx8m-pcie.c:41:41: error: implicit declaration of function 'FIELD_PREP' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®