Re: [PATCH v5 02/11] configfs: use (1UL << bit) for internal flags

From
Andy Shevchenko <hidden>
Date
2021-03-15 16:37:55
Also in
linux-gpio, lkml
Reply to
David Laight, 2021-03-15
On Mon, Mar 15, 2021 at 5:33 PM David Laight [off-list ref] wrote:
From: Bartosz Golaszewski
quoted
Sent: 15 March 2021 09:14

From: Bartosz Golaszewski <redacted>

For better readability and maintenance: use the (1UL << bit) for flag
definitions.
If the values ever get printed in hex the hex definitions are
actually more useful.
Huh?!


-- 
With Best Regards,
Andy Shevchenko
Thread (18 messages) 18 messages, 6 authors, last reply 2021-03-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help