On Thu, Mar 12, 2020 at 07:37:16PM -0700, Bart Van Assche wrote: > Move the get_unaligned_be24(), get_unaligned_le24() and > put_unaligned_le24() definitions from various drivers into > include/linux/unaligned/generic.h. Add a put_unaligned_be24() > implementation. Looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx> (although the added consts suggested by Andy look useful to me)