[linux-chenxing:mstar_v5_14_rebase 164/352] drivers/gpu/drm/mstar/mstar_dsi.c:779:6: warning: no previous prototype for 'mstar_dsi_ddp_start'
From: kernel test robot
Date: Mon Jul 19 2021 - 14:10:36 EST
tree: git://github.com/linux-chenxing/linux.git mstar_v5_14_rebase
head: 651efd0e52f225e60faa8b30f9768021e2104d3c
commit: dcdeaae572eb7cde9548e66ebfb3b38719b26a68 [164/352] drm: mstar: dsi
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 10.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/linux-chenxing/linux/commit/dcdeaae572eb7cde9548e66ebfb3b38719b26a68
git remote add linux-chenxing git://github.com/linux-chenxing/linux.git
git fetch --no-tags linux-chenxing mstar_v5_14_rebase
git checkout dcdeaae572eb7cde9548e66ebfb3b38719b26a68
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>):
drivers/gpu/drm/mstar/mstar_dsi.c: In function 'mstar_dsi_bridge_disable':
drivers/gpu/drm/mstar/mstar_dsi.c:760:20: warning: unused variable 'dsi' [-Wunused-variable]
760 | struct mstar_dsi *dsi = bridge_to_dsi(bridge);
| ^~~
drivers/gpu/drm/mstar/mstar_dsi.c: In function 'mstar_dsi_bridge_enable':
drivers/gpu/drm/mstar/mstar_dsi.c:767:20: warning: unused variable 'dsi' [-Wunused-variable]
767 | struct mstar_dsi *dsi = bridge_to_dsi(bridge);
| ^~~
drivers/gpu/drm/mstar/mstar_dsi.c: At top level:
>> drivers/gpu/drm/mstar/mstar_dsi.c:779:6: warning: no previous prototype for 'mstar_dsi_ddp_start' [-Wmissing-prototypes]
779 | void mstar_dsi_ddp_start(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/mstar/mstar_dsi.c:786:6: warning: no previous prototype for 'mstar_dsi_ddp_stop' [-Wmissing-prototypes]
786 | void mstar_dsi_ddp_stop(struct device *dev)
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/mstar/mstar_dsi.c:708:13: warning: 'mtk_output_dsi_enable' defined but not used [-Wunused-function]
708 | static void mtk_output_dsi_enable(struct mstar_dsi *dsi)
| ^~~~~~~~~~~~~~~~~~~~~
vim +/mstar_dsi_ddp_start +779 drivers/gpu/drm/mstar/mstar_dsi.c
757
758 static void mstar_dsi_bridge_disable(struct drm_bridge *bridge)
759 {
> 760 struct mstar_dsi *dsi = bridge_to_dsi(bridge);
761
762 //mtk_output_dsi_disable(dsi);
763 }
764
765 static void mstar_dsi_bridge_enable(struct drm_bridge *bridge)
766 {
> 767 struct mstar_dsi *dsi = bridge_to_dsi(bridge);
768
769 //mtk_output_dsi_enable(dsi);
770 }
771
772 static const struct drm_bridge_funcs mstar_dsi_bridge_funcs = {
773 .attach = mstar_dsi_bridge_attach,
774 .disable = mstar_dsi_bridge_disable,
775 .enable = mstar_dsi_bridge_enable,
776 .mode_set = mstar_dsi_bridge_mode_set,
777 };
778
> 779 void mstar_dsi_ddp_start(struct device *dev)
780 {
781 struct mstar_dsi *dsi = dev_get_drvdata(dev);
782
783 mstar_dsi_poweron(dsi);
784 }
785
> 786 void mstar_dsi_ddp_stop(struct device *dev)
787 {
788 struct mstar_dsi *dsi = dev_get_drvdata(dev);
789
790 mstar_dsi_poweroff(dsi);
791 }
792
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip