linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [xilinx-xlnx:xlnx_rebase_v5.10 103/1981] drivers/pinctrl/pinctrl-zynqmp.c:106:25: warning: implicit conversion from 'enum zynqmp_pin_config_param' to 'enum pin_config_param'
@ 2021-12-17 22:15 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-17 22:15 UTC (permalink / raw)
  To: Sai Krishna Potthuri; +Cc: kbuild-all, linux-arm-kernel, Michal Simek

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.10
head:   87ec9a2d98a7a7dfc98b57348a0ec310fd170e4b
commit: 17ad884f47d49a926ff8a49ea12002b1be229f45 [103/1981] pinctrl: zynqmp: Maintain backward compatibility with previous version
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20211218/202112180614.0pyqdUgJ-lkp@intel.com/config)
compiler: aarch64-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://github.com/Xilinx/linux-xlnx/commit/17ad884f47d49a926ff8a49ea12002b1be229f45
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.10
        git checkout 17ad884f47d49a926ff8a49ea12002b1be229f45
        # 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=arm64 SHELL=/bin/bash arch/arm64/kvm/ drivers/crypto/caam/ drivers/edac/ drivers/irqchip/ drivers/net/ethernet/ti/ drivers/pinctrl/ drivers/remoteproc/ drivers/usb/dwc3/

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

All warnings (new ones prefixed by >>):

>> drivers/pinctrl/pinctrl-zynqmp.c:106:25: warning: implicit conversion from 'enum zynqmp_pin_config_param' to 'enum pin_config_param' [-Wenum-conversion]
     106 |         {"io-standard", PIN_CONFIG_IOSTANDARD, IO_STANDARD_LVCMOS18},
         |                         ^~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/pinctrl-zynqmp.c:107:26: warning: implicit conversion from 'enum zynqmp_pin_config_param' to 'enum pin_config_param' [-Wenum-conversion]
     107 |         {"schmitt-cmos", PIN_CONFIG_SCHMITTCMOS, PIN_INPUT_TYPE_SCHMITT},
         |                          ^~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/pinctrl/pinctrl-zynqmp.c:20:
   drivers/pinctrl/pinctrl-zynqmp.c:113:19: warning: implicit conversion from 'enum zynqmp_pin_config_param' to 'enum pin_config_param' [-Wenum-conversion]
     113 |         PCONFDUMP(PIN_CONFIG_IOSTANDARD, "IO-standard", NULL, true),
         |                   ^~~~~~~~~~~~~~~~~~~~~
   include/linux/pinctrl/pinconf-generic.h:168:18: note: in definition of macro 'PCONFDUMP'
     168 |         .param = a, .display = b, .format = c, .has_arg = d     \
         |                  ^
   drivers/pinctrl/pinctrl-zynqmp.c:114:19: warning: implicit conversion from 'enum zynqmp_pin_config_param' to 'enum pin_config_param' [-Wenum-conversion]
     114 |         PCONFDUMP(PIN_CONFIG_SCHMITTCMOS, "schmitt-cmos", NULL, true),
         |                   ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/pinctrl/pinconf-generic.h:168:18: note: in definition of macro 'PCONFDUMP'
     168 |         .param = a, .display = b, .format = c, .has_arg = d     \
         |                  ^


vim +106 drivers/pinctrl/pinctrl-zynqmp.c

   104	
   105	static const struct pinconf_generic_params zynqmp_dt_params[] = {
 > 106		{"io-standard", PIN_CONFIG_IOSTANDARD, IO_STANDARD_LVCMOS18},
   107		{"schmitt-cmos", PIN_CONFIG_SCHMITTCMOS, PIN_INPUT_TYPE_SCHMITT},
   108	};
   109	

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

only message in thread, other threads:[~2021-12-17 22:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-17 22:15 [xilinx-xlnx:xlnx_rebase_v5.10 103/1981] drivers/pinctrl/pinctrl-zynqmp.c:106:25: warning: implicit conversion from 'enum zynqmp_pin_config_param' to 'enum pin_config_param' 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;
as well as URLs for NNTP newsgroup(s).