openwrt/package
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
..
base-files base-files: enable BPF JIT kallsyms by default 2023-06-09 13:20:05 +02:00
boot uboot-mediatek: adapt BPi-R3 and BPi-R64 to new device tree overlay 2023-06-09 19:23:03 +01:00
devel valgrind: update to 3.21.0 2023-06-09 13:25:34 +02:00
firmware ls-dpl: update source.codeaurora.org repository link 2023-06-11 18:56:52 +02:00
kernel qca-nss-dp: fix oops in nss_dp_probe 2023-06-12 22:10:18 +02:00
libs libubox: update to the latest version 2023-06-12 22:10:18 +02:00
network unetd: update to the latest version 2023-06-12 22:10:17 +02:00
system selinux-policy: update to 1.2.5 2023-05-31 23:10:06 +02:00
utils busybox: update to 1.36.1 2023-05-24 19:26:32 +01:00
Makefile build: generate index.json 2023-05-09 23:56:49 +02:00