linux-stable/drivers
Zev Weiss ea50ee0ef9 gpio: mockup: Fix mode of debugfs files
commit 0a1bb16e0f upstream.

This driver's debugfs files have had a read operation since commit
2a9e27408e ("gpio: mockup: rework debugfs interface"), but were
still being created with write-only mode bits.  Update them to
indicate that the files can also be read.

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Fixes: 2a9e27408e ("gpio: mockup: rework debugfs interface")
Cc: stable@kernel.org # v5.1+
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-30 12:57:57 +01:00
..
accessibility speakup: fix a segfault caused by switching consoles 2022-11-25 17:45:50 +01:00
acpi ACPICA: ACPICA: check null return of ACPI_ALLOCATE_ZEROED in acpi_db_display_objects 2023-05-30 12:57:48 +01:00
amba
android file: Rename __close_fd_get_file close_fd_get_file 2023-01-04 11:39:18 +01:00
ata ata: libata: Fix sata_down_spd_limit() when no link speed is reported 2023-02-15 17:22:13 +01:00
atm atm: idt77252: fix kmemleak when rmmod idt77252 2023-04-05 11:23:35 +02:00
auxdisplay
base regmap: cache: Return error in cache sync operations for REGCACHE_NONE 2023-05-30 12:57:47 +01:00
bcma
block null_blk: Always check queue mode setting from configfs 2023-05-30 12:57:49 +01:00
bluetooth Bluetooth: hci_bcm: Fall back to getting bdaddr from EFI if not set 2023-05-30 12:57:49 +01:00
bus bus: imx-weim: fix branch condition evaluates to a garbage value 2023-04-05 11:23:44 +02:00
cdrom
char tpm/tpm_tis: Disable interrupts for more Lenovo devices 2023-05-30 12:57:55 +01:00
clk clk: tegra20: fix gcc-7 constant overflow warning 2023-05-30 12:57:50 +01:00
clocksource clocksource/drivers/davinci: Fix memory leak in davinci_timer_register when init fails 2023-05-17 11:48:03 +02:00
connector
counter counter: 104-quad-8: Fix race condition between FLAG and CNTR reads 2023-05-17 11:47:28 +02:00
cpufreq cpufreq: armada-37xx: stop using 0 as NULL pointer 2023-02-01 08:23:17 +01:00
cpuidle cpuidle: psci: Iterate backwards over list in psci_pd_remove() 2023-03-22 13:30:05 +01:00
crypto crypto: sun8i-ss - Fix a test in sun8i_ss_setup_ivs() 2023-05-17 11:48:13 +02:00
dax dax/kmem: Fix leak of memory-hotplug resources 2023-03-11 16:40:04 +01:00
dca
devfreq PM/devfreq: governor: Add a private governor_data for governor 2023-01-14 10:16:31 +01:00
dio drivers: dio: fix possible memory leak in dio_init() 2023-01-14 10:15:54 +01:00
dma dmaengine: at_xdmac: do not enable all cyclic channels 2023-05-17 11:48:05 +02:00
dma-buf dma-buf: fix racing conflict of dma_heap_add() 2022-12-02 17:40:01 +01:00
edac EDAC/skx: Fix overflows on the DRAM row address mapping arrays 2023-05-17 11:47:39 +02:00
eisa
extcon
firewire firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region 2023-02-15 17:22:09 +01:00
firmware firmware: arm_sdei: Fix sleep from invalid context BUG 2023-05-30 12:57:48 +01:00
fpga fpga: bridge: fix kernel-doc parameter description 2023-05-17 11:47:55 +02:00
fsi WRITE is "data source", not destination... 2023-02-15 17:22:11 +01:00
gnss
gpio gpio: mockup: Fix mode of debugfs files 2023-05-30 12:57:57 +01:00
gpu drm/exynos: fix g2d_open/close helper function definitions 2023-05-30 12:57:52 +01:00
greybus
hid HID: wacom: add three styli to wacom_intuos_get_tool_type 2023-05-30 12:57:55 +01:00
hsi HSI: omap_ssi_core: Fix error handling in ssi_init() 2023-01-14 10:16:03 +01:00
hv Drivers: vmbus: Check for channel allocation before looking up relids 2023-04-20 12:10:21 +02:00
hwmon hwmon: (adt7475) Use device_property APIs when configuring polarity 2023-05-17 11:47:31 +02:00
hwspinlock
hwtracing coresight: etm_pmu: Set the module field 2023-05-17 11:47:57 +02:00
i2c i2c: cadence: cdns_i2c_master_xfer(): Fix runtime PM leak on error path 2023-05-17 11:47:58 +02:00
i3c
ide
idle
iio iio: light: max44009: add missing OF device matching 2023-05-17 11:47:55 +02:00
infiniband RDMA/core: Fix multiple -Warray-bounds warnings 2023-05-30 12:57:50 +01:00
input Input: xpad - add constants for GIP interface numbers 2023-05-30 12:57:50 +01:00
interconnect interconnect: qcom: osm-l3: fix icc_onecell_data allocation 2023-04-05 11:23:29 +02:00
iommu iommu/arm-smmu-v3: Acknowledge pri/event queue overflow if any 2023-05-30 12:57:50 +01:00
ipack
irqchip irq: Fix typos in comments 2023-03-17 08:45:07 +01:00
isdn mISDN: hfcmulti: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave() 2023-01-14 10:16:10 +01:00
leds leds: tca6507: Fix error handling of using fwnode_property_read_string 2023-05-17 11:48:04 +02:00
lightnvm
macintosh macintosh: via-pmu-led: requires ATA to be set 2023-05-17 11:48:00 +02:00
mailbox mailbox: zynqmp: Fix counts of child nodes 2023-05-17 11:48:09 +02:00
mcb mcb-pci: Reallocate memory region to avoid memory overlapping 2023-05-30 12:57:50 +01:00
md dm verity: fix error handling for check_at_most_once on FEC 2023-05-17 11:48:10 +02:00
media media: netup_unidvb: fix use-after-free at del_timer() 2023-05-30 12:57:52 +01:00
memory memory: mvebu-devbus: Fix missing clk_disable_unprepare in mvebu_devbus_probe() 2023-02-01 08:23:08 +01:00
memstick memstick: r592: Fix UAF bug in r592_remove due to race condition 2023-05-30 12:57:48 +01:00
message scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition 2023-05-30 12:57:49 +01:00
mfd mfd: dln2: Fix memory leak in dln2_probe() 2023-05-30 12:57:51 +01:00
misc vmci_host: fix a race condition in vmci_host_poll() causing GPF 2023-05-17 11:47:56 +02:00
mmc mmc: sdhci-of-esdhc: fix quirk to ignore command inhibit for data 2023-05-17 11:47:42 +02:00
most
mtd ubi: Fix return value overwrite issue in try_write_vid_and_data() 2023-05-17 11:47:35 +02:00
mux
net net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize 2023-05-30 12:57:56 +01:00
nfc nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition 2023-03-22 13:29:58 +01:00
ntb
nubus
nvdimm
nvme nvme-fcloop: fix "inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage" 2023-05-17 11:47:51 +02:00
nvmem nvmem: core: fix return value 2023-02-22 12:56:00 +01:00
of of: Fix modalias string generation 2023-05-17 11:47:56 +02:00
opp OPP: fix error checking in opp_migrate_dentry() 2023-03-11 16:39:26 +01:00
oprofile
parisc parisc: led: Fix potential null-ptr-deref in start_task() 2023-01-14 10:16:36 +01:00
parport
pci PCI/EDR: Clear Device Status after EDR error recovery 2023-05-17 11:47:57 +02:00
pcmcia
perf perf/smmuv3: Fix hotplug callback leak in arm_smmu_pmu_init() 2023-01-14 10:15:12 +01:00
phy phy: st: miphy28lp: use _poll_timeout functions for waits 2023-05-30 12:57:51 +01:00
pinctrl Revert "pinctrl: amd: Disable and mask interrupts on resume" 2023-04-20 12:10:24 +02:00
platform platform/x86: touchscreen_dmi: Add info for the Dexp Ursus KX210i 2023-05-17 11:48:14 +02:00
pnp PNP: fix name memory leak in pnp_alloc_dev() 2023-01-14 10:15:17 +01:00
power power: supply: generic-adc-battery: fix unit scaling 2023-05-17 11:48:01 +02:00
powercap powercap: fix possible name leak in powercap_register_zone() 2023-03-11 16:39:23 +01:00
pps
ps3
ptp ptp_qoriq: fix memory leak in probe() 2023-04-05 11:23:47 +02:00
pwm pwm: mtk-disp: Disable shadow registers before setting backlight values 2023-05-17 11:48:04 +02:00
rapidio rapidio: devices: fix missing put_device in mport_cdev_open 2023-01-14 10:15:23 +01:00
ras
regulator regulator: stm32-pwr: fix of_iomap leak 2023-05-17 11:47:45 +02:00
remoteproc remoteproc: stm32_rproc: Add mutex protection for workqueue 2023-05-30 12:57:48 +01:00
reset
rpmsg rpmsg: glink: Avoid infinite loop on intent for missing channel 2023-03-11 16:39:47 +01:00
rtc rtc: meson-vrtc: Use ktime_get_real_ts64() to get the current time 2023-05-17 11:48:01 +02:00
s390 s390/qdio: fix do_sqbs() inline assembly constraint 2023-05-30 12:57:55 +01:00
sbus
scsi scsi: storvsc: Don't pass unused PFNs to Hyper-V host 2023-05-30 12:57:53 +01:00
sfi
sh
siox
slimbus slimbus: stream: correct presence rate frequencies 2022-11-25 17:45:50 +01:00
soc soc: ti: pm33xx: Fix refcount leak in am33xx_pm_probe 2023-05-17 11:47:39 +02:00
soundwire soundwire: cadence: Drain the RX FIFO after an IO timeout 2023-03-11 16:40:18 +01:00
spi spi: fsl-cpm: Use 16 bit mode for large transfers with even size 2023-05-30 12:57:56 +01:00
spmi spmi: Add a check for remove callback when removing a SPMI driver 2023-05-17 11:47:59 +02:00
ssb
staging staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE 2023-05-30 12:57:50 +01:00
target scsi: target: iscsit: Free cmds before session free 2023-05-30 12:57:49 +01:00
tc
tee tee: amdtee: fix race condition in amdtee_open_session 2023-04-05 11:23:41 +02:00
thermal thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_thermal_probe 2023-05-17 11:48:05 +02:00
thunderbolt thunderbolt: Use const qualifier for ring_interrupt_index 2023-04-05 11:23:37 +02:00
tty serial: 8250_exar: Add support for USR298x PCI Modems 2023-05-30 12:57:55 +01:00
uio uio: uio_dmem_genirq: Fix deadlock between irq config and handling 2023-01-14 10:15:55 +01:00
usb usb: typec: altmodes/displayport: fix pin_assignment_show 2023-05-30 12:57:54 +01:00
vdpa vdpa/mlx5: Don't clear mr struct on destroy MR 2023-03-11 16:39:45 +01:00
vfio vfio/type1: prevent underflow of locked_vm via exec() 2023-03-11 16:40:07 +01:00
vhost vhost/net: Clear the pending messages when the backend is removed 2023-02-15 17:22:11 +01:00
video fbdev: arcfb: Fix error handling in arcfb_probe() 2023-05-30 12:57:46 +01:00
virt
virtio
visorbus
vlynq
vme vme: Fix error not catched in fake_init() 2023-01-14 10:16:00 +01:00
w1 w1: fix WARNING after calling w1_process() 2023-02-01 08:23:15 +01:00
watchdog watchdog: sp5100_tco: Immediately trigger upon starting. 2023-05-30 12:57:56 +01:00
xen ACPI: processor: Fix evaluating _PDC method when running as Xen dom0 2023-05-17 11:47:42 +02:00
zorro
Kconfig
Makefile