checkpatch: Exempt long URLs
commit205f31a81adbd06830f2048ec00d729ebd67efa6
authorEric Blake <eblake@redhat.com>
Thu, 22 Feb 2018 21:58:38 +0000 (22 15:58 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 12 Mar 2018 15:12:46 +0000 (12 16:12 +0100)
tree2e184da4e70d5dcfa9345e9e3ee603f195678382
parent7eceff5b5a1faa394929cacfd3520caa5b3edf42
checkpatch: Exempt long URLs

Sometimes, we want to refer to really long URLs, but checkpatch
balks, and we have to manually bypass the check.  URL shorteners
may be nice at reducing long links, but it's hard to guarantee the
shortened link will live as long as the real target, and it is
also nice to see the original target without having to load the
shortened URL through a browser.  So exempt a line containing
only a URL from the long-line syntax check.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180222215838.18223-1-eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/checkpatch.pl