aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/machxo2-spi.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-02-14 08:48:28 +0000
committerGreg Kroah-Hartman <[email protected]>2024-02-17 15:20:41 +0000
commit2444a80c1cc2c4240f60f2162abef3797c1803de (patch)
tree2a977ffce3acb403fba8704d50edacb7681dcf3e /drivers/fpga/machxo2-spi.c
parentworkqueue: make wq_subsys const (diff)
downloadkernel-2444a80c1cc2c4240f60f2162abef3797c1803de.tar.gz
kernel-2444a80c1cc2c4240f60f2162abef3797c1803de.zip
kobject: make uevent_seqnum atomic
We will soon no longer acquire uevent_sock_mutex for most kobject_uevent_net_broadcast() calls, and also while calling uevent_net_broadcast(). Make uevent_seqnum an atomic64_t to get its own protection. This fixes a race while reading /sys/kernel/uevent_seqnum. Signed-off-by: Eric Dumazet <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Christian Brauner <[email protected]> Reviewed-by: Christian Brauner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions