Re: [PATCH printk v4 4/6] printk: ringbuffer: change representation of states

2020-09-09 Thread Petr Mladek
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

[PATCH printk v4 4/6] printk: ringbuffer: change representation of states

2020-09-08 Thread John Ogness
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