* [PATCH v1 1/1] asm-generic: Make parameter types consisten in _unaligned_be48()
@ 2022-07-26 8:29 Andy Shevchenko
2022-08-23 14:09 ` Andy Shevchenko
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2022-07-26 8:29 UTC (permalink / raw)
To: Keith Busch, linux-arch, linux-kernel
Cc: Arnd Bergmann, Jens Axboe, Andy Shevchenko
There is a convention to use internal kernel types, hence replace
__u8 by u8.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
include/asm-generic/unaligned.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1 1/1] asm-generic: Make parameter types consisten in _unaligned_be48()
2022-07-26 8:29 [PATCH v1 1/1] asm-generic: Make parameter types consisten in _unaligned_be48() Andy Shevchenko
@ 2022-08-23 14:09 ` Andy Shevchenko
0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2022-08-23 14:09 UTC (permalink / raw)
To: Keith Busch, linux-arch, linux-kernel; +Cc: Arnd Bergmann, Jens Axboe
On Tue, Jul 26, 2022 at 11:29:08AM +0300, Andy Shevchenko wrote:
> There is a convention to use internal kernel types, hence replace
> __u8 by u8.
Any comments on this? Otherwise I may push it through different tree.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-23 17:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-26 8:29 [PATCH v1 1/1] asm-generic: Make parameter types consisten in _unaligned_be48() Andy Shevchenko
2022-08-23 14:09 ` Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).