android_kernel_sony_sdm845/drivers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dinh Nguyen edba120f09 net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
[ Upstream commit a6aaa00324240967272b451bfa772547bd576ee6 ]

When using a fixed-link, the altr_tse_pcs driver crashes
due to null-pointer dereference as no phy_device is provided to
tse_pcs_fix_mac_speed function. Fix this by adding a check for
phy_dev before calling the tse_pcs_fix_mac_speed() function.

Also clean up the tse_pcs_fix_mac_speed function a bit. There is
no need to check for splitter_base and sgmii_adapter_base
because the driver will fail if these 2 variables are not
derived from the device tree.

Fixes: fb3bbdb859 ("net: ethernet: Add TSE PCS support to dwmac-socfpga")
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-20 09:06:45 +02:00
..
accessibility
acpi ACPI: CPPC: Avoid out of bounds access when parsing _CPC data 2022-04-20 09:06:40 +02:00
amba ARM: 9120/1: Revert "amba: make use of -1 IRQs warn" 2021-11-12 13:18:01 +01:00
android binder: use wake_up_pollfree() 2021-12-14 10:04:48 +01:00
ata ata: pata_hpt37x: fix PCI clock detection 2022-03-08 19:00:57 +01:00
atm atm: eni: Add check for dma_map_single 2022-03-23 09:00:34 +01:00
auxdisplay auxdisplay: img-ascii-lcd: Fix lock-up when displaying empty string 2021-11-26 11:48:38 +01:00
base PM: core: keep irq flags in device_pm_check_callbacks() 2022-04-20 09:06:38 +02:00
bcma bcma: Fix memory leak for internally-handled cores 2021-09-22 11:43:02 +02:00
block drbd: Fix five use after free bugs in get_initial_state 2022-04-20 09:06:44 +02:00
bluetooth Bluetooth: bfusb: fix division by zero in send path 2022-01-27 08:47:30 +01:00
bus bus: qcom: Put child node before return 2021-05-22 10:40:23 +02:00
cdrom cdrom: gdrom: initialize global variable at init time 2021-05-26 11:29:07 +02:00
char virtio_console: eliminate anonymous module_init & module_exit 2022-04-20 09:06:43 +02:00
clk clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver 2022-04-20 09:06:37 +02:00
clocksource clocksource: acpi_pm: fix return value of __setup handler 2022-04-20 09:06:31 +02:00
connector
cpufreq cpufreq: schedutil: Destroy mutex before kobject_put() frees the memory 2021-10-06 10:23:41 +02:00
cpuidle cpuidle: Fix kobject memory leaks in error paths 2021-11-26 11:48:33 +01:00
crypto crypto: ccp - ccp_dmaengine_unregister release dma channels 2022-04-20 09:06:31 +02:00
dax
dca
devfreq PM / devfreq: tegra30: Fix integer overflow on CPU's freq max out 2020-10-01 20:40:02 +02:00
dio
dma dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error" 2022-04-20 09:06:44 +02:00
dma-buf
edac EDAC: Fix calculation of returned address and next offset in edac_align_ptr() 2022-02-23 11:56:41 +01:00
eisa
extcon extcon: max8997: Add missing modalias string 2021-07-20 16:21:05 +02:00
firewire firewire: nosy: Fix a use-after-free bug in nosy_ioctl() 2021-04-07 12:05:40 +02:00
firmware arm/arm64: smccc/psci: add arm_smccc_1_1_get_conduit() 2022-03-11 10:03:31 +01:00
fmc
fpga
gpio gpio: ts4900: Do not set DAT and OE together 2022-03-16 12:49:01 +01:00
gpu drm/imx: Fix memory leak in imx_pd_connector_get_modes 2022-04-20 09:06:43 +02:00
hid HID: i2c-hid: fix GET/SET_REPORT for unnumbered reports 2022-04-20 09:06:34 +02:00
hsi HSI: core: Fix return freed object in hsi_new_client 2022-01-27 08:47:37 +01:00
hv hyperv/vmbus: include linux/bitops.h 2021-11-26 11:48:20 +01:00
hwmon hwmon: (pmbus) Add Vin unit off handling 2022-04-20 09:06:31 +02:00
hwspinlock
hwtracing coresight: Fix TRCCONFIGR.QE sysfs interface 2022-04-20 09:06:28 +02:00
i2c i2c: mux: demux-pinctrl: do not deactivate a master that is not active 2022-04-20 09:06:36 +02:00
ide block: Move SECTOR_SIZE and SECTOR_SHIFT definitions into <linux/blkdev.h> 2020-09-12 11:47:36 +02:00
idle
iio iio: adc: Add check for devm_request_threaded_irq 2022-04-20 09:06:36 +02:00
infiniband RDMA/ib_srp: Fix a deadlock 2022-03-02 11:32:03 +01:00
input Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads" 2022-04-20 09:06:29 +02:00
iommu iommu/arm-smmu-v3: fix event handling soft lockup 2022-04-20 09:06:42 +02:00
ipack ipack: ipoctal: fix module reference leak 2021-10-06 10:23:42 +02:00
irqchip irqchip/nvic: Release nvic_base upon failure 2022-04-20 09:06:38 +02:00
isdn mISDN: change function names to avoid conflicts 2022-01-11 13:38:13 +01:00
leds leds: ktd2692: Fix an error handling path 2021-07-20 16:21:05 +02:00
lguest
lightnvm
macintosh
mailbox
mcb mcb: fix error handling in mcb_alloc_bus() 2021-10-06 10:23:39 +02:00
md dm ioctl: prevent potential spectre v1 gadget 2022-04-20 09:06:42 +02:00
media media: hdpvr: initialize dev->worker at hdpvr_register_videodev 2022-04-20 09:06:40 +02:00
memory memory: emif: check the pointer temp in get_device_details() 2022-04-20 09:06:33 +02:00
memstick memstick: jmb38x_ms: use appropriate free function in jmb38x_ms_alloc_host() 2021-11-26 11:48:34 +01:00
message scsi: mptfusion: Fix null pointer dereferences in mptscsih_remove() 2020-11-10 10:23:57 +01:00
mfd mfd: asic3: Add missing iounmap() on error asic3_mfd_probe 2022-04-20 09:06:36 +02:00
misc kgdbts: fix return value of __setup handler 2022-04-20 09:06:37 +02:00
mmc mmc: host: Return an error when ->enable_sdio_irq() ops is missing 2022-04-20 09:06:40 +02:00
mtd ubi: fastmap: Return error code if memory allocation fails in add_aeb() 2022-04-20 09:06:41 +02:00
net net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link 2022-04-20 09:06:45 +02:00
nfc nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION 2022-03-28 08:06:05 +02:00
ntb NTB: hw: amd: fix an issue about leak system resources 2020-10-29 09:05:41 +01:00
nubus
nvdimm libnvdimm/dimm: Avoid race between probe and available_slots_show() 2021-03-03 17:44:44 +01:00
nvme nvme-pci: Fix an error handling path in 'nvme_probe()' 2021-09-22 11:42:57 +02:00
nvmem nvmem: Fix shift-out-of-bound (UBSAN) with byte size cells 2021-10-27 09:33:58 +02:00
of of: Fix truncation of memory sizes on 32-bit platforms 2021-07-20 16:21:05 +02:00
oprofile
parisc parisc: Fix sglist access in ccio-dma.c 2022-02-23 11:56:39 +01:00
parport parport: remove non-zero check on count 2021-09-22 11:43:07 +02:00
pci PCI: pciehp: Clear cmd_busy bit in polling mode 2022-04-20 09:06:30 +02:00
pcmcia pcmcia: fix setting of kthread task states 2022-01-27 08:47:35 +01:00
perf
phy phy: ti: dm816x: Fix the error handling path in 'dm816x_usb_phy_probe() 2021-07-20 16:21:05 +02:00
pinctrl pinctrl: pinconf-generic: Print arguments for bias-pull-* 2022-04-20 09:06:40 +02:00
platform platform/x86: apple-gmux: use resource_size() with res 2022-01-05 12:31:24 +01:00
pnp
power power: supply: wm8350-power: Add missing free in free_charger_irq 2022-04-20 09:06:35 +02:00
powercap powercap: restrict energy meter to root access 2020-11-10 21:04:57 +01:00
pps
ps3 powerpc/ps3: use dma_mapping_error() 2020-12-29 13:45:00 +01:00
ptp ptp: replace snprintf with sysfs_emit 2022-04-20 09:06:42 +02:00
pwm pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add() 2022-04-20 09:06:36 +02:00
rapidio rapidio: handle create_workqueue() failure 2021-05-26 11:29:06 +02:00
ras
regulator regulator: s5m8767: do not use reset value as DVS voltage if GPIO DVS is disabled 2021-11-26 11:48:22 +01:00
remoteproc remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region 2022-04-20 09:06:36 +02:00
reset reset: ti-syscon: fix to_ti_syscon_reset_data macro 2021-07-28 09:14:24 +02:00
rpmsg
rtc rtc: wm8350: Handle error for wm8350_register_irq 2022-04-20 09:06:41 +02:00
s390 scsi: zfcp: Fix failed recovery on gone remote port with non-NPIV FCP devices 2022-02-08 18:15:26 +01:00
sbus
scsi scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one() 2022-04-20 09:06:43 +02:00
sfi
sh maple: fix wrong return value of maple_bus_init(). 2021-11-26 11:48:41 +01:00
sn
soc soc: ti: wkup_m3_ipc: Fix IRQ check in wkup_m3_ipc_probe 2022-04-20 09:06:32 +02:00
spi spi: tegra20: Use of_device_get_match_data() 2022-04-20 09:06:38 +02:00
spmi
ssb ssb: sdio: Don't overwrite const buffer if block_write fails 2021-07-20 16:20:57 +02:00
staging staging: fbtft: fb_st7789v: reset display before initialization 2022-03-28 08:06:05 +02:00
target scsi: target: iscsi: Make sure the np under each tpg is unique 2022-02-16 12:43:53 +01:00
tc
thermal thermal: int340x: Increase bitmap size 2022-04-20 09:06:30 +02:00
thunderbolt
tty serial: samsung_tty: do not unlock port->lock for uart_write_wakeup() 2022-04-20 09:06:43 +02:00
uio
usb usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm 2022-04-20 09:06:42 +02:00
uwb
vfio vfio: Use config not menuconfig for VFIO_NOIOMMU 2021-09-22 11:43:04 +02:00
vhost vhost/vsock: don't check owner in vhost_vsock_stop() while releasing 2022-03-02 11:32:00 +01:00
video video: fbdev: sm712fb: Fix crash in smtcfb_write() 2022-04-20 09:06:40 +02:00
virt drivers/virt/fsl_hypervisor: Fix error handling path 2020-10-29 09:05:35 +01:00
virtio virtio_pci: Support surprise removal of virtio pci device 2022-01-11 13:38:11 +01:00
vlynq
vme
w1 w1: w1_therm: fixes w1_seq for ds28ea00 sensors 2022-04-20 09:06:43 +02:00
watchdog watchdog: f71808e_wdt: fix inaccurate report in WDIOC_GETTIMEOUT 2021-11-26 11:48:38 +01:00
xen xen/gnttab: fix gnttab_end_foreign_access() without page specified 2022-03-11 10:03:33 +01:00
zorro
Kconfig
Makefile