Hi Greg,
The following will be needed for the gcc-12 builds:
ee3db469dd31 ("wifi: rtlwifi: remove always-true condition pointed out by GCC 12") 32329216ca1d ("eth: sun: cassini: remove dead code") dbbc7d04c549 ("net: wwan: iosm: remove pointless null check")
With this 3 applied on top of v5.18.6-rc1 allmodconfig for x86_64, riscv and mips passes. (not checked other arch yet)
Will request you to add these to 5.18-stable queue please.
-- Regards Sudip