reretrieve patch from git

OBS-URL: https://build.opensuse.org/package/show/Base:System/kmod?expand=0&rev=178
This commit is contained in:
Jan Engelhardt 2021-01-28 12:13:21 +00:00 committed by Git OBS Bridge
parent 0a94b83283
commit 4b791e5ead

View File

@ -1,4 +1,4 @@
From 45dd8d3d2859b58c203d9be16ab7ed77d98b7714 Mon Sep 17 00:00:00 2001
From fa67110f896cdef67f42cbc2206ae2a8524acee6 Mon Sep 17 00:00:00 2001
From: Marco d'Itri <md@linux.it>
Date: Thu, 7 Jan 2021 20:17:48 -0800
Subject: [PATCH] Fix "modinfo -F always shows name for built-ins"
@ -15,17 +15,15 @@ https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970871
$ modinfo -Flicense bitrev
name: bitrev
GPL
Reviewed-by: Petr Vorel <pvorel@suse.cz>
[ Patch-mainline: fa67110f896cdef67f42cbc2206ae2a8524acee6 ]
---
tools/modinfo.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tools/modinfo.c b/tools/modinfo.c
index 0231bb0..f6a971f 100644
--- a/tools/modinfo.c
+++ b/tools/modinfo.c
@@ -178,7 +178,11 @@ static int modinfo_do(struct kmod_module *mod)
Index: kmod-27/tools/modinfo.c
===================================================================
--- kmod-27.orig/tools/modinfo.c
+++ kmod-27/tools/modinfo.c
@@ -178,7 +178,11 @@ static int modinfo_do(struct kmod_module
is_builtin = (filename == NULL);
if (is_builtin) {
@ -38,6 +36,3 @@ index 0231bb0..f6a971f 100644
filename = "(builtin)";
}
--
2.30.0