Re: [PATCH] virtio-mmio: Use to_virtio_mmio_device() to simply code

2021-02-21 Thread Michael S. Tsirkin
On Thu, Feb 18, 2021 at 09:34:08AM +0800, Tang Bin wrote: > Dear Jason: > >   Sorry for the late reply this email. > > 在 2021/2/10 16:09, Jason Wang 写道: > > > > On 2021/2/10 上午11:04, Tang Bin wrote: > > > The file virtio_mmio.c has defined the function to_virtio_mmio_device, > > > so use it

Re: [PATCH] virtio-mmio: Use to_virtio_mmio_device() to simply code

2021-02-17 Thread Tang Bin
Dear Jason:   Sorry for the late reply this email. 在 2021/2/10 16:09, Jason Wang 写道: On 2021/2/10 上午11:04, Tang Bin wrote: The file virtio_mmio.c has defined the function to_virtio_mmio_device, so use it instead of container_of() to simply code. And remove superfluous blank lines in this

Re: [PATCH] virtio-mmio: Use to_virtio_mmio_device() to simply code

2021-02-10 Thread Jason Wang
On 2021/2/10 上午11:04, Tang Bin wrote: The file virtio_mmio.c has defined the function to_virtio_mmio_device, so use it instead of container_of() to simply code. And remove superfluous blank lines in this file. Signed-off-by: Tang Bin --- drivers/virtio/virtio_mmio.c | 16 +---

[PATCH] virtio-mmio: Use to_virtio_mmio_device() to simply code

2021-02-09 Thread Tang Bin
The file virtio_mmio.c has defined the function to_virtio_mmio_device, so use it instead of container_of() to simply code. And remove superfluous blank lines in this file. Signed-off-by: Tang Bin --- drivers/virtio/virtio_mmio.c | 16 +--- 1 file changed, 1 insertion(+), 15