Hi Xin,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v5.9-rc5 next-20200916]
[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/Xin-Ji/Add-initial-support-for-s...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
fc4f28bb3daf3265d6bc5f73b497306985bb23ab
config: nds32-allyesconfig (attached as .config)
compiler: nds32le-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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/gpu/drm/bridge/analogix/anx7625.c:1636:16: error:
initialization of 'enum drm_mode_status (*)(struct drm_bridge *, const struct
drm_display_info *, const struct drm_display_mode *)' from incompatible pointer type
'enum drm_mode_status (*)(struct drm_bridge *, const struct drm_display_mode *)'
[-Werror=incompatible-pointer-types]
1636 | .mode_valid =
anx7625_bridge_mode_valid,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/bridge/analogix/anx7625.c:1636:16: note: (near initialization for
'anx7625_bridge_funcs.mode_valid')
cc1: some warnings being treated as errors
#
https://github.com/0day-ci/linux/commit/894859cbb786436c47d020d5569de7019...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Xin-Ji/Add-initial-support-for-slimport-anx7625/20200916-172800
git checkout 894859cbb786436c47d020d5569de7019776174c
vim +1636 drivers/gpu/drm/bridge/analogix/anx7625.c
1631
1632 static const struct drm_bridge_funcs anx7625_bridge_funcs = {
1633 .attach = anx7625_bridge_attach,
1634 .detach = anx7625_bridge_detach,
1635 .disable = anx7625_bridge_disable,
1636 .mode_valid = anx7625_bridge_mode_valid,
1637 .mode_set = anx7625_bridge_mode_set,
1638 .mode_fixup = anx7625_bridge_mode_fixup,
1639 .enable = anx7625_bridge_enable,
1640 .detect = anx7625_bridge_detect,
1641 .get_edid = anx7625_bridge_get_edid,
1642 };
1643
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org