Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
mdadm
0139-mdadm-Uninitialized-variable-rdev.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0139-mdadm-Uninitialized-variable-rdev.patch of Package mdadm
From a3476c9223e55ebb6063e7c5ee057647c70da0d2 Mon Sep 17 00:00:00 2001 From: James Puthukattukaran <joejames70@gmail.com> Date: Tue, 16 May 2017 11:57:00 -0400 Subject: [PATCH] mdadm: Uninitialized variable rdev Git-commit: a3476c9223e55ebb6063e7c5ee057647c70da0d2 Patch-mainline: mdadm-4.0+ References: bsc#1069165, bsc#1069167, bsc#1068030 rdev is not initialized properly causing compiler complaint. Signed-off-by: James Puthukattukaran <joejames70@gmail.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com> Signed-off-by: Coly Li <colyli@suse.de> --- super-ddf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/super-ddf.c b/super-ddf.c index 9c82f4f..ac14017 100644 --- a/super-ddf.c +++ b/super-ddf.c @@ -3526,7 +3526,7 @@ static int validate_geometry_ddf_bvd(struct supertype *st, return 1; } /* This device must be a member of the set */ - if (!stat_is_blkdev(dev, NULL)) + if (!stat_is_blkdev(dev, &rdev)) return 0; for (dl = ddf->dlist ; dl ; dl = dl->next) { if (dl->major == (int)major(rdev) && -- 2.13.6
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