Re: [PATCH RT] printk: devkmsg: read: Return EPIPE when the first message user-space wants has gone

2019-09-24 Thread John Ogness
On 2019-09-24, wrote: > From: He Zhe > > When user-space wants to read the first message, that is when user->seq > is 0, and that message has gone, it currently automatically resets > user->seq to current first seq. This mis-aligns with mainline kernel. > >

[PATCH RT] printk: devkmsg: read: Return EPIPE when the first message user-space wants has gone

2019-09-24 Thread zhe.he
From: He Zhe When user-space wants to read the first message, that is when user->seq is 0, and that message has gone, it currently automatically resets user->seq to current first seq. This mis-aligns with mainline kernel.