aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/filtermods.py
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2024-08-09 19:26:14 +0200
committerJan200101 <sentrycraft123@gmail.com>2024-08-09 19:26:14 +0200
commitee7306c6937f331f0fc0882a29a947c0a9560b3e (patch)
treeafc6552e91d247a927144361364f6012f9dea647 /SOURCES/filtermods.py
parent2de9c6dfed5c691b201b8a4374beb94d82ef4e8a (diff)
downloadkernel-fsync-ee7306c6937f331f0fc0882a29a947c0a9560b3e.tar.gz
kernel-fsync-ee7306c6937f331f0fc0882a29a947c0a9560b3e.zip
kernel 6.10.3
Diffstat (limited to 'SOURCES/filtermods.py')
-rwxr-xr-xSOURCES/filtermods.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/SOURCES/filtermods.py b/SOURCES/filtermods.py
index 9d7e33d..fbfe56c 100755
--- a/SOURCES/filtermods.py
+++ b/SOURCES/filtermods.py
@@ -706,13 +706,10 @@ def sort_kmods(depmod_pathname: str, config_str: str, variants=[], do_pictures='
def abbrev_list_for_report(alist: list[KMod]) -> str:
tmp_str = []
- for kmod in alist[:2]:
+ for kmod in alist:
if kmod.allowed_list:
tmp_str.append('%s(%s)' % (kmod.name, ' '.join([x.name for x in kmod.allowed_list])))
ret = ', '.join(tmp_str)
- other_len = len(alist[2:])
- if other_len > 0:
- ret = ret + ' and %s other(s)' % (other_len)
return ret