Hi Krzysztof, I love your patch! Perhaps something to improve: [auto build test WARNING on arm64/for-next/core] [also build test WARNING on linus/master v5.12-rc2 next-20210311] [cannot apply to clk/clk-next soc/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Krzysztof-Kozlowski/arm64-clk-socfpga-simplifying-cleanups-and-compile-testing/20210311-232941 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core config: ia64-allmodconfig (attached as .config) compiler: ia64-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 # https://github.com/0day-ci/linux/commit/16a45074953446d4d927f2e9ffefa8349a425083 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Krzysztof-Kozlowski/arm64-clk-socfpga-simplifying-cleanups-and-compile-testing/20210311-232941 git checkout 16a45074953446d4d927f2e9ffefa8349a425083 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/clk/socfpga/clk-gate.c: In function 'socfpga_clk_recalc_rate': >> drivers/clk/socfpga/clk-gate.c:102:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 102 | if ((int) socfpgaclk->div_reg & SOCFPGA_GPIO_DB_CLK_OFFSET) | ^ Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for FRAME_POINTER Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS Selected by - FAULT_INJECTION_STACKTRACE_FILTER && FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT && !X86_64 && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86 vim +102 drivers/clk/socfpga/clk-gate.c 97259e99bdc914 Steffen Trumtrar 2014-01-06 89 97259e99bdc914 Steffen Trumtrar 2014-01-06 90 static unsigned long socfpga_clk_recalc_rate(struct clk_hw *hwclk, 97259e99bdc914 Steffen Trumtrar 2014-01-06 91 unsigned long parent_rate) 97259e99bdc914 Steffen Trumtrar 2014-01-06 92 { 97259e99bdc914 Steffen Trumtrar 2014-01-06 93 struct socfpga_gate_clk *socfpgaclk = to_socfpga_gate_clk(hwclk); 97259e99bdc914 Steffen Trumtrar 2014-01-06 94 u32 div = 1, val; 97259e99bdc914 Steffen Trumtrar 2014-01-06 95 97259e99bdc914 Steffen Trumtrar 2014-01-06 96 if (socfpgaclk->fixed_div) 97259e99bdc914 Steffen Trumtrar 2014-01-06 97 div = socfpgaclk->fixed_div; 97259e99bdc914 Steffen Trumtrar 2014-01-06 98 else if (socfpgaclk->div_reg) { 97259e99bdc914 Steffen Trumtrar 2014-01-06 99 val = readl(socfpgaclk->div_reg) >> socfpgaclk->shift; 25d4d341d31b34 Andy Shevchenko 2015-07-13 100 val &= GENMASK(socfpgaclk->width - 1, 0); 97259e99bdc914 Steffen Trumtrar 2014-01-06 101 /* Check for GPIO_DB_CLK by its offset */ 97259e99bdc914 Steffen Trumtrar 2014-01-06 @102 if ((int) socfpgaclk->div_reg & SOCFPGA_GPIO_DB_CLK_OFFSET) 97259e99bdc914 Steffen Trumtrar 2014-01-06 103 div = val + 1; 97259e99bdc914 Steffen Trumtrar 2014-01-06 104 else 97259e99bdc914 Steffen Trumtrar 2014-01-06 105 div = (1 << val); 97259e99bdc914 Steffen Trumtrar 2014-01-06 106 } 97259e99bdc914 Steffen Trumtrar 2014-01-06 107 97259e99bdc914 Steffen Trumtrar 2014-01-06 108 return parent_rate / div; 97259e99bdc914 Steffen Trumtrar 2014-01-06 109 } 97259e99bdc914 Steffen Trumtrar 2014-01-06 110 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org