All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [drm-misc:for-linux-next 10/10] drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:683:13: warning: unused variable 'data_lanes'
@ 2022-06-12 12:48 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-12 12:48 UTC (permalink / raw
  To: Marek Vasut; +Cc: kbuild-all, linux-kernel, Andrzej Hajda

tree:   git://anongit.freedesktop.org/drm/drm-misc for-linux-next
head:   d643daaf1694b7565fbe3982b630e1c7b95f1600
commit: d643daaf1694b7565fbe3982b630e1c7b95f1600 [10/10] drm/bridge: rcar: Convert to drm_of_get_data_lanes_count_ep
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220612/202206122009.urQLG05k-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
        git remote add drm-misc git://anongit.freedesktop.org/drm/drm-misc
        git fetch --no-tags drm-misc for-linux-next
        git checkout d643daaf1694b7565fbe3982b630e1c7b95f1600
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/rcar-du/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c: In function 'rcar_mipi_dsi_parse_dt':
>> drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:683:13: warning: unused variable 'data_lanes' [-Wunused-variable]
     683 |         u32 data_lanes[4];
         |             ^~~~~~~~~~
>> drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:682:29: warning: unused variable 'ep' [-Wunused-variable]
     682 |         struct device_node *ep;
         |                             ^~


vim +/data_lanes +683 drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c

155358310f013c LUU HOAI    2020-02-25  675  
155358310f013c LUU HOAI    2020-02-25  676  /* -----------------------------------------------------------------------------
155358310f013c LUU HOAI    2020-02-25  677   * Probe & Remove
155358310f013c LUU HOAI    2020-02-25  678   */
155358310f013c LUU HOAI    2020-02-25  679  
155358310f013c LUU HOAI    2020-02-25  680  static int rcar_mipi_dsi_parse_dt(struct rcar_mipi_dsi *dsi)
155358310f013c LUU HOAI    2020-02-25  681  {
155358310f013c LUU HOAI    2020-02-25 @682  	struct device_node *ep;
155358310f013c LUU HOAI    2020-02-25 @683  	u32 data_lanes[4];
155358310f013c LUU HOAI    2020-02-25  684  	int ret;
155358310f013c LUU HOAI    2020-02-25  685  
d643daaf1694b7 Marek Vasut 2022-05-24  686  	ret = drm_of_get_data_lanes_count_ep(dsi->dev->of_node, 1, 0, 1, 4);
155358310f013c LUU HOAI    2020-02-25  687  	if (ret < 0) {
155358310f013c LUU HOAI    2020-02-25  688  		dev_err(dsi->dev, "missing or invalid data-lanes property\n");
d643daaf1694b7 Marek Vasut 2022-05-24  689  		return ret;
155358310f013c LUU HOAI    2020-02-25  690  	}
155358310f013c LUU HOAI    2020-02-25  691  
155358310f013c LUU HOAI    2020-02-25  692  	dsi->num_data_lanes = ret;
155358310f013c LUU HOAI    2020-02-25  693  	return 0;
155358310f013c LUU HOAI    2020-02-25  694  }
155358310f013c LUU HOAI    2020-02-25  695  

:::::: The code at line 683 was first introduced by commit
:::::: 155358310f013c23c2e5533e007afc7310c9a964 drm: rcar-du: Add R-Car DSI driver

:::::: TO: LUU HOAI <hoai.luu.ub@renesas.com>
:::::: CC: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-06-12 12:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-12 12:48 [drm-misc:for-linux-next 10/10] drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c:683:13: warning: unused variable 'data_lanes' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.