public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] treewide: fix typo 'unsigned __init128' -> 'unsigned __int128'
@ 2025-03-05 14:59 Vincent Mailhol
  2025-03-05 17:01 ` Yury Norov
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent Mailhol @ 2025-03-05 14:59 UTC (permalink / raw)
  To: Yury Norov, Rasmus Villemoes
  Cc: linux-kernel, Andy Shevchenko, Vincent Mailhol

"int" was misspelled as "init" the code comments in the bits.h and
const.h files. Fix the typo.

Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
---
 include/linux/bits.h             | 2 +-
 include/uapi/linux/const.h       | 2 +-
 tools/include/linux/bits.h       | 2 +-
 tools/include/uapi/linux/const.h | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/linux/bits.h b/include/linux/bits.h
index 61a75d3f294bfa96267383b5e2fd2a5d4593fcee..14fd0ca9a6cd17339dd2f69e449558312a8a001b 100644
--- a/include/linux/bits.h
+++ b/include/linux/bits.h
@@ -40,7 +40,7 @@
  * Missing asm support
  *
  * __GENMASK_U128() depends on _BIT128() which would not work
- * in the asm code, as it shifts an 'unsigned __init128' data
+ * in the asm code, as it shifts an 'unsigned __int128' data
  * type instead of direct representation of 128 bit constants
  * such as long and unsigned long. The fundamental problem is
  * that a 128 bit constant will get silently truncated by the
diff --git a/include/uapi/linux/const.h b/include/uapi/linux/const.h
index e16be0d37746e14b9eedcdb38be7d11f29b5113a..b8f629ef135f356f552b9aa9dd73356167503134 100644
--- a/include/uapi/linux/const.h
+++ b/include/uapi/linux/const.h
@@ -33,7 +33,7 @@
  * Missing asm support
  *
  * __BIT128() would not work in the asm code, as it shifts an
- * 'unsigned __init128' data type as direct representation of
+ * 'unsigned __int128' data type as direct representation of
  * 128 bit constants is not supported in the gcc compiler, as
  * they get silently truncated.
  *
diff --git a/tools/include/linux/bits.h b/tools/include/linux/bits.h
index 60044b6088172b3f26aa3f17cdaede9786863dae..8de2914e65101463667de45db7ade17c4a72ff40 100644
--- a/tools/include/linux/bits.h
+++ b/tools/include/linux/bits.h
@@ -41,7 +41,7 @@
  * Missing asm support
  *
  * __GENMASK_U128() depends on _BIT128() which would not work
- * in the asm code, as it shifts an 'unsigned __init128' data
+ * in the asm code, as it shifts an 'unsigned __int128' data
  * type instead of direct representation of 128 bit constants
  * such as long and unsigned long. The fundamental problem is
  * that a 128 bit constant will get silently truncated by the
diff --git a/tools/include/uapi/linux/const.h b/tools/include/uapi/linux/const.h
index e16be0d37746e14b9eedcdb38be7d11f29b5113a..b8f629ef135f356f552b9aa9dd73356167503134 100644
--- a/tools/include/uapi/linux/const.h
+++ b/tools/include/uapi/linux/const.h
@@ -33,7 +33,7 @@
  * Missing asm support
  *
  * __BIT128() would not work in the asm code, as it shifts an
- * 'unsigned __init128' data type as direct representation of
+ * 'unsigned __int128' data type as direct representation of
  * 128 bit constants is not supported in the gcc compiler, as
  * they get silently truncated.
  *

---
base-commit: d082ecbc71e9e0bf49883ee4afd435a77a5101b6
change-id: 20250305-fix_init128_typo-9a0de11d993c

Best regards,
-- 
Vincent Mailhol <mailhol.vincent@wanadoo.fr>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] treewide: fix typo 'unsigned __init128' -> 'unsigned __int128'
  2025-03-05 14:59 [PATCH] treewide: fix typo 'unsigned __init128' -> 'unsigned __int128' Vincent Mailhol
@ 2025-03-05 17:01 ` Yury Norov
  0 siblings, 0 replies; 2+ messages in thread
From: Yury Norov @ 2025-03-05 17:01 UTC (permalink / raw)
  To: Vincent Mailhol; +Cc: Rasmus Villemoes, linux-kernel, Andy Shevchenko

On Wed, Mar 05, 2025 at 11:59:32PM +0900, Vincent Mailhol wrote:
> "int" was misspelled as "init" the code comments in the bits.h and
> const.h files. Fix the typo.
> 
> Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>

Applied, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-03-05 17:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-05 14:59 [PATCH] treewide: fix typo 'unsigned __init128' -> 'unsigned __int128' Vincent Mailhol
2025-03-05 17:01 ` Yury Norov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox