From: Julia Lawall <julia.lawall@inria.fr>
To: Hamza Mahfooz <hamza.mahfooz@amd.com>,
Alex Deucher <alexander.deucher@amd.com>,
Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Cc: Linux Memory Management List <linux-mm@kvack.org>,
oe-kbuild-all@lists.linux.dev
Subject: [linux-next:master 6935/11192] drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c:538:25-29: ERROR: aconnector is NULL but dereferenced. (fwd)
Date: Tue, 10 Oct 2023 21:24:38 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.22.394.2310102123460.3328@hadrien> (raw)
See line 538.
julia
---------- Forwarded message ----------
Date: Wed, 11 Oct 2023 01:30:34 +0800
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Julia Lawall <julia.lawall@inria.fr>
Subject: [linux-next:master 6935/11192]
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c:538:25-29: ERROR:
aconnector is NULL but dereferenced.
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Hamza Mahfooz <hamza.mahfooz@amd.com>
CC: Alex Deucher <alexander.deucher@amd.com>
CC: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: c0a6edb636cba9c0d1db966a54d910a02e52e4be
commit: 5d72e247e58c966f4e50cffebf0d414de7fc90ed [6935/11192] drm/amd/display: switch DC over to the new DRM logging macros
:::::: branch date: 12 hours ago
:::::: commit date: 2 weeks ago
config: x86_64-randconfig-104-20231010 (https://download.01.org/0day-ci/archive/20231011/202310110104.H593hwLd-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231011/202310110104.H593hwLd-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>
| Reported-by: Julia Lawall <julia.lawall@inria.fr>
| Closes: https://lore.kernel.org/r/202310110104.H593hwLd-lkp@intel.com/
cocci warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c:538:25-29: ERROR: aconnector is NULL but dereferenced.
vim +538 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
4562236b3bc0a28 Harry Wentland 2017-09-12 534
c84dec2fe8837fa Harry Wentland 2017-09-05 535 struct amdgpu_dm_connector *aconnector = link->priv;
4562236b3bc0a28 Harry Wentland 2017-09-12 536
4562236b3bc0a28 Harry Wentland 2017-09-12 537 if (!aconnector) {
5d72e247e58c966 Hamza Mahfooz 2023-09-20 @538 drm_dbg_dp(aconnector->base.dev,
5d72e247e58c966 Hamza Mahfooz 2023-09-20 539 "Failed to find connector for link!\n");
4562236b3bc0a28 Harry Wentland 2017-09-12 540 return false;
4562236b3bc0a28 Harry Wentland 2017-09-12 541 }
4562236b3bc0a28 Harry Wentland 2017-09-12 542
4648cf5fc8c78d7 Hamza Mahfooz 2023-03-08 543 return drm_dp_dpcd_read(&aconnector->dm_dp_aux.aux, address, data,
4648cf5fc8c78d7 Hamza Mahfooz 2023-03-08 544 size) == size;
4562236b3bc0a28 Harry Wentland 2017-09-12 545 }
4562236b3bc0a28 Harry Wentland 2017-09-12 546
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2023-10-10 19:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-10 19:24 Julia Lawall [this message]
2023-10-10 19:52 ` Hamza Mahfooz
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=alpine.DEB.2.22.394.2310102123460.3328@hadrien \
--to=julia.lawall@inria.fr \
--cc=Rodrigo.Siqueira@amd.com \
--cc=alexander.deucher@amd.com \
--cc=hamza.mahfooz@amd.com \
--cc=linux-mm@kvack.org \
--cc=oe-kbuild-all@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox