On Tue Jan 13, 2026 at 11:59 PM GMT, Timur Tabi wrote: > On Wed, 2026-01-14 at 00:50 +0100, Danilo Krummrich wrote: >> Maybe Gary has an alternative idea for a temporary workaround since he's >> working >> on the proper solution to safely access module fields. >> >> But again, I think a simple global with a FIXME comment should be fine. > > That's what I had in my initial version. > > I wish you had said something when Joel suggested it: > https://lore.freedesktop.org/nouveau/[email protected]/T/#m69a23a3db642c8cbb22efe0e24647811e8ae3f12 > > I spent a lot of time over the past few weeks implementing lookup support, > and now you're saying it > was for nothing. > > What exactly is Gary's code supposed to do, anyway? "proper solution to > safely access module > fields" I don't know what this means.
There're quite a few ideas being discussed here: https://rust-for-linux.zulipchat.com/#narrow/channel/288089-General/topic/Module.2Fdriver-scoped.20data/with/564476412, although I haven't had time to do any proper implementation work yet. Best, Gary
