From: kernel test robot <lkp@intel.com>
To: AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
a.hajda@samsung.com
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
narmstrong@baylibre.com, robert.foss@linaro.org,
Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se,
jernej.skrabec@gmail.com, airlied@linux.ie, daniel@ffwll.ch,
dri-devel@lists.freedesktop.org, kernel@collabora.com
Subject: Re: [PATCH 2/3] drm/bridge: parade-ps8640: Move real poweroff action to new function
Date: Sat, 30 Oct 2021 08:54:45 +0800 [thread overview]
Message-ID: <202110300821.MU2ShPv1-lkp@intel.com> (raw)
In-Reply-To: <20211029132650.918761-2-angelogioacchino.delregno@collabora.com>
[-- Attachment #1: Type: text/plain, Size: 2780 bytes --]
Hi AngeloGioacchino,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm/drm-next]
[also build test ERROR on v5.15-rc7 next-20211029]
[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/AngeloGioacchino-Del-Regno/drm-bridge-parade-ps8640-Don-t-try-to-enable-VDO-if-poweron-fails/20211029-212903
base: git://anongit.freedesktop.org/drm/drm drm-next
config: hexagon-buildonly-randconfig-r006-20211028 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72)
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/a04870beda522c60c8604006667038a096f1cbd4
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review AngeloGioacchino-Del-Regno/drm-bridge-parade-ps8640-Don-t-try-to-enable-VDO-if-poweron-fails/20211029-212903
git checkout a04870beda522c60c8604006667038a096f1cbd4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon
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:304:47: error: variable 'ret' is uninitialized when used here [-Werror,-Wuninitialized]
DRM_ERROR("cannot disable regulators %d\n", ret);
^~~
include/drm/drm_print.h:518:19: note: expanded from macro 'DRM_ERROR'
__drm_err(fmt, ##__VA_ARGS__)
^~~~~~~~~~~
drivers/gpu/drm/bridge/parade-ps8640.c:298:9: note: initialize the variable 'ret' to silence this warning
int ret;
^
= 0
1 error generated.
vim +/ret +304 drivers/gpu/drm/bridge/parade-ps8640.c
295
296 static void __ps8640_bridge_poweroff(struct ps8640 *ps_bridge)
297 {
298 int ret;
299
300 gpiod_set_value(ps_bridge->gpio_reset, 1);
301 gpiod_set_value(ps_bridge->gpio_powerdown, 1);
302 if (regulator_bulk_disable(ARRAY_SIZE(ps_bridge->supplies),
303 ps_bridge->supplies)) {
> 304 DRM_ERROR("cannot disable regulators %d\n", ret);
305 }
306 }
307
---
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: 39337 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 2/3] drm/bridge: parade-ps8640: Move real poweroff action to new function
Date: Sat, 30 Oct 2021 08:54:45 +0800 [thread overview]
Message-ID: <202110300821.MU2ShPv1-lkp@intel.com> (raw)
In-Reply-To: <20211029132650.918761-2-angelogioacchino.delregno@collabora.com>
[-- Attachment #1: Type: text/plain, Size: 2843 bytes --]
Hi AngeloGioacchino,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm/drm-next]
[also build test ERROR on v5.15-rc7 next-20211029]
[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/AngeloGioacchino-Del-Regno/drm-bridge-parade-ps8640-Don-t-try-to-enable-VDO-if-poweron-fails/20211029-212903
base: git://anongit.freedesktop.org/drm/drm drm-next
config: hexagon-buildonly-randconfig-r006-20211028 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72)
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/a04870beda522c60c8604006667038a096f1cbd4
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review AngeloGioacchino-Del-Regno/drm-bridge-parade-ps8640-Don-t-try-to-enable-VDO-if-poweron-fails/20211029-212903
git checkout a04870beda522c60c8604006667038a096f1cbd4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon
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:304:47: error: variable 'ret' is uninitialized when used here [-Werror,-Wuninitialized]
DRM_ERROR("cannot disable regulators %d\n", ret);
^~~
include/drm/drm_print.h:518:19: note: expanded from macro 'DRM_ERROR'
__drm_err(fmt, ##__VA_ARGS__)
^~~~~~~~~~~
drivers/gpu/drm/bridge/parade-ps8640.c:298:9: note: initialize the variable 'ret' to silence this warning
int ret;
^
= 0
1 error generated.
vim +/ret +304 drivers/gpu/drm/bridge/parade-ps8640.c
295
296 static void __ps8640_bridge_poweroff(struct ps8640 *ps_bridge)
297 {
298 int ret;
299
300 gpiod_set_value(ps_bridge->gpio_reset, 1);
301 gpiod_set_value(ps_bridge->gpio_powerdown, 1);
302 if (regulator_bulk_disable(ARRAY_SIZE(ps_bridge->supplies),
303 ps_bridge->supplies)) {
> 304 DRM_ERROR("cannot disable regulators %d\n", ret);
305 }
306 }
307
---
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: 39337 bytes --]
next prev parent reply other threads:[~2021-10-30 0:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-29 13:26 [PATCH 1/3] drm/bridge: parade-ps8640: Don't try to enable VDO if poweron fails AngeloGioacchino Del Regno
2021-10-29 13:26 ` [PATCH 2/3] drm/bridge: parade-ps8640: Move real poweroff action to new function AngeloGioacchino Del Regno
2021-10-29 20:38 ` kernel test robot
2021-10-29 20:38 ` kernel test robot
2021-10-30 0:54 ` kernel test robot [this message]
2021-10-30 0:54 ` kernel test robot
2021-10-29 13:26 ` [PATCH 3/3] drm/bridge: parade-ps8640: Perform full poweroff if poweron fails AngeloGioacchino Del Regno
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=202110300821.MU2ShPv1-lkp@intel.com \
--to=lkp@intel.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=a.hajda@samsung.com \
--cc=airlied@linux.ie \
--cc=angelogioacchino.delregno@collabora.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=kbuild-all@lists.01.org \
--cc=kernel@collabora.com \
--cc=llvm@lists.linux.dev \
--cc=narmstrong@baylibre.com \
--cc=robert.foss@linaro.org \
/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.