OSDN Git Service

checkpatch: volatile with a comment or sig_atomic_t is okay
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 15 Dec 2017 18:18:10 +0000 (19:18 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Dec 2017 08:30:32 +0000 (09:30 +0100)
commit6b012d2311e5ba0a952c2dcfe4327a73353c9fdb
treee97af7e0b8f43fda523ca0d8dfadf58265fdf3b0
parentb8c7723440324a7822acdb0b6f35c7ccb791862a
checkpatch: volatile with a comment or sig_atomic_t is okay

This assumes that the comment gives some justification;
"volatile sig_atomic_t" is also self-explanatory and usually
correct.

Discussed in:
'[Qemu-devel] [PATCH] dump-guest-memory.py: fix "You can't do that without a process to debug"'

Suggested-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20171215181810.4122-1-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/checkpatch.pl