All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Cc: "David S. Miller" <davem@davemloft.net>,
	Tiwei Bie <tiwei.bie@intel.com>,
	virtualization <virtualization@lists.linux-foundation.org>
Subject: Re: [PATCH v2 1/2] virtio_ring: fix style of virtqueue_add_indirect_packed
Date: Tue, 19 Oct 2021 06:38:27 -0400	[thread overview]
Message-ID: <20211019063754-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <1634631341.208131-2-xuanzhuo@linux.alibaba.com>

On Tue, Oct 19, 2021 at 04:15:41PM +0800, Xuan Zhuo wrote:
> On Tue, 28 Sep 2021 11:14:47 +0800, Jason Wang <jasowang@redhat.com> wrote:
> > On Mon, Sep 27, 2021 at 6:54 PM Xuan Zhuo <xuanzhuo@linux.alibaba.com> wrote:
> > >
> > > Fix the style problem of virtqueue_add_indirect_packed(). The next patch
> > > involves the modification of this function.
> > >
> > > Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
> > > ---
> > >  drivers/virtio/virtio_ring.c | 12 ++++++------
> > >  1 file changed, 6 insertions(+), 6 deletions(-)
> >
> > Acked-by: Jason Wang <jasowang@redhat.com>
> 
> Hi, this patch set seems to have not been merged, is there something wrong with me?
> 
> Thanks.

there's no problem as such. something like

"align arguments to the open ( to make it look prettier"
would be more correct.


> >
> > >
> > > diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
> > > index dd95dfd85e98..91a46c4da87d 100644
> > > --- a/drivers/virtio/virtio_ring.c
> > > +++ b/drivers/virtio/virtio_ring.c
> > > @@ -1050,12 +1050,12 @@ static struct vring_packed_desc *alloc_indirect_packed(unsigned int total_sg,
> > >  }
> > >
> > >  static int virtqueue_add_indirect_packed(struct vring_virtqueue *vq,
> > > -                                      struct scatterlist *sgs[],
> > > -                                      unsigned int total_sg,
> > > -                                      unsigned int out_sgs,
> > > -                                      unsigned int in_sgs,
> > > -                                      void *data,
> > > -                                      gfp_t gfp)
> > > +                                        struct scatterlist *sgs[],
> > > +                                        unsigned int total_sg,
> > > +                                        unsigned int out_sgs,
> > > +                                        unsigned int in_sgs,
> > > +                                        void *data,
> > > +                                        gfp_t gfp)
> > >  {
> > >         struct vring_packed_desc *desc;
> > >         struct scatterlist *sg;
> > > --
> > > 2.31.0
> > >
> >

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

  reply	other threads:[~2021-10-19 10:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-27 10:54 [PATCH v2 0/2] virtio_ring: check desc == NULL when packed and indirect Xuan Zhuo
2021-09-27 10:54 ` [PATCH v2 1/2] virtio_ring: fix style of virtqueue_add_indirect_packed Xuan Zhuo
2021-09-28  3:14   ` Jason Wang
2021-10-19  8:15     ` Xuan Zhuo
2021-10-19 10:38       ` Michael S. Tsirkin [this message]
2021-09-27 10:54 ` [PATCH v2 2/2] virtio_ring: check desc == NULL when packed and indirect Xuan Zhuo
2021-09-28  3:20   ` Jason Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211019063754-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=davem@davemloft.net \
    --cc=tiwei.bie@intel.com \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=xuanzhuo@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.