mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
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) <pratyush@kernel.org> Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org> Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com> Link: https://patch.msgid.link/20260603154402.468928-2-pasha.tatashin@soleen.com Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
This commit is contained in:
parent
2935777b41
commit
81fbb909ec
|
|
@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user