jianhai / rpms / kernel

Forked from rpms/kernel 3 years ago
Clone
e293be
Replace this with patch-zu-format-v1.patch .
e293be
e293be
diff -up ./drivers/firmware/efi/efi.c.zu2 ./drivers/firmware/efi/efi.c
e293be
--- ./drivers/firmware/efi/efi.c.zu2	2018-10-05 05:18:19.000000000 +0900
e293be
+++ ./drivers/firmware/efi/efi.c	2018-10-30 20:30:38.000000000 +0900
e293be
@@ -277,7 +277,7 @@ int __init efi_mem_desc_lookup(u64 phys_
e293be
 				map->nr_map * map->desc_size);
e293be
 	if (!memmap) {
e293be
 		pr_err_once("early_memremap(%#llx, %zu) failed.\n",
e293be
-			    (unsigned long long) map->phys_map, map->nr_map * map->desc_size);
e293be
+			    (unsigned long long) map->phys_map, (size_t) (map->nr_map * map->desc_size));
e293be
 		return -ENOMEM;
e293be
 	}
e293be
 
e293be
diff -up ./drivers/target/target_core_user.c.zu2 ./drivers/target/target_core_user.c