--- zzzz-none-000/linux-3.10.107/arch/mips/pmcs-msp71xx/msp_prom.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/mips/pmcs-msp71xx/msp_prom.c 2021-02-04 17:41:59.000000000 +0000 @@ -295,7 +295,7 @@ while (*var) { if (strncmp(env_name, *var, i) == 0) { - return (*var + strlen(env_name) + 1); + return *var + strlen(env_name) + 1; } var++; }