From: Dan Carpenter <dan.carpenter@linaro.org>
To: oe-kbuild@lists.linux.dev, Tomasz Lis <tomasz.lis@intel.com>,
intel-xe@lists.freedesktop.org
Cc: lkp@intel.com, oe-kbuild-all@lists.linux.dev,
"Michał Winiarski" <michal.winiarski@intel.com>,
"Michał Wajdeczko" <michal.wajdeczko@intel.com>,
"Piotr Piórkowski" <piotr.piorkowski@intel.com>
Subject: Re: [PATCH v4 2/3] drm/xe/sriov: Shifting GGTT area post migration
Date: Mon, 24 Mar 2025 08:58:24 +0300 [thread overview]
Message-ID: <71bb454a-e61a-43d7-9eba-646ebf9e16da@stanley.mountain> (raw)
In-Reply-To: <20250306222126.3382322-3-tomasz.lis@intel.com>
Hi Tomasz,
kernel test robot noticed the following build warnings:
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Tomasz-Lis/drm-drm_mm-Safe-macro-for-iterating-through-nodes-in-range/20250307-102511
base: https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next
patch link: https://lore.kernel.org/r/20250306222126.3382322-3-tomasz.lis%40intel.com
patch subject: [PATCH v4 2/3] drm/xe/sriov: Shifting GGTT area post migration
config: openrisc-randconfig-r073-20250321 (https://download.01.org/0day-ci/archive/20250323/202503231159.himCw1Ch-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 11.5.0
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: Dan Carpenter <dan.carpenter@linaro.org>
| Closes: https://lore.kernel.org/r/202503231159.himCw1Ch-lkp@intel.com/
smatch warnings:
drivers/gpu/drm/xe/xe_sriov_vf.c:191 vf_post_migration_fixup_ggtt_nodes() error: uninitialized symbol 'err'.
vim +/err +191 drivers/gpu/drm/xe/xe_sriov_vf.c
253478de2cb134 Tomasz Lis 2025-03-06 174 static int vf_post_migration_fixup_ggtt_nodes(struct xe_device *xe)
253478de2cb134 Tomasz Lis 2025-03-06 175 {
253478de2cb134 Tomasz Lis 2025-03-06 176 struct xe_tile *tile;
253478de2cb134 Tomasz Lis 2025-03-06 177 unsigned int id;
253478de2cb134 Tomasz Lis 2025-03-06 178 int err;
253478de2cb134 Tomasz Lis 2025-03-06 179
253478de2cb134 Tomasz Lis 2025-03-06 180 for_each_tile(tile, xe, id) {
253478de2cb134 Tomasz Lis 2025-03-06 181 struct xe_gt *gt = tile->primary_gt;
253478de2cb134 Tomasz Lis 2025-03-06 182 int ret;
253478de2cb134 Tomasz Lis 2025-03-06 183
253478de2cb134 Tomasz Lis 2025-03-06 184 /* media doesn't have its own ggtt */
253478de2cb134 Tomasz Lis 2025-03-06 185 if (xe_gt_is_media_type(gt))
253478de2cb134 Tomasz Lis 2025-03-06 186 continue;
253478de2cb134 Tomasz Lis 2025-03-06 187 ret = xe_gt_sriov_vf_fixup_ggtt_nodes(gt);
253478de2cb134 Tomasz Lis 2025-03-06 188 if (ret != ENODATA)
253478de2cb134 Tomasz Lis 2025-03-06 189 err = ret;
err isn't initialized on else path.
253478de2cb134 Tomasz Lis 2025-03-06 190 }
253478de2cb134 Tomasz Lis 2025-03-06 @191 return err;
253478de2cb134 Tomasz Lis 2025-03-06 192 }
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-03-24 5:58 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-06 22:21 [PATCH v4 0/3] drm/xe/vf: Post-migration recovery of GGTT nodes and CTB Tomasz Lis
2025-03-06 22:21 ` [PATCH v4 1/3] drm/drm_mm: Safe macro for iterating through nodes in range Tomasz Lis
2025-03-07 9:59 ` Christian König
2025-03-06 22:21 ` [PATCH v4 2/3] drm/xe/sriov: Shifting GGTT area post migration Tomasz Lis
2025-03-14 18:22 ` Michal Wajdeczko
2025-03-14 23:45 ` Lis, Tomasz
2025-03-15 14:27 ` Michal Wajdeczko
2025-03-28 17:52 ` Lis, Tomasz
2025-03-24 5:58 ` Dan Carpenter [this message]
2025-03-06 22:21 ` [PATCH v4 3/3] drm/xe/vf: Fixup CTB send buffer messages after migration Tomasz Lis
2025-03-14 20:46 ` Michal Wajdeczko
2025-03-14 22:11 ` Lis, Tomasz
2025-03-15 12:59 ` Michal Wajdeczko
2025-03-28 17:52 ` Lis, Tomasz
2025-03-07 0:22 ` ✓ CI.Patch_applied: success for drm/xe/vf: Post-migration recovery of GGTT nodes and CTB (rev5) Patchwork
2025-03-07 0:22 ` ✗ CI.checkpatch: warning " Patchwork
2025-03-07 0:24 ` ✓ CI.KUnit: success " Patchwork
2025-03-07 0:46 ` ✓ CI.Build: " Patchwork
2025-03-07 0:48 ` ✓ CI.Hooks: " Patchwork
2025-03-07 0:50 ` ✗ CI.checksparse: warning " Patchwork
2025-03-07 1:09 ` ✓ Xe.CI.BAT: success " Patchwork
2025-03-07 9:20 ` ✗ Xe.CI.Full: failure " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2024-12-20 23:34 [PATCH v4 0/3] drm/xe/vf: Post-migration recovery of GGTT nodes and CTB Tomasz Lis
2024-12-20 23:34 ` [PATCH v4 2/3] drm/xe/sriov: Shifting GGTT area post migration Tomasz Lis
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=71bb454a-e61a-43d7-9eba-646ebf9e16da@stanley.mountain \
--to=dan.carpenter@linaro.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=lkp@intel.com \
--cc=michal.wajdeczko@intel.com \
--cc=michal.winiarski@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=oe-kbuild@lists.linux.dev \
--cc=piotr.piorkowski@intel.com \
--cc=tomasz.lis@intel.com \
/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