[PATCH -next] ASoC: rt1019: make symbol 'rt1019_i2c_driver' static

2021-03-19 Thread 'w00385741
From: Wei Yongjun The sparse tool complains as follows: sound/soc/codecs/rt1019.c:927:19: warning: symbol 'rt1019_i2c_driver' was not declared. Should it be static? This symbol is not used outside of rt1019.c, so this commit marks it static. Fixes: 7ec79d3850d0 ("ASoC: rt1019: add rt1019

[PATCH -next] phy: sparx5_serdes: Fix return value check in sparx5_serdes_probe()

2021-03-18 Thread 'w00385741
From: Wei Yongjun In case of error, the function devm_ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: 2ff8a1eeb5aa ("phy: Add Sparx5 ethernet serdes PHY driver") Reported-by: Hulk Robot Signed-off-by: Wei