mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
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>
This commit is contained in:
parent
35783ccbe5
commit
7b9e664beb
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ static inline void put_unaligned_le24(const u32 val, void *p)
|
||||||
__put_unaligned_le24(val, 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 >> 40;
|
||||||
*p++ = val >> 32;
|
*p++ = val >> 32;
|
||||||
|
|
Loading…
Reference in a new issue