diff mbox series

bitfield.h: remove 32bit from FIELD_GET comment block

Message ID 1505921975-23379-1-git-send-email-yamada.masahiro@socionext.com
State New
Headers show
Series bitfield.h: remove 32bit from FIELD_GET comment block | expand

Commit Message

Masahiro Yamada Sept. 20, 2017, 3:39 p.m. UTC
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(-)

-- 
2.7.4

Comments

Jakub Kicinski Sept. 21, 2017, 9:42 a.m. UTC | #1
On Thu, 21 Sep 2017 00:39:35 +0900, Masahiro Yamada wrote:
> I do not see anything that restricts this macro to 32 bit width.

> 

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


Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>


Looks like a leftover from v1 of the code, thanks for cleaning it up!
diff mbox series

Patch

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.