openwrt/package/kernel
Petr Štetiar 03455e79d7
qca-nss-dp: fix oops in nss_dp_probe
Currently kernel crashes when of_phy_connect has issues:

 Unable to handle kernel access to user memory outside uaccess routines at virtual address 0000000000000308
 ...
 pc : phy_attached_print+0x28/0x1b0
 lr : phy_attached_info+0x14/0x20
 ...
 Call trace:
  phy_attached_print+0x28/0x1b0
  phy_attached_info+0x14/0x20
  nss_dp_adjust_link+0x544/0x6c4 [qca_nss_dp]

of_phy_connect returns either pointer or NULL, so can't be checked with
IS_ERR macro.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 38c7cf0e69)
2023-06-12 22:10:18 +02:00
..
ath10k-ct treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
bcm27xx-gpu-fw bcm27xx-gpu-fw: update to latest version 2022-05-17 15:11:22 +02:00
bcm63xx-cfe bcm63xx-cfe: update to the latest master 2021-06-22 13:27:41 +02:00
bpf-headers bpf-headers: fix package category 2023-03-04 17:18:56 +01:00
broadcom-wl kernel: broadcom-wl: multiple fix to make the package compilable again 2023-05-12 03:15:45 +02:00
button-hotplug button-hotplug: simplify build 2022-10-24 20:49:34 +02:00
cryptodev-linux treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
dtc/patches package: kernel: dtc: Add DTO support 2017-11-06 16:39:41 +01:00
gpio-button-hotplug gpio-button-hotplug: do not error on interrupt attached keys 2023-05-18 17:11:43 +02:00
gpio-nct5104d kernel: gpio-nct5104d: drop unused variables in nct5104d_gpio_init 2023-05-12 03:15:35 +02:00
lantiq treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
leds-ws2812b kernel: add driver package for WS2812B LEDs 2022-12-16 21:41:57 +08:00
linux kernel: add mdio-bus-mux support 2023-06-12 22:10:11 +02:00
mac80211 mac80211: ath11k: sync with ath-next 2023-06-12 22:10:16 +02:00
mt76 mt76: add MT7981 firmware packages 2023-05-18 01:44:31 +02:00
mt7621-qtn-rgmii mt7621-qtn-rgmii: enable RGMII connected Quantenna QV840 2020-07-08 16:07:05 +02:00
mwlwifi kernel: mwlwifi: add patch fixing compilation warning on 64bit systems 2023-05-12 03:15:44 +02:00
nat46 nat46: bump to latest git HEAD 2023-05-12 03:15:33 +02:00
qca-nss-dp qca-nss-dp: fix oops in nss_dp_probe 2023-06-12 22:10:18 +02:00
qca-ssdk kernel: qca-ssdk: backport support for building as kernel module 2023-05-23 23:52:58 +02:00
rtc-rv5c386a kernel: Make use of KERNEL_MAKE 2022-12-17 20:12:31 +01:00
rtl8812au-ct rtl8812au-ct: Ignore address errors 2023-01-09 00:23:22 +01:00
trelay package: drop PKG_VERSION for purely local packages 2020-07-15 18:33:56 +02:00
ubnt-ledbar ubnt-ledbar: depend on mediatek and ramips subtargets 2023-06-08 15:33:14 +02:00