All of lore.kernel.org
 help / color / mirror / Atom feed
* [afaerber:rtd1295-next 146/207] drivers/pci/controller/pcie-rtd129x.c:44:34: error: implicit declaration of function 'FIELD_PREP'
@ 2020-08-16 23:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-08-16 23:14 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2470 bytes --]

tree:   https://github.com/afaerber/linux.git rtd1295-next
head:   55ecb5381393882d1f94c4db32e19d19bcd244b4
commit: 92d2b7bb455519e188dcb65fc48cfa81acdda2e5 [146/207] pci: Prepare RTD1295
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.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
        git checkout 92d2b7bb455519e188dcb65fc48cfa81acdda2e5
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha 

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/pci/controller/pcie-rtd129x.c: In function 'rtd129x_pcie_phy_reset':
>> drivers/pci/controller/pcie-rtd129x.c:44:34: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration]
      44 | #define MDIO_CTR_MDIO_RDWR_WRITE FIELD_PREP(MDIO_CTR_MDIO_RDWR, 1)
         |                                  ^~~~~~~~~~
   drivers/pci/controller/pcie-rtd129x.c:95:29: note: in expansion of macro 'MDIO_CTR_MDIO_RDWR_WRITE'
      95 |  val = MDIO_CTR_MDIO_SRST | MDIO_CTR_MDIO_RDWR_WRITE;
         |                             ^~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

# https://github.com/afaerber/linux/commit/92d2b7bb455519e188dcb65fc48cfa81acdda2e5
git remote add afaerber https://github.com/afaerber/linux.git
git fetch --no-tags afaerber rtd1295-next
git checkout 92d2b7bb455519e188dcb65fc48cfa81acdda2e5
vim +/FIELD_PREP +44 drivers/pci/controller/pcie-rtd129x.c

    41	
    42	#define MDIO_CTR_MDIO_RDWR		BIT(0)
    43	#define MDIO_CTR_MDIO_RDWR_READ	FIELD_PREP(MDIO_CTR_MDIO_RDWR, 0)
  > 44	#define MDIO_CTR_MDIO_RDWR_WRITE	FIELD_PREP(MDIO_CTR_MDIO_RDWR, 1)
    45	#define MDIO_CTR_MDIO_SRST		BIT(1)
    46	#define MDIO_CTR_MCLK_RATE		GENMASK(3, 2)
    47	#define MDIO_CTR_MDIO_RDY		BIT(4)
    48	#define MDIO_CTR_MDIO_ST		GENMASK(6, 5)
    49	#define MDIO_CTR_MDIO_BUSY		BIT(7)
    50	#define MDIO_CTR_PHY_REG		GENMASK(12, 8)
    51	#define MDIO_CTR_PHY_ADDR		GENMASK(15, 13)
    52	#define MDIO_CTR_DATA			GENMASK(31, 16)
    53	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 65777 bytes --]

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

only message in thread, other threads:[~2020-08-16 23:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-16 23:14 [afaerber:rtd1295-next 146/207] drivers/pci/controller/pcie-rtd129x.c:44:34: error: implicit declaration of function 'FIELD_PREP' kernel test robot

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.