aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-08-30 20:27:13 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-09-11 21:55:12 -0700
commit7b9e664beb237d90bc600f117668227af5ce53ae (patch)
tree8c31932ce29b2ea25f3001e67f496b7677e698f5 /include/asm-generic
parentkernel/profile.c: simplify duplicated code in profile_setup() (diff)
downloadlinux-dev-7b9e664beb237d90bc600f117668227af5ce53ae.tar.xz
linux-dev-7b9e664beb237d90bc600f117668227af5ce53ae.zip
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.h2
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;