Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2022 23:39:12 -0400
From:      Michael Butler <imb@protected-networks.net>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   'set but unused' breaks drm-*-kmod
Message-ID:  <263e16c4-0634-88e6-9652-50d0874f027e@protected-networks.net>

next in thread | raw e-mail | index | archive | help
Seems this new requirement breaks kmod builds too ..

The first of many errors was (I stopped chasing them all for lack of 
time) ..

--- amdgpu_cs.o ---
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1210:26: 
error: variable 'priority' set but not used 
[-Werror,-Wunused-but-set-variable]
         enum drm_sched_priority priority;
                                 ^
1 error generated.
*** [amdgpu_cs.o] Error code 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?263e16c4-0634-88e6-9652-50d0874f027e>