On 08/03/2016 05:37 AM, Markus Armbruster wrote: > Commit 5d596c2's regexp assumes the error message string is the first > argument. Correct for error_report(), wrong for all the others. > Relax the regexp to match newline in anywhere. This might cause > additional false positives.
Might, but those are still rare enough that we don't have to worry about it unless someone actually hits such a false positive. > > While there, update the list of error_reporting functions. > > Cc: Jason J. Herne <jjhe...@linux.vnet.ibm.com> > Signed-off-by: Markus Armbruster <arm...@redhat.com> > --- > scripts/checkpatch.pl | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature