The test here is testing whether either variable is non-zero. While currently the test works fine, it's fragile. Replace it with logical OR to avoid the fragility. Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>master
| @@ -212,7 +212,7 @@ etna_link_shaders(struct etna_context *ctx, struct compiled_shader_state *cs, | |||
| cs->ps_inst_mem_size = fs->code_size; | |||
| cs->PS_INST_MEM = fs->code; | |||
| if (vs->needs_icache | fs->needs_icache) { | |||
| if (vs->needs_icache || fs->needs_icache) { | |||
| /* If either of the shaders needs ICACHE, we use it for both. It is | |||
| * either switched on or off for the entire shader processor. | |||
| */ | |||