linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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'
@ 2021-07-19 16:26 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-19 16:26 UTC (permalink / raw)
  To: Daniel Palmer; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 3493 bytes --]

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@intel.com>

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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 78239 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-19 18:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-19 16:26 [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' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).