All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Maxime Ripard <maxime@cerno.tech>,
	Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Sam Ravnborg <sam@ravnborg.org>,
	Daniel Vetter <daniel.vetter@intel.com>,
	David Airlie <airlied@linux.ie>,
	Thierry Reding <thierry.reding@gmail.com>,
	Andrzej Hajda <a.hajda@samsung.com>,
	Robert Foss <robert.foss@linaro.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org
Subject: Re: [PATCH v5 12/21] drm/bridge: ps8640: Register and attach our DSI device at probe
Date: Fri, 22 Oct 2021 02:40:42 +0800	[thread overview]
Message-ID: <202110220208.KhJv9kuy-lkp@intel.com> (raw)
In-Reply-To: <20211021073947.499373-13-maxime@cerno.tech>

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

Hi Maxime,

I love your patch! Yet something to improve:

[auto build test ERROR on next-20211020]
[cannot apply to linus/master v5.15-rc6 v5.15-rc5 v5.15-rc4 v5.15-rc6]
[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]

url:    https://github.com/0day-ci/linux/commits/Maxime-Ripard/drm-bridge-Make-panel-and-bridge-probe-order-consistent/20211021-154253
base:    51dba6e335ff9d1f6f50b5cacced8598956e1437
config: i386-randconfig-r033-20211021 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 3cea2505fd8d99a9ba0cb625aecfe28a47c4e3f8)
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/0day-ci/linux/commit/585920edf3c968d2da5a1eeaa56a2a075d7067b9
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Maxime-Ripard/drm-bridge-Make-panel-and-bridge-probe-order-consistent/20211021-154253
        git checkout 585920edf3c968d2da5a1eeaa56a2a075d7067b9
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/bridge/parade-ps8640.c:407:2: error: use of undeclared identifier 'ret'
           ret = drm_dp_aux_register(&ps_bridge->aux);
           ^
   drivers/gpu/drm/bridge/parade-ps8640.c:408:6: error: use of undeclared identifier 'ret'
           if (ret) {
               ^
>> drivers/gpu/drm/bridge/parade-ps8640.c:409:11: error: use of undeclared identifier 'dev'
                   dev_err(dev, "failed to register DP AUX channel: %d\n", ret);
                           ^
   drivers/gpu/drm/bridge/parade-ps8640.c:409:59: error: use of undeclared identifier 'ret'
                   dev_err(dev, "failed to register DP AUX channel: %d\n", ret);
                                                                           ^
   drivers/gpu/drm/bridge/parade-ps8640.c:410:10: error: use of undeclared identifier 'ret'
                   return ret;
                          ^
   5 errors generated.


vim +/ret +407 drivers/gpu/drm/bridge/parade-ps8640.c

bc1aee7fc8f05b Jitao Shi              2019-12-30  398  
a25b988ff83f3c Laurent Pinchart       2020-02-26  399  static int ps8640_bridge_attach(struct drm_bridge *bridge,
a25b988ff83f3c Laurent Pinchart       2020-02-26  400  				enum drm_bridge_attach_flags flags)
bc1aee7fc8f05b Jitao Shi              2019-12-30  401  {
bc1aee7fc8f05b Jitao Shi              2019-12-30  402  	struct ps8640 *ps_bridge = bridge_to_ps8640(bridge);
812a65ba9411c5 Enric Balletbo i Serra 2020-08-26  403  
812a65ba9411c5 Enric Balletbo i Serra 2020-08-26  404  	if (!(flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR))
812a65ba9411c5 Enric Balletbo i Serra 2020-08-26  405  		return -EINVAL;
812a65ba9411c5 Enric Balletbo i Serra 2020-08-26  406  
13afcdd7277eff Philip Chen            2021-09-21 @407  	ret = drm_dp_aux_register(&ps_bridge->aux);
13afcdd7277eff Philip Chen            2021-09-21  408  	if (ret) {
13afcdd7277eff Philip Chen            2021-09-21 @409  		dev_err(dev, "failed to register DP AUX channel: %d\n", ret);
e1881ac0e79203 Maxime Ripard          2021-10-21  410  		return ret;
13afcdd7277eff Philip Chen            2021-09-21  411  	}
bc1aee7fc8f05b Jitao Shi              2019-12-30  412  
bc1aee7fc8f05b Jitao Shi              2019-12-30  413  	/* Attach the panel-bridge to the dsi bridge */
bc1aee7fc8f05b Jitao Shi              2019-12-30  414  	return drm_bridge_attach(bridge->encoder, ps_bridge->panel_bridge,
a25b988ff83f3c Laurent Pinchart       2020-02-26  415  				 &ps_bridge->bridge, flags);
bc1aee7fc8f05b Jitao Shi              2019-12-30  416  }
bc1aee7fc8f05b Jitao Shi              2019-12-30  417  

---
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: 34888 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v5 12/21] drm/bridge: ps8640: Register and attach our DSI device at probe
Date: Fri, 22 Oct 2021 02:40:42 +0800	[thread overview]
Message-ID: <202110220208.KhJv9kuy-lkp@intel.com> (raw)
In-Reply-To: <20211021073947.499373-13-maxime@cerno.tech>

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

Hi Maxime,

I love your patch! Yet something to improve:

[auto build test ERROR on next-20211020]
[cannot apply to linus/master v5.15-rc6 v5.15-rc5 v5.15-rc4 v5.15-rc6]
[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]

url:    https://github.com/0day-ci/linux/commits/Maxime-Ripard/drm-bridge-Make-panel-and-bridge-probe-order-consistent/20211021-154253
base:    51dba6e335ff9d1f6f50b5cacced8598956e1437
config: i386-randconfig-r033-20211021 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 3cea2505fd8d99a9ba0cb625aecfe28a47c4e3f8)
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/0day-ci/linux/commit/585920edf3c968d2da5a1eeaa56a2a075d7067b9
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Maxime-Ripard/drm-bridge-Make-panel-and-bridge-probe-order-consistent/20211021-154253
        git checkout 585920edf3c968d2da5a1eeaa56a2a075d7067b9
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/bridge/parade-ps8640.c:407:2: error: use of undeclared identifier 'ret'
           ret = drm_dp_aux_register(&ps_bridge->aux);
           ^
   drivers/gpu/drm/bridge/parade-ps8640.c:408:6: error: use of undeclared identifier 'ret'
           if (ret) {
               ^
>> drivers/gpu/drm/bridge/parade-ps8640.c:409:11: error: use of undeclared identifier 'dev'
                   dev_err(dev, "failed to register DP AUX channel: %d\n", ret);
                           ^
   drivers/gpu/drm/bridge/parade-ps8640.c:409:59: error: use of undeclared identifier 'ret'
                   dev_err(dev, "failed to register DP AUX channel: %d\n", ret);
                                                                           ^
   drivers/gpu/drm/bridge/parade-ps8640.c:410:10: error: use of undeclared identifier 'ret'
                   return ret;
                          ^
   5 errors generated.


vim +/ret +407 drivers/gpu/drm/bridge/parade-ps8640.c

bc1aee7fc8f05b Jitao Shi              2019-12-30  398  
a25b988ff83f3c Laurent Pinchart       2020-02-26  399  static int ps8640_bridge_attach(struct drm_bridge *bridge,
a25b988ff83f3c Laurent Pinchart       2020-02-26  400  				enum drm_bridge_attach_flags flags)
bc1aee7fc8f05b Jitao Shi              2019-12-30  401  {
bc1aee7fc8f05b Jitao Shi              2019-12-30  402  	struct ps8640 *ps_bridge = bridge_to_ps8640(bridge);
812a65ba9411c5 Enric Balletbo i Serra 2020-08-26  403  
812a65ba9411c5 Enric Balletbo i Serra 2020-08-26  404  	if (!(flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR))
812a65ba9411c5 Enric Balletbo i Serra 2020-08-26  405  		return -EINVAL;
812a65ba9411c5 Enric Balletbo i Serra 2020-08-26  406  
13afcdd7277eff Philip Chen            2021-09-21 @407  	ret = drm_dp_aux_register(&ps_bridge->aux);
13afcdd7277eff Philip Chen            2021-09-21  408  	if (ret) {
13afcdd7277eff Philip Chen            2021-09-21 @409  		dev_err(dev, "failed to register DP AUX channel: %d\n", ret);
e1881ac0e79203 Maxime Ripard          2021-10-21  410  		return ret;
13afcdd7277eff Philip Chen            2021-09-21  411  	}
bc1aee7fc8f05b Jitao Shi              2019-12-30  412  
bc1aee7fc8f05b Jitao Shi              2019-12-30  413  	/* Attach the panel-bridge to the dsi bridge */
bc1aee7fc8f05b Jitao Shi              2019-12-30  414  	return drm_bridge_attach(bridge->encoder, ps_bridge->panel_bridge,
a25b988ff83f3c Laurent Pinchart       2020-02-26  415  				 &ps_bridge->bridge, flags);
bc1aee7fc8f05b Jitao Shi              2019-12-30  416  }
bc1aee7fc8f05b Jitao Shi              2019-12-30  417  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

  reply	other threads:[~2021-10-21 18:41 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21  7:39 [PATCH v5 00/21] drm/bridge: Make panel and bridge probe order consistent Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 01/21] drm/bridge: adv7533: Switch to devm MIPI-DSI helpers Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 02/21] drm/bridge: adv7511: Register and attach our DSI device at probe Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 03/21] drm/bridge: anx7625: Switch to devm MIPI-DSI helpers Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 04/21] drm/bridge: anx7625: Register and attach our DSI device at probe Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 05/21] drm/bridge: lt8912b: Switch to devm MIPI-DSI helpers Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 06/21] drm/bridge: lt8912b: Register and attach our DSI device at probe Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 07/21] drm/bridge: lt9611: Switch to devm MIPI-DSI helpers Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 08/21] drm/bridge: lt9611: Register and attach our DSI device at probe Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 09/21] drm/bridge: lt9611uxc: Switch to devm MIPI-DSI helpers Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 10/21] drm/bridge: lt9611uxc: Register and attach our DSI device at probe Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 11/21] drm/bridge: ps8640: Switch to devm MIPI-DSI helpers Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 12/21] drm/bridge: ps8640: Register and attach our DSI device at probe Maxime Ripard
2021-10-21 18:40   ` kernel test robot [this message]
2021-10-21 18:40     ` kernel test robot
2021-10-25  0:18   ` kernel test robot
2021-10-21  7:39 ` [PATCH v5 13/21] drm/bridge: sn65dsi83: Fix bridge removal Maxime Ripard
2021-10-21 15:20   ` Sam Ravnborg
2021-10-22 20:02   ` Marek Vasut
2021-10-21  7:39 ` [PATCH v5 14/21] drm/bridge: sn65dsi83: Switch to devm MIPI-DSI helpers Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 15/21] drm/bridge: sn65dsi83: Register and attach our DSI device at probe Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 16/21] drm/bridge: sn65dsi86: Switch to devm MIPI-DSI helpers Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 17/21] drm/bridge: sn65dsi86: Register and attach our DSI device at probe Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 18/21] drm/bridge: tc358775: Switch to devm MIPI-DSI helpers Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 19/21] drm/bridge: tc358775: Register and attach our DSI device at probe Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 20/21] drm/kirin: dsi: Adjust probe order Maxime Ripard
2021-10-21  7:39 ` [PATCH v5 21/21] drm/msm/dsi: " Maxime Ripard
2021-10-21 16:30   ` Rob Clark
2021-10-21 15:22 ` [PATCH v5 00/21] drm/bridge: Make panel and bridge probe order consistent Sam Ravnborg
2021-10-25 15:16   ` Maxime Ripard
2021-10-25 16:54     ` Sam Ravnborg
2021-10-27  8:42       ` Maxime Ripard

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=202110220208.KhJv9kuy-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=a.hajda@samsung.com \
    --cc=airlied@linux.ie \
    --cc=daniel.vetter@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=llvm@lists.linux.dev \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=maxime@cerno.tech \
    --cc=robert.foss@linaro.org \
    --cc=sam@ravnborg.org \
    --cc=thierry.reding@gmail.com \
    --cc=tzimmermann@suse.de \
    /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.