Messages in this thread | | | Date | Tue, 21 Jun 2016 15:59:45 +0200 | From | Borislav Petkov <> | 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@xmission.com> > Cc: Borislav Petkov <bp@alien8.de> > Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com> > Signed-off-by: Davidlohr Bueso <dbueso@suse.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@suse.de>
-- Regards/Gruss, Boris.
ECO tip #101: Trim your mails when you reply. --
| |