Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
qemu.313
0063-module-Don-t-complain-when-a-module.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0063-module-Don-t-complain-when-a-module.patch of Package qemu.313
From 4bcbb6bca5f4e6e09e1d78d52e8a6bf58dd94867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= <afaerber@suse.de> Date: Fri, 20 Jun 2014 17:54:51 +0200 Subject: [PATCH] module: Don't complain when a module is absent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The current implementation depends on a configure-time generated list of block modules. When any of them is absent, module_load() emits a warning. This is suboptimal because extracting code to modules was mainly done to allow separate packaging of modules with intrusive dependencies. Absence of optional packages then leads to absence of modules and an error message, which users may recognize as new and report as error. Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> (cherry picked from commit bb2eb1892d36e5c9fa1695924434313e3acbb1c0) [AF: BNC#882008] Signed-off-by: Andreas Färber <afaerber@suse.de> --- util/module.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/util/module.c b/util/module.c index 9fd3030..4bd4a94 100644 --- a/util/module.c +++ b/util/module.c @@ -209,9 +209,6 @@ static void module_load(module_init_type type) break; } } - if (ret == -ENOENT) { - fprintf(stderr, "Can't find module: %s\n", *mp); - } } for (i = 0; i < ARRAY_SIZE(dirs); i++) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor