Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
s390-tools.19608
s390-tools-sles15sp2-31-zipl-make-BLK_PWRT-unsi...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File s390-tools-sles15sp2-31-zipl-make-BLK_PWRT-unsigned-int.patch of Package s390-tools.19608
Subject: [PATCH] [FEAT VS1804] zipl: make BLK_PWRT unsigned int From: Marc Hartmayer <mhartmay@linux.ibm.com> Summary: genprotimg: Introduce new tool for the creation of PV images Description: genprotimg takes a kernel, host-key documents, optionally an initrd, optionally a file with the kernel command line, and it generates a single, loadable image file. The image consists of a concatenation of a plain text boot loader, the encrypted components for kernel, initrd, and cmdline, and the integrity-protected PV header, containing metadata necessary for running the guest in PV mode. It's possible to use this image file as a kernel for zIPL or for a direct kernel boot using QEMU. Upstream-ID: 2e28291c75d73b92921f7769eaa803fe3222f383 Problem-ID: VS1804 Upstream-Description: zipl: make BLK_PWRT unsigned int Otherwise there might be a compiler warning when using 'MIN(bl_count, BLK_PWRT)'. Reviewed-by: Philipp Rudo <prudo@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> --- zipl/boot/fba2dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/zipl/boot/fba2dump.c +++ b/zipl/boot/fba2dump.c @@ -14,7 +14,7 @@ #include "fba.h" #include "stage2dump.h" -#define BLK_PWRT 64 /* Blocks per write */ +#define BLK_PWRT 64U /* Blocks per write */ #define BLK_SIZE 0x200 /* FBA block size */ #define BLK_PER_PAGE (PAGE_SIZE / BLK_SIZE) /* FBA blocks per page */
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