summaryrefslogtreecommitdiff
path: root/include/linux/compiler_types.h
diff options
context:
space:
mode:
authorCaleb Connolly <[email protected]>2024-03-20 14:30:50 +0000
committerMattijs Korpershoek <[email protected]>2024-03-22 10:16:13 +0100
commit304fa0aa445384e5e681a54abf413850591cec10 (patch)
tree5817de290bf955376c21b2eb081bbaa8e1142195 /include/linux/compiler_types.h
parent341a172ef7867e3bfa90d6951997e5e2f168e188 (diff)
usb: gadget: UMS: support multiple sector sizes
UFS storage often uses a 4096-byte sector size, add support for dynamic sector sizes based loosely on the Linux implementation. Support for dynamic sector sizes changes the types used in some divisions, resulting in the compiler attempting to use libgcc helpers (__aeabi_ldivmod). Replace these divisions with calls to lldiv() to handle this correctly. Reviewed-by: Mattijs Korpershoek <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Caleb Connolly <[email protected]> Link: https://lore.kernel.org/r/[email protected] [mkorpershoek: squashed the lldiv() fix from caleb] Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'include/linux/compiler_types.h')
0 files changed, 0 insertions, 0 deletions