Re: [PATCH] gpio: rcar: Use new line value setter callbacks

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

 



>  	bankmask = mask[0] & GENMASK(chip->ngpio - 1, 0);
>  	if (!bankmask)
> -		return;
> +		return 0;

Doesn't that mean that the mask is invalid and we could return an error
here? Or is '!bankmask' an expected use-case?

Attachment: signature.asc
Description: PGP signature


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

  Powered by Linux