summaryrefslogtreecommitdiff
path: root/include/linux/zstd_errors.h
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-04-21 10:42:45 +0300
committerNamjae Jeon <linkinjeon@kernel.org>2026-06-15 13:55:29 +0300
commitf07db38084dc45162d5fe2871ed72674ddc0f9ae (patch)
tree9f2f9a984ffe8261e4a005a58bf5822a08a48fe1 /include/linux/zstd_errors.h
parent623f0aa1eca5c2a94ca1e4e5de719d062eac3b6c (diff)
downloadlinux-f07db38084dc45162d5fe2871ed72674ddc0f9ae.tar.xz
exfat: replace unsafe macros with static inline functions
The current exFAT driver relies on various macros for unit conversions between clusters, blocks, sectors, and directory entries. These macros are structurally unsafe as they lack type enforcement and are prone to potential integer overflows during bit-shift operations, especially on 64-bit architectures. Replace all arithmetic macros with static inline functions to provide strict type checking and explicit casting. Acked-by: Christoph Hellwig <hch@lst.de> Acked-by: "Darrick J. Wong" <djwong@kernel.org> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions