From: kernel test robot <lkp@intel.com>
To: maitreye <maitreye@codeaurora.org>, dri-devel@lists.freedesktop.org
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
Maitreyee Rao <maitreye@codeaurora.org>,
linux-arm-msm@vger.kernel.org, abhinavk@codeaurora.org,
swboyd@chromium.org, khsieh@codeaurora.org,
seanpaul@chromium.org, aravindh@codeaurora.org,
freedreno@lists.freedesktop.org
Subject: Re: [PATCH v2] drm/msm/dp: add logs across DP driver for ease of debugging
Date: Fri, 9 Jul 2021 14:27:51 +0800 [thread overview]
Message-ID: <202107091425.OKidrpeC-lkp@intel.com> (raw)
In-Reply-To: <1625771624-11997-1-git-send-email-maitreye@codeaurora.org>
[-- Attachment #1: Type: text/plain, Size: 3692 bytes --]
Hi maitreye,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on drm-tip/drm-tip drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next linus/master v5.13 next-20210709]
[cannot apply to drm/drm-next]
[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/maitreye/drm-msm-dp-add-logs-across-DP-driver-for-ease-of-debugging/20210709-031606
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: arm-randconfig-r005-20210709 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8d69635ed9ecf36fd0ca85906bfde17949671cbe)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://github.com/0day-ci/linux/commit/4600296e3781e89ddd188cadf6f62b587a8f4eb9
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review maitreye/drm-msm-dp-add-logs-across-DP-driver-for-ease-of-debugging/20210709-031606
git checkout 4600296e3781e89ddd188cadf6f62b587a8f4eb9
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/msm/dp/dp_display.c:499:36: warning: variable 'sink_request' is uninitialized when used here [-Wuninitialized]
DRM_DEBUG_DP("sink_request:%d\n", sink_request);
^~~~~~~~~~~~
include/drm/drm_print.h:525:31: note: expanded from macro 'DRM_DEBUG_DP'
__drm_dbg(DRM_UT_DP, fmt, ## __VA_ARGS__)
^~~~~~~~~~~
drivers/gpu/drm/msm/dp/dp_display.c:492:18: note: initialize the variable 'sink_request' to silence this warning
u32 sink_request;
^
= 0
drivers/gpu/drm/msm/dp/dp_display.c:1030:21: warning: variable 'drm' set but not used [-Wunused-but-set-variable]
struct drm_device *drm;
^
2 warnings generated.
vim +/sink_request +499 drivers/gpu/drm/msm/dp/dp_display.c
488
489 static int dp_display_usbpd_attention_cb(struct device *dev)
490 {
491 int rc = 0;
492 u32 sink_request;
493 struct dp_display_private *dp;
494
495 if (!dev) {
496 DRM_ERROR("invalid dev\n");
497 return -EINVAL;
498 }
> 499 DRM_DEBUG_DP("sink_request:%d\n", sink_request);
500
501 dp = container_of(g_dp_display,
502 struct dp_display_private, dp_display);
503
504 /* check for any test request issued by sink */
505 rc = dp_link_process_request(dp->link);
506 if (!rc) {
507 sink_request = dp->link->sink_request;
508 DRM_DEBUG_DP("hpd_state=%d sink_count=%d\n", dp->hpd_state, sink_request);
509 if (sink_request & DS_PORT_STATUS_CHANGED)
510 rc = dp_display_handle_port_ststus_changed(dp);
511 else
512 rc = dp_display_handle_irq_hpd(dp);
513 }
514
515 return rc;
516 }
517
---
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: 38051 bytes --]
prev parent reply other threads:[~2021-07-09 6:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1625771624-11997-1-git-send-email-maitreye@codeaurora.org>
2021-07-09 1:27 ` [PATCH v2] drm/msm/dp: add logs across DP driver for ease of debugging Stephen Boyd
2021-07-15 21:33 ` maitreye
2021-07-09 6:27 ` kernel test robot [this message]
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=202107091425.OKidrpeC-lkp@intel.com \
--to=lkp@intel.com \
--cc=abhinavk@codeaurora.org \
--cc=aravindh@codeaurora.org \
--cc=clang-built-linux@googlegroups.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=kbuild-all@lists.01.org \
--cc=khsieh@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=maitreye@codeaurora.org \
--cc=seanpaul@chromium.org \
--cc=swboyd@chromium.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).