Re: [PATCH v3 10/42] arm64/sve: Make sysctl interface for SVE reusable by SME

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux