diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-04-21 10:42:45 +0300 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-06-15 13:55:29 +0300 |
| commit | f07db38084dc45162d5fe2871ed72674ddc0f9ae (patch) | |
| tree | 9f2f9a984ffe8261e4a005a58bf5822a08a48fe1 /include | |
| parent | 623f0aa1eca5c2a94ca1e4e5de719d062eac3b6c (diff) | |
| download | linux-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')
0 files changed, 0 insertions, 0 deletions
