esktop.org/drm/drm drm-next
patch link:
https://lore.kernel.org/r/20250115123734.154243-2-matthew.auld%40intel.com
patch subject: [PATCH] drm/tests/buddy: fix build with unused prng
config: i386-buildonly-randconfig-001-20250115
(https://download.01.org/0day-ci/archive/20250115/20250115235
On Wed, 2025-01-15 at 13:40 +0100, Thomas Hellström wrote:
> On Wed, 2025-01-15 at 12:37 +, Matthew Auld wrote:
> > We no longer use the prng, which leads to the following warning:
> >
> > drivers/gpu/drm/tests/drm_buddy_test.c: In function
> > ‘drm_test_buddy_alloc_clear’:
> > drivers/gpu/drm
On Wed, 2025-01-15 at 12:37 +, Matthew Auld wrote:
> We no longer use the prng, which leads to the following warning:
>
> drivers/gpu/drm/tests/drm_buddy_test.c: In function
> ‘drm_test_buddy_alloc_clear’:
> drivers/gpu/drm/tests/drm_buddy_test.c:264:23: error: unused variable
> ‘prng’ [-Werro
We no longer use the prng, which leads to the following warning:
drivers/gpu/drm/tests/drm_buddy_test.c: In function
‘drm_test_buddy_alloc_clear’:
drivers/gpu/drm/tests/drm_buddy_test.c:264:23: error: unused variable
‘prng’ [-Werror=unused-variable]
264 | DRM_RND_STATE(prng, random_seed)