[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160621135945.GC576@nazgul.tnic>
Date: Tue, 21 Jun 2016 15:59:45 +0200
From: Borislav Petkov <bp@...en8.de>
To: Davidlohr Bueso <dave@...olabs.net>
Cc: peterz@...radead.org, mingo@...nel.org, davem@...emloft.net,
cw00.choi@...sung.com, dougthompson@...ssion.com,
mchehab@....samsung.com, gregkh@...uxfoundation.org, pfg@....com,
jikos@...nel.org, hans.verkuil@...co.com, awalls@...metrocast.net,
dledford@...hat.com, sean.hefty@...el.com, kys@...rosoft.com,
heiko.carstens@...ibm.com, James.Bottomley@...senPartnership.com,
sumit.semwal@...aro.org, schwidefsky@...ibm.com,
linux-kernel@...r.kernel.org, Davidlohr Bueso <dbueso@...e.de>
Subject: Re: [PATCH 04/12] EDAC: Employ atomic_fetch_inc()
On Mon, Jun 20, 2016 at 01:05:56PM -0700, Davidlohr Bueso wrote:
> Now that we have fetch_inc() we can stop using inc_return() - 1.
>
> These are very similar to the existing OP-RETURN primitives we already
> have, except they return the value of the atomic variable _before_
> modification.
>
> Cc: Doug Thompson <dougthompson@...ssion.com>
> Cc: Borislav Petkov <bp@...en8.de>
> Cc: Mauro Carvalho Chehab <mchehab@....samsung.com>
> Signed-off-by: Davidlohr Bueso <dbueso@...e.de>
> ---
> drivers/edac/edac_device.c | 2 +-
> drivers/edac/edac_pci.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Acked-by: Borislav Petkov <bp@...e.de>
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
--
Powered by blists - more mailing lists