lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170130183920.12476-1-fabf@skynet.be>
Date:   Mon, 30 Jan 2017 19:39:20 +0100
From:   Fabian Frederick <fabf@...net.be>
To:     Andrew Morton <akpm@...ux-foundation.org>
Cc:     linux-kernel@...r.kernel.org, linux-s390@...r.kernel.org,
        linux-pm@...r.kernel.org, openipmi-developer@...ts.sourceforge.net,
        dri-devel@...ts.freedesktop.org, linux-media@...r.kernel.org,
        linux-ext4@...r.kernel.org, linux-xfs@...r.kernel.org,
        kgdb-bugreport@...ts.sourceforge.net,
        Akinobu Mita <akinobu.mita@...il.com>,
        Fabian Frederick <fabf@...net.be>
Subject: [PATCH 00/14] use atomic_dec_not_zero()

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()
  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(-)

-- 
2.9.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ