]> git.proxmox.com Git - mirror_ovs.git/commit
checkpatch: Implement -f option more usefully.
authorBen Pfaff <blp@ovn.org>
Fri, 26 May 2017 18:22:36 +0000 (11:22 -0700)
committerBen Pfaff <blp@ovn.org>
Wed, 31 May 2017 15:56:49 +0000 (08:56 -0700)
commit95bd35d3db195f7fd27bffc1b5f908b9b9bb84bd
tree70c6cb0c601ab00e1ec7b6e31dd60d059ddd56b3
parentb537de13ec469db2c273a2df7b37534945cb473c
checkpatch: Implement -f option more usefully.

A lot of checkpatch warnings are only enabled for particular kinds of
files, e.g. C warnings only apply to C source and header files.  The -f
option didn't pass the file name to the code that determines what kinds
of warnings to report, so only generic warnings were actually reported.
This fixes that problem.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Aaron Conole <aconole@redhat.com>
utilities/checkpatch.py