> + if (!msgs || num < 1) > + return -EINVAL; I think this case justifies WARN (or WARN_ON, I always mix them up).
Attachment:
signature.asc
Description: PGP signature
> + if (!msgs || num < 1) > + return -EINVAL; I think this case justifies WARN (or WARN_ON, I always mix them up).
Attachment:
signature.asc
Description: PGP signature