Whamcloud - gitweb
LU-5160 build: warn on deprecated CFS_LIST_HEAD uses 49/10649/2
authorEmoly Liu <emoly.liu@intel.com>
Thu, 5 Jun 2014 22:35:54 +0000 (06:35 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 16 Jun 2014 03:48:56 +0000 (03:48 +0000)
commit65c712fe4db0042baea01fce55bb33cd750a56c6
treeead42b48a8ce57403aa94e556bdf3f32e74518df
parent886472a7be69df5a813dd563b6139c091749b561
LU-5160 build: warn on deprecated CFS_LIST_HEAD uses

Change checkpatch.pl script to report:
CFS_LIST_HEAD() is deprecated, use "struct list_head foo =
LIST_HEAD_INIT(foo);" instead.

Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Change-Id: Ic667d4598c0740e2802416dd3800dacdaf378e73
Reviewed-on: http://review.whamcloud.com/10649
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
contrib/scripts/checkpatch.pl