]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi/watchdog: replace atomic_add() and atomic_sub()
authorYejune Deng <yejune.deng@gmail.com>
Mon, 16 Nov 2020 07:30:07 +0000 (15:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:32:52 +0000 (08:32 +0100)
commit78b2423b1664dc55482fd4ebc4d6e32c5851de69
treec8c2f93b227f840278a3fcb2b4b0eedf23e6e31e
parent0023a4fd373af417853dfee2b6969c9c52b5d418
ipmi/watchdog: replace atomic_add() and atomic_sub()

commit 970c9ec29a27b22b33c402f5d4fd62133d9899ac upstream.

atomic_inc() and atomic_dec() looks better

Signed-off-by: Yejune Deng <yejune.deng@gmail.com>
Message-Id: <1605511807-7135-1-git-send-email-yejune.deng@gmail.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/ipmi/ipmi_watchdog.c