Loading sound/soc/soc-core.c +3 −3 Original line number Diff line number Diff line Loading @@ -3631,9 +3631,9 @@ int snd_soc_of_parse_audio_routing(struct snd_soc_card *card, int i, ret; num_routes = of_property_count_strings(np, propname); if (num_routes & 1) { if (num_routes < 0 || num_routes & 1) { dev_err(card->dev, "Property '%s's length is not even\n", "Property '%s' does not exist or its length is not even\n", propname); return -EINVAL; } Loading Loading
sound/soc/soc-core.c +3 −3 Original line number Diff line number Diff line Loading @@ -3631,9 +3631,9 @@ int snd_soc_of_parse_audio_routing(struct snd_soc_card *card, int i, ret; num_routes = of_property_count_strings(np, propname); if (num_routes & 1) { if (num_routes < 0 || num_routes & 1) { dev_err(card->dev, "Property '%s's length is not even\n", "Property '%s' does not exist or its length is not even\n", propname); return -EINVAL; } Loading