[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAO_48GGeXrDe9F1S64pf4qeF-2vMMiwOTZXOXDctAdPO5Pn04w@mail.gmail.com>
Date: Thu, 3 Sep 2020 17:51:59 +0530
From: Sumit Semwal <sumit.semwal@...aro.org>
To: Christian König <christian.koenig@....com>
Cc: Joe Perches <joe@...ches.com>, Jiri Kosina <trivial@...nel.org>,
"open list:DMA BUFFER SHARING FRAMEWORK"
<linux-media@...r.kernel.org>,
DRI mailing list <dri-devel@...ts.freedesktop.org>,
Linaro MM SIG <linaro-mm-sig@...ts.linaro.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 08/29] dma-buf: Avoid comma separated statements
Hello Joe,
On Wed, 26 Aug 2020 at 20:38, Christian König <christian.koenig@....com> wrote:
>
> Am 25.08.20 um 06:56 schrieb Joe Perches:
> > Use semicolons and braces.
> >
> > Signed-off-by: Joe Perches <joe@...ches.com>
>
> Acked-by: Christian König <christian.koenig@....com>
FWIW,
Acked-by: Sumit Semwal <sumit.semwal@...aro.org>
>
> > ---
> > drivers/dma-buf/st-dma-fence.c | 7 +++++--
> > 1 file changed, 5 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/dma-buf/st-dma-fence.c b/drivers/dma-buf/st-dma-fence.c
> > index e593064341c8..c8a12d7ad71a 100644
> > --- a/drivers/dma-buf/st-dma-fence.c
> > +++ b/drivers/dma-buf/st-dma-fence.c
> > @@ -471,8 +471,11 @@ static int thread_signal_callback(void *arg)
> > dma_fence_signal(f1);
> >
> > smp_store_mb(cb.seen, false);
> > - if (!f2 || dma_fence_add_callback(f2, &cb.cb, simple_callback))
> > - miss++, cb.seen = true;
> > + if (!f2 ||
> > + dma_fence_add_callback(f2, &cb.cb, simple_callback)) {
> > + miss++;
> > + cb.seen = true;
> > + }
> >
> > if (!t->before)
> > dma_fence_signal(f1);
>
Powered by blists - more mailing lists