Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH v4 32/32] drm/mxsfb/lcdif: enable bridge hotplug
       [not found] <20261125-drm-bridge-hotplug-v4-32-822722850492@bootlin.com>
@ 2026-11-26  3:23 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-26  3:23 UTC (permalink / raw)
  To: Luca Ceresoli, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Andrzej Hajda,
	Neil Armstrong, Robert Foss, Laurent Pinchart, Jonas Karlman,
	Jernej Skrabec, Inki Dae, Jagan Teki, Marek Szyprowski,
	Jessica Zhang, Douglas Anderson, Marek Vasut, Stefan Agner,
	Frank Li, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: llvm, oe-kbuild-all, Javier Martinez Canillas, Dmitry Baryshkov,
	Hui Pu, Ian Ray, Luca Ceresoli, Thomas Petazzoni, dri-devel,
	linux-kernel

Hi Luca,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 479e381e77dcde0dfcc9d51e89ff3273da199804]

url:    https://github.com/intel-lab-lkp/linux/commits/Luca-Ceresoli/drm-display-hdmi-cec-helper-use-drmm_-prefix-for-drmm-action/20261125-185014
base:   479e381e77dcde0dfcc9d51e89ff3273da199804
patch link:    https://lore.kernel.org/r/20261125-drm-bridge-hotplug-v4-32-822722850492%40bootlin.com
patch subject: [PATCH v4 32/32] drm/mxsfb/lcdif: enable bridge hotplug
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20261126/20261126111350.x2HRRGyo-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 2012344e5da8e03ea4b8283ecd6fad6e13f09d64)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261126/20261126111350.x2HRRGyo-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/oe-kbuild-all/20261126111350.x2HRRGyo-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/display/drm_hotplug_helper.c:235:2: warning: label at end of compound statement is a C23 extension [-Wc23-extensions]
     235 |         }
         |         ^
   1 warning generated.


vim +235 drivers/gpu/drm/display/drm_hotplug_helper.c

6ee877a9b7f826 Luca Ceresoli 2026-11-25  200  
6ee877a9b7f826 Luca Ceresoli 2026-11-25  201  static int drm_hotplug_helper_handle_event(struct notifier_block *nb,
6ee877a9b7f826 Luca Ceresoli 2026-11-25  202  					   unsigned long event, void *data)
6ee877a9b7f826 Luca Ceresoli 2026-11-25  203  {
6ee877a9b7f826 Luca Ceresoli 2026-11-25  204  	struct drm_hotplug_helper *hotplug_helper =
6ee877a9b7f826 Luca Ceresoli 2026-11-25  205  		container_of(nb, struct drm_hotplug_helper, drm_event_nb);
6ee877a9b7f826 Luca Ceresoli 2026-11-25  206  	struct device *dev = hotplug_helper->encoder->dev->dev;
6ee877a9b7f826 Luca Ceresoli 2026-11-25  207  
6ee877a9b7f826 Luca Ceresoli 2026-11-25  208  	guard(mutex)(&hotplug_helper->event_mutex);
6ee877a9b7f826 Luca Ceresoli 2026-11-25  209  
6ee877a9b7f826 Luca Ceresoli 2026-11-25  210  	dev_dbg(dev, "received event %lu\n", event);
6ee877a9b7f826 Luca Ceresoli 2026-11-25  211  
6ee877a9b7f826 Luca Ceresoli 2026-11-25  212  	switch (event) {
6ee877a9b7f826 Luca Ceresoli 2026-11-25  213  	case DRM_BRIDGE_ADDED:
6ee877a9b7f826 Luca Ceresoli 2026-11-25  214  	case DRM_MIPI_DSI_ATTACHED:
6ee877a9b7f826 Luca Ceresoli 2026-11-25  215  		/*
6ee877a9b7f826 Luca Ceresoli 2026-11-25  216  		 * A bridges hot-plugged, try adding the
6ee877a9b7f826 Luca Ceresoli 2026-11-25  217  		 * drm_bridge_connector
6ee877a9b7f826 Luca Ceresoli 2026-11-25  218  		 */
6ee877a9b7f826 Luca Ceresoli 2026-11-25  219  		drm_hotplug_helper_try_complete(hotplug_helper);
6ee877a9b7f826 Luca Ceresoli 2026-11-25  220  		break;
6ee877a9b7f826 Luca Ceresoli 2026-11-25  221  	case DRM_BRIDGE_DETACHED:
6ee877a9b7f826 Luca Ceresoli 2026-11-25  222  	{
6ee877a9b7f826 Luca Ceresoli 2026-11-25  223  		/*
6ee877a9b7f826 Luca Ceresoli 2026-11-25  224  		 * A bridge was unplugged, remove the drm_bridge_connector
6ee877a9b7f826 Luca Ceresoli 2026-11-25  225  		 * if it's part of the same pipeline
6ee877a9b7f826 Luca Ceresoli 2026-11-25  226  		 */
6ee877a9b7f826 Luca Ceresoli 2026-11-25  227  		struct drm_bridge *bridge = (struct drm_bridge *)data;
6ee877a9b7f826 Luca Ceresoli 2026-11-25  228  
6ee877a9b7f826 Luca Ceresoli 2026-11-25  229  		if (hotplug_helper->connector &&
6ee877a9b7f826 Luca Ceresoli 2026-11-25  230  		    bridge->encoder == hotplug_helper->encoder)
6ee877a9b7f826 Luca Ceresoli 2026-11-25  231  			drm_hotplug_helper_connector_remove(hotplug_helper);
6ee877a9b7f826 Luca Ceresoli 2026-11-25  232  		break;
6ee877a9b7f826 Luca Ceresoli 2026-11-25  233  	}
6ee877a9b7f826 Luca Ceresoli 2026-11-25  234  	default:
6ee877a9b7f826 Luca Ceresoli 2026-11-25 @235  	}
6ee877a9b7f826 Luca Ceresoli 2026-11-25  236  
6ee877a9b7f826 Luca Ceresoli 2026-11-25  237  	return NOTIFY_DONE;
6ee877a9b7f826 Luca Ceresoli 2026-11-25  238  }
6ee877a9b7f826 Luca Ceresoli 2026-11-25  239  

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

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

only message in thread, other threads:[~2026-11-26  3:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20261125-drm-bridge-hotplug-v4-32-822722850492@bootlin.com>
2026-11-26  3:23 ` [PATCH v4 32/32] drm/mxsfb/lcdif: enable bridge hotplug 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