OSDN Git Service

checkpatch: emit a warning on file add/move/delete
authorJoe Perches <joe@perches.com>
Mon, 30 Apr 2018 12:46:50 +0000 (13:46 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 10 May 2018 09:41:16 +0000 (10:41 +0100)
commit4be6131e32990bc27a2018b805210ed2c80cb5fc
tree7ca070557f9bc4763318fb0c3b90c7d7aa965a9a
parent5fc7e4047ebafc9f04f75a5d697234f7f0816455
checkpatch: emit a warning on file add/move/delete

Whenever files are added, moved, or deleted, the MAINTAINERS file
patterns can be out of sync or outdated.

To try to keep MAINTAINERS more up-to-date, add a one-time warning
whenever a patch does any of those.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20180430124651.10340-5-stefanha@redhat.com
(cherry picked from commit 13f1937ef33950b1112049972249e6191b82e6c9)
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Conflicts:
  QEMU WARN() only takes one argument, drop the 'type' value in the
  first argument.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
scripts/checkpatch.pl