From: Pasha Tatashin Date: Wed, 3 Jun 2026 15:43:50 +0000 (+0000) Subject: liveupdate: change file_set->count type to u64 for type safety X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=81fbb909ec07868415f6b2269922c8d1cc6a215a;p=thirdparty%2Fkernel%2Flinux.git liveupdate: change file_set->count type to u64 for type safety This improves type safety and aligns the in-memory file_set->count with the serialized count type. It avoids potential truncation or sign conversion mismatch issues. Reviewed-by: Pratyush Yadav (Google) Acked-by: Mike Rapoport (Microsoft) Signed-off-by: Pasha Tatashin Link: https://patch.msgid.link/20260603154402.468928-2-pasha.tatashin@soleen.com Signed-off-by: Mike Rapoport (Microsoft) --- diff --git a/kernel/liveupdate/luo_internal.h b/kernel/liveupdate/luo_internal.h index dd53d4a7277e..ae58206f14ac 100644 --- a/kernel/liveupdate/luo_internal.h +++ b/kernel/liveupdate/luo_internal.h @@ -52,7 +52,7 @@ static inline int luo_ucmd_respond(struct luo_ucmd *ucmd, struct luo_file_set { struct list_head files_list; struct luo_file_ser *files; - long count; + u64 count; }; /**