2019-02-13 00:23:22 +01:00
|
|
|
From ede3e6010e5a132286c3a1ee815ec88bdef847b8 Mon Sep 17 00:00:00 2001
|
2014-02-26 18:34:42 +01:00
|
|
|
From: Michal Marek <mmarek@suse.cz>
|
|
|
|
Date: Wed, 26 Feb 2014 13:53:38 +0100
|
2019-02-13 00:23:22 +01:00
|
|
|
Subject: [PATCH 2/6] libkmod-config: Recognize allow_unsupported_modules in
|
2014-02-26 18:34:42 +01:00
|
|
|
the configuration
|
|
|
|
|
|
|
|
References: fate#316971
|
2014-03-05 16:59:07 +01:00
|
|
|
Patch-mainline: never
|
2014-02-26 18:34:42 +01:00
|
|
|
---
|
|
|
|
libkmod/libkmod-config.c | 3 +++
|
|
|
|
1 file changed, 3 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/libkmod/libkmod-config.c b/libkmod/libkmod-config.c
|
2019-02-13 00:23:22 +01:00
|
|
|
index aaac0a1..1b24536 100644
|
2014-02-26 18:34:42 +01:00
|
|
|
--- a/libkmod/libkmod-config.c
|
|
|
|
+++ b/libkmod/libkmod-config.c
|
2019-02-13 00:23:22 +01:00
|
|
|
@@ -650,6 +650,9 @@ static int kmod_config_parse(struct kmod_config *config, int fd,
|
2014-02-26 18:34:42 +01:00
|
|
|
|| streq(cmd, "config")) {
|
|
|
|
ERR(ctx, "%s: command %s is deprecated and not parsed anymore\n",
|
|
|
|
filename, cmd);
|
|
|
|
+ } else if (streq(cmd, "allow_unsupported_modules")) {
|
|
|
|
+ /* dummy option for now */
|
|
|
|
+ ;
|
|
|
|
} else {
|
|
|
|
syntax_error:
|
|
|
|
ERR(ctx, "%s line %u: ignoring bad line starting with '%s'\n",
|
|
|
|
--
|
2019-02-13 00:23:22 +01:00
|
|
|
2.20.1
|
2014-02-26 18:34:42 +01:00
|
|
|
|