Date: Wed, 06 May 2026 09:21:18 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 294870] graphics/drm-66-kmod, graphics/drm-61-kmod: Fails to build on stable/15 after commit ports d94082fc799f Message-ID: <bug-294870-7141-nQizTA2QC9@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-294870-7141@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294870 Tatsuki Makino <tatsuki_makino@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tatsuki_makino@hotmail.com --- Comment #24 from Tatsuki Makino <tatsuki_makino@hotmail.com> --- It seems that the error that -Wno-address-of-packed-member is trying to suppress can be avoided by rewriting it as follows. - read += guc_capture_log_remove_dw(guc, buf, &ghdr->owner); + read += guc_capture_log_remove_dw(guc, buf, __containerof(ghdr, struct guc_state_capture_group_header_t, owner)); It seems that __containerof can be used if <sys/cdefs.h> is included. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294870-7141-nQizTA2QC9>
