2017-09-20 15:40:32

by Masahiro Yamada

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

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

Signed-off-by: Masahiro Yamada <[email protected]>
---

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


2017-09-21 09:42:56

by Jakub Kicinski

[permalink] [raw]
Subject: Re: [PATCH] bitfield.h: remove 32bit from FIELD_GET comment block

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 <[email protected]>

Acked-by: Jakub Kicinski <[email protected]>

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