Whamcloud - gitweb
LU-4453 build: warn on deprecated cfs_* uses 85/9585/2
authorJohn L. Hammond <john.hammond@intel.com>
Tue, 11 Mar 2014 20:15:16 +0000 (15:15 -0500)
committerAndreas Dilger <andreas.dilger@intel.com>
Thu, 20 Mar 2014 20:08:25 +0000 (20:08 +0000)
commit34074e4ca705e2ceda3ae06f0e0bd0a074a8422c
treeb04f8ed5cb8ec5c356e6eeed8f4f266f22ba1e07
parent3ce7cbd983a1e42a3b8a7b86fd467099c1fc905c
LU-4453 build: warn on deprecated cfs_* uses

In contrib/scripts/checkpatch.pl, use static dictionaries of
deprecated identifiers and headers rather than reading from the
kernel's Documentation/feature-removal-schedule.txt file. Populate the
deprecated identifiers dictionary with the cfs_{atomic,hlist,list}_*
macros, some out of fashion typedefs, and a few unsafe functions.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I5af33e33693d6da59b98890ae2f27d95adcd8710
Reviewed-on: http://review.whamcloud.com/9585
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Peng Tao <bergwolf@gmail.com>
Reviewed-by: Li Xi <pkuelelixi@gmail.com>
Tested-by: Andreas Dilger <andreas.dilger@intel.com>
contrib/scripts/checkpatch.pl