lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202505090233.0YCNNAzE-lkp@intel.com>
Date: Fri, 9 May 2025 02:37:04 +0800
From: kernel test robot <lkp@...el.com>
To: Vitor Soares <ivitro@...il.com>,
	Andrzej Hajda <andrzej.hajda@...el.com>,
	Neil Armstrong <neil.armstrong@...aro.org>,
	Robert Foss <rfoss@...nel.org>,
	Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
	Jonas Karlman <jonas@...boo.se>,
	Jernej Skrabec <jernej.skrabec@...il.com>,
	Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
	Maxime Ripard <mripard@...nel.org>,
	Thomas Zimmermann <tzimmermann@...e.de>,
	David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>
Cc: oe-kbuild-all@...ts.linux.dev, Vitor Soares <vitor.soares@...adex.com>,
	dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
	Tomi Valkeinen <tomi.valkeinen@...asonboard.com>,
	Aradhya Bhatia <aradhya.bhatia@...ux.dev>,
	Jayesh Choudhary <j-choudhary@...com>, ivitro@...il.com,
	stable@...r.kernel.org
Subject: Re: [PATCH v2] drm/bridge: cdns-dsi: Replace deprecated
 UNIVERSAL_DEV_PM_OPS()

Hi Vitor,

kernel test robot noticed the following build warnings:

[auto build test WARNING on linus/master]
[also build test WARNING on v6.15-rc5 next-20250508]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Vitor-Soares/drm-bridge-cdns-dsi-Replace-deprecated-UNIVERSAL_DEV_PM_OPS/20250508-001902
base:   linus/master
patch link:    https://lore.kernel.org/r/20250507161800.527464-1-ivitro%40gmail.com
patch subject: [PATCH v2] drm/bridge: cdns-dsi: Replace deprecated UNIVERSAL_DEV_PM_OPS()
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20250509/202505090233.0YCNNAzE-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250509/202505090233.0YCNNAzE-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505090233.0YCNNAzE-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c:1148:12: warning: 'cdns_dsi_suspend' defined but not used [-Wunused-function]
    1148 | static int cdns_dsi_suspend(struct device *dev)
         |            ^~~~~~~~~~~~~~~~
>> drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c:1137:12: warning: 'cdns_dsi_resume' defined but not used [-Wunused-function]
    1137 | static int cdns_dsi_resume(struct device *dev)
         |            ^~~~~~~~~~~~~~~


vim +/cdns_dsi_suspend +1148 drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c

  1136	
> 1137	static int cdns_dsi_resume(struct device *dev)
  1138	{
  1139		struct cdns_dsi *dsi = dev_get_drvdata(dev);
  1140	
  1141		reset_control_deassert(dsi->dsi_p_rst);
  1142		clk_prepare_enable(dsi->dsi_p_clk);
  1143		clk_prepare_enable(dsi->dsi_sys_clk);
  1144	
  1145		return 0;
  1146	}
  1147	
> 1148	static int cdns_dsi_suspend(struct device *dev)
  1149	{
  1150		struct cdns_dsi *dsi = dev_get_drvdata(dev);
  1151	
  1152		clk_disable_unprepare(dsi->dsi_sys_clk);
  1153		clk_disable_unprepare(dsi->dsi_p_clk);
  1154		reset_control_assert(dsi->dsi_p_rst);
  1155		dsi->link_initialized = false;
  1156		return 0;
  1157	}
  1158	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ