diff options
| author | Pasha Tatashin <pasha.tatashin@soleen.com> | 2026-06-03 15:43:50 +0000 |
|---|---|---|
| committer | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2026-06-03 21:15:45 +0300 |
| commit | 81fbb909ec07868415f6b2269922c8d1cc6a215a (patch) | |
| tree | 7fd87403975d6318ec82199acdc41595b776f942 /kernel | |
| parent | 2935777b418d2bfcbfe96705bb2c0fa6c0d94e18 (diff) | |
| download | linux-81fbb909ec07868415f6b2269922c8d1cc6a215a.tar.gz linux-81fbb909ec07868415f6b2269922c8d1cc6a215a.zip | |
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>
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/liveupdate/luo_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; /** |
