Thread (18 messages) 18 messages, 6 authors, 2021-03-26

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

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help