From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============5318332555041571156==" MIME-Version: 1.0 From: kbuild test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v7 2/2] mmc: host: meson-mx-sdhc: new driver for the Amlogic Meson SDHC host Date: Wed, 13 May 2020 12:49:43 +0800 Message-ID: <202005131244.ZbCAGXN4%lkp@intel.com> In-Reply-To: <20200512204147.504087-3-martin.blumenstingl@googlemail.com> List-Id: --===============5318332555041571156== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 h= elp 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/37406= 982] url: https://github.com/0day-ci/linux/commits/Martin-Blumenstingl/Amlogi= c-32-bit-Meson-SoC-SDHC-MMC-controller-driver/20200513-044351 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=3Dx86_64 allmodconfig make C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot 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 =3D { 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 =3D clk_name; 63 init.ops =3D ops; 64 init.flags =3D CLK_SET_RATE_PARENT; 65 init.parent_data =3D parents; 66 init.num_parents =3D num_parents; 67 = 68 hw->init =3D &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(a)lists.01.org --===============5318332555041571156==--