Messages in this thread | | | Date | Wed, 9 Sep 2020 12:01:51 +0200 | From | Petr Mladek <> | Subject | Re: [PATCH printk v4 4/6] printk: ringbuffer: change representation of states |
| |
On Tue 2020-09-08 22:34:57, John Ogness wrote: > Rather than deriving the state by evaluating bits within the flags > area of the state variable, assign the states explicit values and > set those values in the flags area. Introduce macros to make it > simple to read and write state values for the state variable. > > Although the functionality is preserved, the binary representation > for the states is changed. > > Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Best Regards, Petr
| |