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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Em Mon, 30 Jan 2017 19:39:20 +0100
Fabian Frederick <fabf@xxxxxxxxx> 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 <mchehab@xxxxxxxxxxxxxxxx>

>   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



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux