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