On 3 April 2018 at 17:03, Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote: >> + if (!msgs || num < 1) >> + return -EINVAL; > > I think this case justifies WARN (or WARN_ON, I always mix them up). > OK.
On 3 April 2018 at 17:03, Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote: >> + if (!msgs || num < 1) >> + return -EINVAL; > > I think this case justifies WARN (or WARN_ON, I always mix them up). > OK.