Re: [PATCH] gpiolib: cdev: convert stream-like files from

2021-02-12 Thread Linus Walleij
On Sun, Feb 7, 2021 at 10:00 AM Yang Li wrote: > Eliminate the following coccicheck warning: > ./drivers/gpio/gpiolib-cdev.c:2307:7-23: WARNING: gpio_fileops: .read() > has stream semantic; safe to change nonseekable_open -> stream_open. > > Reported-by: Abaci Robot > Signed-off-by: Yang Li Th

Re: [PATCH] gpiolib: cdev: convert stream-like files from

2021-02-07 Thread Bartosz Golaszewski
On Sun, Feb 7, 2021 at 10:00 AM Yang Li wrote: > > Eliminate the following coccicheck warning: > ./drivers/gpio/gpiolib-cdev.c:2307:7-23: WARNING: gpio_fileops: .read() > has stream semantic; safe to change nonseekable_open -> stream_open. > > Reported-by: Abaci Robot > Signed-off-by: Yang Li >

[PATCH] gpiolib: cdev: convert stream-like files from

2021-02-07 Thread Yang Li
Eliminate the following coccicheck warning: ./drivers/gpio/gpiolib-cdev.c:2307:7-23: WARNING: gpio_fileops: .read() has stream semantic; safe to change nonseekable_open -> stream_open. Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpio/gpiolib-cdev.c | 2 +- 1 file changed, 1 inse