Thread (2 messages) 2 messages, 2 authors, 2017-02-08

Re: [PATCH 00/14] use atomic_dec_not_zero()

From: Mauro Carvalho Chehab <hidden>
Date: 2017-02-08 12:28:18
Also in: dri-devel, linux-media, linux-pm, linux-s390, linux-xfs, lkml

Em Mon, 30 Jan 2017 19:39:20 +0100
Fabian Frederick [off-list ref] escreveu:
complementary definition to atomic_inc_not_zero() featured in
lib/fault-inject.c. This small patchset moves it to
include/linux/atomic.h using it instead of
atomic_add_unless(value, -1, 0)

s390 patches were not compile-tested.

Fabian Frederick (14):
  locking/atomic: import atomic_dec_not_zero()
  drm/exynos: use atomic_dec_not_zero()
  drm/omap: use atomic_dec_not_zero()
  m5mols: use atomic_dec_not_zero()
  omap3isp: use atomic_dec_not_zero()
For the media changes:

Acked-by: Mauro Carvalho Chehab <redacted>
  s390/qeth: use atomic_dec_not_zero()
  PM / RUNTIME: use atomic_dec_not_zero()
  ipmi: use atomic_dec_not_zero()
  kdb: use atomic_dec_not_zero()
  PM / Hibernate: use atomic_dec_not_zero()
  PM: use atomic_dec_not_zero()
  s390/topology: use atomic_dec_not_zero()
  ext4: use atomic_dec_not_zero()
  xfs: use atomic_dec_not_zero()

 arch/s390/kernel/topology.c               | 2 +-
 drivers/base/power/runtime.c              | 4 ++--
 drivers/char/ipmi/ipmi_msghandler.c       | 2 +-
 drivers/gpu/drm/exynos/exynos_drm_fimd.c  | 2 +-
 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c  | 2 +-
 drivers/media/i2c/m5mols/m5mols_core.c    | 2 +-
 drivers/media/platform/omap3isp/ispstat.c | 2 +-
 drivers/s390/net/qeth_core_main.c         | 2 +-
 fs/ext4/ext4.h                            | 2 +-
 fs/xfs/xfs_buf.c                          | 2 +-
 include/linux/atomic.h                    | 2 ++
 kernel/debug/kdb/kdb_main.c               | 2 +-
 kernel/power/hibernate.c                  | 4 ++--
 kernel/power/user.c                       | 2 +-
 lib/fault-inject.c                        | 2 --
 15 files changed, 17 insertions(+), 17 deletions(-)


Thanks,
Mauro
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help