All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: drivers/gpu/drm/bridge/lontium-lt9611c.c:1226:12: warning: 'lt9611c_bridge_resume' defined but not used
Date: Fri, 04 Sep 2026 07:30:44 +0800	[thread overview]
Message-ID: <202609040715.erXoWPUK-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "bisect to a FBC not belonging to original linux-review patches: branch: linux-review/mohit-dsor-oss-qualcomm-com/dt-bindings-bridge-Add-Lontium-LT9611C-EX-UXD-MIPI-DSI-to-HDMI-driver/20260903-005033, commit: 70199b1388b4c8e89d0c575b66fa30966d9c8e98"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Sunyun Yang <syyang@lontium.com>
CC: 0day robot <lkp@intel.com>
CC: Dmitry Baryshkov <lumag@kernel.org>
CC: Mohit Dsor <mohit.dsor@oss.qualcomm.com>

tree:   https://github.com/intel-lab-lkp/linux/commits/mohit-dsor-oss-qualcomm-com/dt-bindings-bridge-Add-Lontium-LT9611C-EX-UXD-MIPI-DSI-to-HDMI-driver/20260903-005033
head:   70199b1388b4c8e89d0c575b66fa30966d9c8e98
commit: 70199b1388b4c8e89d0c575b66fa30966d9c8e98 drm/bridge: Add Lontium LT9611C(EX/UXD) MIPI DSI to HDMI driver
date:   28 hours ago
:::::: branch date: 28 hours ago
:::::: commit date: 28 hours ago
config: sparc-randconfig-r061-20260904 (https://download.01.org/0day-ci/archive/20260904/202609040715.erXoWPUK-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260904/202609040715.erXoWPUK-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@intel.com>
| Closes: https://lore.kernel.org/r/202609040715.erXoWPUK-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/bridge/lontium-lt9611c.c:1226:12: warning: 'lt9611c_bridge_resume' defined but not used [-Wunused-function]
    1226 | static int lt9611c_bridge_resume(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/bridge/lontium-lt9611c.c:1205:12: warning: 'lt9611c_bridge_suspend' defined but not used [-Wunused-function]
    1205 | static int lt9611c_bridge_suspend(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~~~


vim +/lt9611c_bridge_resume +1226 drivers/gpu/drm/bridge/lontium-lt9611c.c

70199b1388b4c8e Sunyun Yang 2026-09-03  1204  
70199b1388b4c8e Sunyun Yang 2026-09-03 @1205  static int lt9611c_bridge_suspend(struct device *dev)
70199b1388b4c8e Sunyun Yang 2026-09-03  1206  {
70199b1388b4c8e Sunyun Yang 2026-09-03  1207  	struct lt9611c *lt9611c = dev_get_drvdata(dev);
70199b1388b4c8e Sunyun Yang 2026-09-03  1208  	int ret;
70199b1388b4c8e Sunyun Yang 2026-09-03  1209  
70199b1388b4c8e Sunyun Yang 2026-09-03  1210  	disable_irq(lt9611c->client->irq);
70199b1388b4c8e Sunyun Yang 2026-09-03  1211  	cancel_work_sync(&lt9611c->work);
70199b1388b4c8e Sunyun Yang 2026-09-03  1212  
70199b1388b4c8e Sunyun Yang 2026-09-03  1213  	gpiod_set_value_cansleep(lt9611c->reset_gpio, 1);
70199b1388b4c8e Sunyun Yang 2026-09-03  1214  
70199b1388b4c8e Sunyun Yang 2026-09-03  1215  	ret = regulator_bulk_disable(ARRAY_SIZE(lt9611c->supplies), lt9611c->supplies);
70199b1388b4c8e Sunyun Yang 2026-09-03  1216  	if (ret) {
70199b1388b4c8e Sunyun Yang 2026-09-03  1217  		dev_err(lt9611c->dev, "regulator bulk disable failed.\n");
70199b1388b4c8e Sunyun Yang 2026-09-03  1218  		gpiod_set_value_cansleep(lt9611c->reset_gpio, 0);
70199b1388b4c8e Sunyun Yang 2026-09-03  1219  		enable_irq(lt9611c->client->irq);
70199b1388b4c8e Sunyun Yang 2026-09-03  1220  		return ret;
70199b1388b4c8e Sunyun Yang 2026-09-03  1221  	}
70199b1388b4c8e Sunyun Yang 2026-09-03  1222  
70199b1388b4c8e Sunyun Yang 2026-09-03  1223  	return 0;
70199b1388b4c8e Sunyun Yang 2026-09-03  1224  }
70199b1388b4c8e Sunyun Yang 2026-09-03  1225  
70199b1388b4c8e Sunyun Yang 2026-09-03 @1226  static int lt9611c_bridge_resume(struct device *dev)
70199b1388b4c8e Sunyun Yang 2026-09-03  1227  {
70199b1388b4c8e Sunyun Yang 2026-09-03  1228  	struct lt9611c *lt9611c = dev_get_drvdata(dev);
70199b1388b4c8e Sunyun Yang 2026-09-03  1229  	int ret;
70199b1388b4c8e Sunyun Yang 2026-09-03  1230  
70199b1388b4c8e Sunyun Yang 2026-09-03  1231  	ret = regulator_bulk_enable(ARRAY_SIZE(lt9611c->supplies), lt9611c->supplies);
70199b1388b4c8e Sunyun Yang 2026-09-03  1232  	if (ret) {
70199b1388b4c8e Sunyun Yang 2026-09-03  1233  		dev_err(lt9611c->dev, "regulator bulk enable failed.\n");
70199b1388b4c8e Sunyun Yang 2026-09-03  1234  		return ret;
70199b1388b4c8e Sunyun Yang 2026-09-03  1235  	}
70199b1388b4c8e Sunyun Yang 2026-09-03  1236  	lt9611c_reset(lt9611c);
70199b1388b4c8e Sunyun Yang 2026-09-03  1237  	enable_irq(lt9611c->client->irq);
70199b1388b4c8e Sunyun Yang 2026-09-03  1238  
70199b1388b4c8e Sunyun Yang 2026-09-03  1239  	return ret;
70199b1388b4c8e Sunyun Yang 2026-09-03  1240  }
70199b1388b4c8e Sunyun Yang 2026-09-03  1241  

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

                 reply	other threads:[~2026-09-03 23:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202609040715.erXoWPUK-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.