summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle/err-bad-newline.cocci
Commit message (Collapse)AuthorAgeFilesLines
* coccinelle/err-bad-newline: Fix for Python 3, and add patternsMarkus Armbruster2020-07-241-2/+22
| | | | | | Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200722084048.1726105-2-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
* error: Strip trailing '\n' from error string arguments (again)Markus Armbruster2016-08-081-0/+29
Commit 9af9e0f, 6daf194d, be62a2eb and 312fd5f got rid of a bunch, but they keep coming back. checkpatch.pl tries to flag them since commit 5d596c2, but it's not very good at it. Offenders tracked down with Coccinelle script scripts/coccinelle/err-bad-newline.cocci, an updated version of the script from commit 312fd5f. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1470224274-31522-2-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>