diff options
author | Petr Štetiar <ynezz@true.cz> | 2023-05-29 19:27:15 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2023-06-12 22:10:18 +0200 |
commit | 03455e79d7a4a0da5399618851168dfadebf416e (patch) | |
tree | 383a6141b19cbc651c1d78def2b20c59d86a9939 /package/firmware/linux-firmware/marvell.mk | |
parent | c6531042da2afc6b9601c05a4dc8bacde4780bc2 (diff) | |
download | upstream-03455e79d7a4a0da5399618851168dfadebf416e.tar.gz upstream-03455e79d7a4a0da5399618851168dfadebf416e.tar.bz2 upstream-03455e79d7a4a0da5399618851168dfadebf416e.zip |
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 38c7cf0e69aeefdec44d513307732e4daf7d9794)
Diffstat (limited to 'package/firmware/linux-firmware/marvell.mk')
0 files changed, 0 insertions, 0 deletions