diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-08-30 20:27:13 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-09-12 07:55:12 +0300 |
commit | 7b9e664beb237d90bc600f117668227af5ce53ae (patch) | |
tree | 8c31932ce29b2ea25f3001e67f496b7677e698f5 /include/asm-generic | |
parent | 35783ccbe519b33f6652b2d7aafcfc82f10b1a1b (diff) | |
download | linux-7b9e664beb237d90bc600f117668227af5ce53ae.tar.xz |
asm-generic: make parameter types consistent in _unaligned_be48()
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>
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/unaligned.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/unaligned.h b/include/asm-generic/unaligned.h index df30f11b4a46..699650f81970 100644 --- a/include/asm-generic/unaligned.h +++ b/include/asm-generic/unaligned.h @@ -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; |