]> git.proxmox.com Git - mirror_qemu.git/commit - scripts/checkpatch.pl
checkpatch: tweak "struct should normally be const" warning
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Oct 2016 08:45:45 +0000 (10:45 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Nov 2016 15:06:57 +0000 (16:06 +0100)
commite20e718cdea2527ce560a03c5d8cd248decb537a
tree3ef3fde0a028fbc7c357b3db8ef31b4e9924b345
parent39542105bbb19c690219d2f22844d8dfbd9bba05
checkpatch: tweak "struct should normally be const" warning

Avoid triggering on

    typedef struct BlockJobDriver BlockJobDriver;

or

    struct BlockJobDriver {

Cc: John Snow <jsnow@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/checkpatch.pl