Thread (2 messages) 2 messages, 1 author, 2013-08-14

[PATCH 2/2] libkmod: Fix getting param with no value from kcmdline

From: Lucas De Marchi <hidden>
Date: 2013-08-14 01:08:46
Subsystem: the rest · Maintainer: Linus Torvalds

From: Lucas De Marchi <redacted>

---
 libkmod/libkmod-config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libkmod/libkmod-config.c b/libkmod/libkmod-config.c
index cb4cf61..24978c1 100644
--- a/libkmod/libkmod-config.c
+++ b/libkmod/libkmod-config.c
@@ -518,7 +518,7 @@ static void kmod_config_free_softdep(struct kmod_config *config,
 static void kcmdline_parse_result(struct kmod_config *config, char *modname,
 						char *param, char *value)
 {
-	if (modname == NULL || param == NULL || value == NULL)
+	if (modname == NULL || param == NULL)
 		return;
 
 	DBG(config->ctx, "%s %s\n", modname, param);
-- 
1.8.3.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help