c
< 	if (!propname)
---
> 	if (!propname) {
> 		ret = -ENOMEM;
> 		goto out;
> 	} else {
> 		/* Continue with the rest of the function */
> 	}
