summaryrefslogtreecommitdiff
path: root/tests/unittests/sysfs_mock/class/ubi/version
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-07-26 16:05:29 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2018-07-27 00:55:02 +0200
commit6922b87e1b5190fce4db6ecc5b416672a8a4d6ba (patch)
treee37a3b01502c741abf2c16682b42a89f9e56cd76 /tests/unittests/sysfs_mock/class/ubi/version
parent9095d213f536aec0f3c37f6666177f3b907afde7 (diff)
ubi-utils: ubimkvol: Initialize req to zero to make sure no flags are set by default
The program expects req.flags to be zero-initialized, but it's not the case. Let's explicitly initialize req to zero at declaration time. Fixes: 7b4a65a27d26 ("ubi-utils: ubimkvol: add support for skipping CRC check of a static volume when opening") Reviewed-by: Quentin Schulz <quentin.schulz@bootlin.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/unittests/sysfs_mock/class/ubi/version')
0 files changed, 0 insertions, 0 deletions