On Mon, 17 Jul 2017 10:11:52 +0200 Ladi Prosek <lpro...@redhat.com> wrote:
> Two more error functions that should not contain newlines. > > Suggested-by: Greg Kurz <gr...@kaod.org> > Signed-off-by: Ladi Prosek <lpro...@redhat.com> > --- Reviewed-by: Greg Kurz <gr...@kaod.org> > scripts/checkpatch.pl | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > index 4e91122..2cd2713 100755 > --- a/scripts/checkpatch.pl > +++ b/scripts/checkpatch.pl > @@ -2540,7 +2540,9 @@ sub process { > info_vreport| > error_report| > warn_report| > - info_report}x; > + info_report| > + virtio_error| > + virtqueue_error}x; > > if ($rawline =~ /\b(?:$qemu_error_funcs)\s*\(.*\".*\\n/) { > ERROR("Error messages should not contain newlines\n" . > $herecurr);
pgpVe7GaNgiiA.pgp
Description: OpenPGP digital signature