Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1735858

[PATCH] bitfield.h: remove 32bit from FIELD_GET comment block

From Masahiro Yamada <yamada.masahiro@socionext.com>
Newsgroups linux.kernel
Subject [PATCH] bitfield.h: remove 32bit from FIELD_GET comment block
Date 2017-09-20 17:50 +0200
Message-ID <urPqa-4XF-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


I do not see anything that restricts this macro to 32 bit width.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 include/linux/bitfield.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/bitfield.h b/include/linux/bitfield.h
index 9e16b33..1030651 100644
--- a/include/linux/bitfield.h
+++ b/include/linux/bitfield.h
@@ -92,7 +92,7 @@
 /**
  * FIELD_GET() - extract a bitfield element
  * @_mask: shifted mask defining the field's length and position
- * @_reg:  32bit value of entire bitfield
+ * @_reg:  value of entire bitfield
  *
  * FIELD_GET() extracts the field specified by @_mask from the
  * bitfield passed in as @_reg by masking and shifting it down.
-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] bitfield.h: remove 32bit from FIELD_GET comment block Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-09-20 17:50 +0200
  Re: [PATCH] bitfield.h: remove 32bit from FIELD_GET comment block Jakub Kicinski <kubakici@wp.pl> - 2017-09-21 11:50 +0200

csiph-web