]> git.proxmox.com Git - mirror_qemu.git/commit - scripts/checkpatch.pl
checkpatch: fix premature exit when no input or --mailback
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 29 Nov 2018 08:30:59 +0000 (09:30 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Jan 2019 12:57:23 +0000 (13:57 +0100)
commit1ff7ebf33b67b4ec7ea663827e74fe54ac469618
tree71b6ab1e88cb6382cf37cef79b74b0833822021d
parent98e56ae6798cc5f5e432e8d93d5d18ebdeb7e496
checkpatch: fix premature exit when no input or --mailback

In some cases, checkpatch's process subroutine is exiting the
whole process.  This is wrong, just return from the subroutine
instead.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/checkpatch.pl