8 Feb
2019
8 Feb
'19
2:10 p.m.
On Fri, Feb 08, 2019 at 08:40:17AM +0100, Guennadi Liakhovetski wrote:
This doesn't build:
if (ret) { dev_err(component->dev, "Failed to enable supplies: %d\n", ret);
goto err_reg_get;
}retturn ret;
sound/soc/codecs/wm8995.c: In function ‘wm8995_probe’: sound/soc/codecs/wm8995.c:2043:3: error: unknown type name ‘retturn’ retturn ret; ^~~~~~~ sound/soc/codecs/wm8995.c:2043:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] sound/soc/codecs/wm8995.c:2043:11: warning: unused variable ‘ret’ [-Wunused-variable] retturn ret; ^~~