]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
eventfd: simplify eventfd_signal()
authorChristian Brauner <brauner@kernel.org>
Wed, 22 Nov 2023 12:48:23 +0000 (13:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:11:23 +0000 (15:11 +0200)
commitde568a5148f59d93025520754004ab8823ba675f
tree0ff5665bac9231f8476564dc295c99aa733bdb8b
parent6ef912f179f6ed529d6f6aff61b440a21a86973a
eventfd: simplify eventfd_signal()

[ Upstream commit 3652117f854819a148ff0fbe4492587d3520b5e5 ]

Ever since the eventfd type was introduced back in 2007 in commit
e1ad7468c77d ("signal/timer/event: eventfd core") the eventfd_signal()
function only ever passed 1 as a value for @n. There's no point in
keeping that additional argument.

Link: https://lore.kernel.org/r/20231122-vfs-eventfd-signal-v2-2-bd549b14ce0c@kernel.org
Acked-by: Xu Yilun <yilun.xu@intel.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com> # ocxl
Acked-by: Eric Farman <farman@linux.ibm.com> # s390
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Stable-dep-of: 675daf435e9f ("vfio/platform: Create persistent IRQ handlers")
Signed-off-by: Sasha Levin <sashal@kernel.org>
30 files changed:
arch/x86/kvm/hyperv.c
arch/x86/kvm/xen.c
drivers/accel/habanalabs/common/device.c
drivers/fpga/dfl.c
drivers/gpu/drm/drm_syncobj.c
drivers/gpu/drm/i915/gvt/interrupt.c
drivers/infiniband/hw/mlx5/devx.c
drivers/misc/ocxl/file.c
drivers/s390/cio/vfio_ccw_chp.c
drivers/s390/cio/vfio_ccw_drv.c
drivers/s390/cio/vfio_ccw_ops.c
drivers/s390/crypto/vfio_ap_ops.c
drivers/usb/gadget/function/f_fs.c
drivers/vdpa/vdpa_user/vduse_dev.c
drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c
drivers/vfio/pci/vfio_pci_core.c
drivers/vfio/pci/vfio_pci_intrs.c
drivers/vfio/platform/vfio_platform_irq.c
drivers/vhost/vdpa.c
drivers/vhost/vhost.c
drivers/vhost/vhost.h
drivers/virt/acrn/ioeventfd.c
drivers/xen/privcmd.c
fs/aio.c
fs/eventfd.c
include/linux/eventfd.h
mm/memcontrol.c
mm/vmpressure.c
samples/vfio-mdev/mtty.c
virt/kvm/eventfd.c