> 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