Subject: [PATCH] [FEAT VS1804] zipl: make BLK_PWRT unsigned int From: Marc Hartmayer 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 Reviewed-by: Stefan Haberland Signed-off-by: Marc Hartmayer Signed-off-by: Jan Höppner Signed-off-by: Marc Hartmayer --- 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 */