Hi Martin,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on robh/for-next]
[also build test WARNING on linus/master v5.7-rc5 next-20200512]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see
https://stackoverflow.com/a/37406982]
url:
https://github.com/0day-ci/linux/commits/Martin-Blumenstingl/Amlogic-32-b...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-191-gc51a0382-dirty
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
> drivers/mmc/host/meson-mx-sdhc-clkc.c:56:39: sparse: sparse:
Using plain integer as NULL pointer
drivers/mmc/host/meson-mx-sdhc-clkc.c:87:47:
sparse: sparse: Using plain integer as NULL pointer
vim +56 drivers/mmc/host/meson-mx-sdhc-clkc.c
48
49 static int meson_mx_sdhc_clk_hw_register(struct device *dev,
50 const char *name_suffix,
51 const struct clk_parent_data *parents,
52 unsigned int num_parents,
53 const struct clk_ops *ops,
54 struct clk_hw *hw)
55 {
56 struct clk_init_data init = { 0 };
57 char
clk_name[32];
58
59 snprintf(clk_name, sizeof(clk_name), "%s#%s", dev_name(dev),
60 name_suffix);
61
62 init.name = clk_name;
63 init.ops = ops;
64 init.flags = CLK_SET_RATE_PARENT;
65 init.parent_data = parents;
66 init.num_parents = num_parents;
67
68 hw->init = &init;
69
70 return devm_clk_hw_register(dev, hw);
71 }
72
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org