loader: Make LoaderSymbolFromModule take a ModuleDescPtr

Graphics / X.Org / X.Org Server - Adam Jackson [redhat.com] - 21 November 2019 19:20 UTC

The thing you get back from xf86LoadSubModule is a ModuleDescPtr, not a dlsym handle. We don't expose ModuleDescPtr to the drivers, so change LoaderSymbolFromModule to cast its void * argument to a ModuleDescPtr.

ab61c16ef loader: Make LoaderSymbolFromModule take a ModuleDescPtr
hw/xfree86/loader/loader.c | 3 ++-
hw/xfree86/loader/loadmod.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share