Skip to content

Commit

Permalink
asm-generic: make parameter types consistent in _unaligned_be48()
Browse files Browse the repository at this point in the history
There is a convention to use internal kernel types, so replace __u8 by u8.

Link: https://lkml.kernel.org/r/20220830172713.43686-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
Andy Shevchenko authored and Andrew Morton committed Sep 12, 2022
1 parent 35783cc commit 7b9e664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-generic/unaligned.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static inline void put_unaligned_le24(const u32 val, void *p)
__put_unaligned_le24(val, p);
}

static inline void __put_unaligned_be48(const u64 val, __u8 *p)
static inline void __put_unaligned_be48(const u64 val, u8 *p)
{
*p++ = val >> 40;
*p++ = val >> 32;
Expand Down

0 comments on commit 7b9e664

Please sign in to comment.