Hi Michel, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on next-20180517] [also build test WARNING on v4.17-rc6] [cannot apply to robh/for-next renesas-drivers/clk-renesas renesas/devel v4.17-rc6 v4.17-rc5 v4.17-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Michel-Pollet/arm-Base-support-for-Renesas-RZN1D-DB-Board/20180524-052042 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> drivers/clk/renesas/rzn1-clocks.c:270:22: sparse: cast removes address space of expression >> drivers/clk/renesas/rzn1-clocks.c:271:29: sparse: incorrect type in argument 1 (different address spaces) @@ expected unsigned int [noderef] [usertype] <asn:2>*reg @@ got eref] [usertype] <asn:2>*reg @@ drivers/clk/renesas/rzn1-clocks.c:271:29: expected unsigned int [noderef] [usertype] <asn:2>*reg drivers/clk/renesas/rzn1-clocks.c:271:29: got unsigned int [usertype] *reg drivers/clk/renesas/rzn1-clocks.c:274:25: sparse: incorrect type in argument 2 (different address spaces) @@ expected unsigned int [noderef] [usertype] <asn:2>*reg @@ got eref] [usertype] <asn:2>*reg @@ drivers/clk/renesas/rzn1-clocks.c:274:25: expected unsigned int [noderef] [usertype] <asn:2>*reg drivers/clk/renesas/rzn1-clocks.c:274:25: got unsigned int [usertype] *reg drivers/clk/renesas/rzn1-clocks.c:281:22: sparse: cast removes address space of expression drivers/clk/renesas/rzn1-clocks.c:282:29: sparse: incorrect type in argument 1 (different address spaces) @@ expected unsigned int [noderef] [usertype] <asn:2>*reg @@ got eref] [usertype] <asn:2>*reg @@ drivers/clk/renesas/rzn1-clocks.c:282:29: expected unsigned int [noderef] [usertype] <asn:2>*reg drivers/clk/renesas/rzn1-clocks.c:282:29: got unsigned int [usertype] *reg drivers/clk/renesas/rzn1-clocks.c:430:22: sparse: cast removes address space of expression drivers/clk/renesas/rzn1-clocks.c:431:30: sparse: incorrect type in argument 1 (different address spaces) @@ expected unsigned int [noderef] [usertype] <asn:2>*reg @@ got eref] [usertype] <asn:2>*reg @@ drivers/clk/renesas/rzn1-clocks.c:431:30: expected unsigned int [noderef] [usertype] <asn:2>*reg drivers/clk/renesas/rzn1-clocks.c:431:30: got unsigned int [usertype] *reg drivers/clk/renesas/rzn1-clocks.c:516:22: sparse: cast removes address space of expression drivers/clk/renesas/rzn1-clocks.c:528:38: sparse: incorrect type in argument 2 (different address spaces) @@ expected unsigned int [noderef] [usertype] <asn:2>*reg @@ got eref] [usertype] <asn:2>*reg @@ drivers/clk/renesas/rzn1-clocks.c:528:38: expected unsigned int [noderef] [usertype] <asn:2>*reg drivers/clk/renesas/rzn1-clocks.c:528:38: got unsigned int [usertype] *reg vim +270 drivers/clk/renesas/rzn1-clocks.c 264 265 /* register/bit pairs are encoded as an uint16_t */ 266 static void clk_rdesc_set( 267 struct rzn1_priv *clocks, 268 uint16_t one, unsigned int on) 269 { > 270 u32 *reg = ((u32 *)clocks->reg) + (one >> 5); > 271 u32 val = clk_readl(reg); 272 273 val = (val & ~(1U << (one & 0x1f))) | ((!!on) << (one & 0x1f)); 274 clk_writel(val, reg); 275 } 276 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html