Hi "Alice,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on renesas-drivers/renesas-clk]
[also build test WARNING on vkoul-dmaengine/next linuxtv-media/master
renesas-drivers/renesas-pinctrl renesas-devel/next linus/master v5.12-rc8 next-20210416]
[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/Alice-Guo-OSS/support-soc_device...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git
renesas-clk
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-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/5dc133669083c08a14f24be6e24b5aa18...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Alice-Guo-OSS/support-soc_device_match-to-return-EPROBE_DEFER/20210419-123109
git checkout 5dc133669083c08a14f24be6e24b5aa1840836c7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/gpu/drm/omapdrm/dss/dpi.c: In function 'dpi_init_regulator':
> drivers/gpu/drm/omapdrm/dss/dpi.c:686:6: warning: assignment
discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
686 | soc = soc_device_match(dpi_soc_devices);
| ^
vim +/const +686 drivers/gpu/drm/omapdrm/dss/dpi.c
676
677 static int dpi_init_regulator(struct dpi_data *dpi)
678 {
679 struct regulator *vdds_dsi;
680 struct soc_device_attribute *soc;
681
682 /*
683 * The DPI uses the DSI VDDS on OMAP34xx, OMAP35xx, OMAP36xx, AM37xx and
684 * DM37xx only.
685 */
686 soc = soc_device_match(dpi_soc_devices);
687 if
(!IS_ERR(soc) && !soc)
688 return 0;
689
690 vdds_dsi = devm_regulator_get(&dpi->pdev->dev, "vdds_dsi");
691 if (IS_ERR(vdds_dsi)) {
692 if (PTR_ERR(vdds_dsi) != -EPROBE_DEFER)
693 DSSERR("can't get VDDS_DSI regulator\n");
694 return PTR_ERR(vdds_dsi);
695 }
696
697 dpi->vdds_dsi_reg = vdds_dsi;
698
699 return 0;
700 }
701
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org