Skip to content

Commit 6d7a820

Browse files
stefan11111metux
authored andcommitted
xfree86: loader: warn when implicitly ignoring abi mismatch
for the nvidia proprietary DDX driver Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
1 parent 8522803 commit 6d7a820

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

hw/xfree86/loader/loadmod.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,12 @@ LoadModule(const char *module, void *options, const XF86ModReqInfo *modreq,
682682
m = (char *) module;
683683
}
684684

685+
if (is_nvidia_proprietary && !LoaderIgnoreAbi) {
686+
/* warn every time this is hit */
687+
LogMessage(X_WARNING, "LoadModule: Implicitly ignoring abi mismatch "
688+
"for the nvidia proprierary DDX driver\n");
689+
}
690+
685691
/* Backward compatibility, vbe and int10 are merged into int10 now */
686692
if (!strcmp(m, "vbe"))
687693
m = name = strdup("int10");

0 commit comments

Comments
 (0)