Re: [PATCH v3 11/11] rpmsg: Fix kfree() of static memory on setting driver_override

2022-03-11 Thread Bjorn Andersson
On Sun 27 Feb 07:53 CST 2022, Krzysztof Kozlowski wrote: > The driver_override field from platform driver should not be initialized > from static memory (string literal) because the core later kfree() it, > for example when driver_override is set via sysfs. > > Use dedicated helper to set driver_

Re: [PATCH] virtio-blk: support polling I/O

2022-03-11 Thread Michael S. Tsirkin
On Sat, Mar 12, 2022 at 01:07:23AM +0900, Suwan Kim wrote: > On Fri, Mar 11, 2022 at 10:38:07AM -0500, Michael S. Tsirkin wrote: > > On Sat, Mar 12, 2022 at 12:28:32AM +0900, Suwan Kim wrote: > > > diff --git a/include/uapi/linux/virtio_blk.h > > > b/include/uapi/linux/virtio_blk.h > > > index d88

Re: [PATCH] virtio-blk: support polling I/O

2022-03-11 Thread Michael S. Tsirkin
On Sat, Mar 12, 2022 at 12:28:32AM +0900, Suwan Kim wrote: > diff --git a/include/uapi/linux/virtio_blk.h b/include/uapi/linux/virtio_blk.h > index d888f013d9ff..3fcaf937afe1 100644 > --- a/include/uapi/linux/virtio_blk.h > +++ b/include/uapi/linux/virtio_blk.h > @@ -119,8 +119,9 @@ struct virtio_b

[bug report] vDPA/ifcvf: implement shared IRQ feature

2022-03-11 Thread Dan Carpenter
Hello Zhu Lingshan, The patch 79333575b8bd: "vDPA/ifcvf: implement shared IRQ feature" from Feb 22, 2022, leads to the following Smatch static checker warning: drivers/vdpa/ifcvf/ifcvf_main.c:306 ifcvf_request_config_irq() error: uninitialized symbol 'config_vector'. drivers/vdpa