On Thu, Oct 21, 2021 at 10:55:51AM +0100, Will Deacon wrote:
On Tue, Oct 19, 2021 at 06:22:15PM +0100, Mark Brown wrote:
- if (!info)
return -EINVAL;
Is this check actually needed? If so, you've already dereferenced the pointer.
It's redundant, just defensiveness.