The switch driver actually expects every port to have a PHY handle, and
several branches in the code determine if a port is valid by checking
for a non-zero phy field.
Signed-off-by: Jan Hoffmann
---
target/linux/realtek/dts-5.10/rtl8380_hpe_1920-8g.dts | 2 ++
target/linux/realtek/dts-5.15/rtl8
Avoid gcc-12.x false error reporting (req->complete is later reset to NULL
in case of use of local complete):
dev.c:217:23: error: storing the address of local variable 'complete' in
'*req.complete' [-Werror=dangling-pointer=]
217 | req->complete = &complete;
| ~
Hauke Mehrtens [2023-03-09 00:18:10]:
Hi,
thanks for taking care, LGTM for a start.
I'll just provide my past experience, something to consider as we're likely
going to bump into those in the long term, so ideally take them into the
account in the long term.
> clang 14 generates debug informat
Hauke Mehrtens [2023-03-09 00:18:09]:
Hi,
> It looks like libfuzzer is compiled using libstd++ on Debian Bookworm
> and not libc++. Using libc++ causes linking errors, use libstd++
> instead.
so maybe this should be detected and decided at runtime? Otherwise this seems
to just support Bookworm