Re: [PATCH] printk: ringbuffer: Convert function argument to local variable

2020-11-10 Thread Nikolay Borisov
On 10.11.20 г. 15:14 ч., John Ogness wrote: > On 2020-11-10, Nikolay Borisov wrote: >> data_alloc's 2nd argument is always rb::text_data_ring and that functino >> always takes a struct printk_ringbuffer. Instead of passing the data >> ring buffer as an argument simply make it a local variable.

Re: [PATCH] printk: ringbuffer: Convert function argument to local variable

2020-11-10 Thread John Ogness
On 2020-11-10, Nikolay Borisov wrote: > data_alloc's 2nd argument is always rb::text_data_ring and that functino > always takes a struct printk_ringbuffer. Instead of passing the data > ring buffer as an argument simply make it a local variable. This is a relic of when we had a second data ring

[PATCH] printk: ringbuffer: Convert function argument to local variable

2020-11-10 Thread Nikolay Borisov
data_alloc's 2nd argument is always rb::text_data_ring and that functino always takes a struct printk_ringbuffer. Instead of passing the data ring buffer as an argument simply make it a local variable. Signed-off-by: Nikolay Borisov --- kernel/printk/printk_ringbuffer.c | 9 - 1 file