From d607994c7b086afae09a8cded8bf6c5e8682541e Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Wed, 26 Feb 2014 13:53:38 +0100 Subject: [PATCH 2/5] libkmod-config: Recognize allow_unsupported_modules in the configuration References: fate#316971 Patch-mainline: never --- libkmod/libkmod-config.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libkmod/libkmod-config.c b/libkmod/libkmod-config.c index 0953924..79bfb9b 100644 --- a/libkmod/libkmod-config.c +++ b/libkmod/libkmod-config.c @@ -667,6 +667,9 @@ static int kmod_config_parse(struct kmod_config *config, int fd, || 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", -- 1.8.4.5