All of lore.kernel.org
 help / color / mirror / Atom feed
* [xilinx-xlnx:xlnx_rebase_v5.15_LTS 449/1197] drivers/clk/clk-si5324.c:474: warning: expecting prototype for si5324_regmap_is_writable(). Prototype was for si5324_regmap_is_writeable() instead
@ 2022-06-26  0:03 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-26  0:03 UTC (permalink / raw)
  To: Venkateshwar Rao Gannavarapu; +Cc: kbuild-all, linux-arm-kernel, Michal Simek

Hi Venkateshwar,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head:   1e67f149fb5eb4f5eb4e0d4f69194eac6d2497d7
commit: 2ba5718a624ee405166bd43683de3825b70a128f [449/1197] clk: Adding Silicon labs si5324 clock driver
config: mips-allmodconfig
compiler: mips-linux-gcc (GCC) 11.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
        # https://github.com/Xilinx/linux-xlnx/commit/2ba5718a624ee405166bd43683de3825b70a128f
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15_LTS
        git checkout 2ba5718a624ee405166bd43683de3825b70a128f
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/clk/ drivers/gpu/drm/xlnx/ drivers/media/platform/xilinx/ drivers/misc/ drivers/phy/xilinx/ drivers/ptp/ drivers/staging/ drivers/uio/

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

All warnings (new ones prefixed by >>):

>> drivers/clk/clk-si5324.c:474: warning: expecting prototype for si5324_regmap_is_writable(). Prototype was for si5324_regmap_is_writeable() instead


vim +474 drivers/clk/clk-si5324.c

   462	
   463	/**
   464	 * si5324_regmap_is_writable - Checks the register is writable or not
   465	 *
   466	 * @dev:	Registered device
   467	 * @reg:	Register offset
   468	 *
   469	 * Checks the register is writable or not.
   470	 *
   471	 * Return:	True if the register is writeable, False if it's not writeable.
   472	 */
   473	static bool si5324_regmap_is_writeable(struct device *dev, unsigned int reg)
 > 474	{
   475		if ((reg > SI5324_POWERDOWN && reg < SI5324_FOS_LOCKT) ||
   476		    (reg > SI5324_N1_HS && reg < SI5324_NC1_LS_H) ||
   477		    (reg > SI5324_NC2_LS_L && reg < SI5324_N2_HS_LS_H) ||
   478		    (reg > SI5324_N32_CLKIN_L && reg < SI5324_FOS_CLKIN_RATE) ||
   479		    (reg > SI5324_FOS_CLKIN_RATE && reg < SI5324_PLL_ACTV_CLK) ||
   480		    reg > SI5324_SKEW2 ||
   481		    (reg >= SI5324_PLL_ACTV_CLK && reg <= SI5324_CLKIN_LOL_STATUS) ||
   482		    (reg >= SI5324_PARTNO_H && reg <= SI5324_PARTNO_L))
   483			return false;
   484	
   485		return true;
   486	}
   487	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

_______________________________________________
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:[~2022-06-26  0:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-26  0:03 [xilinx-xlnx:xlnx_rebase_v5.15_LTS 449/1197] drivers/clk/clk-si5324.c:474: warning: expecting prototype for si5324_regmap_is_writable(). Prototype was for si5324_regmap_is_writeable() instead 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.