Whamcloud - gitweb
LU-12923 contrib: Update spelling.txt to add BUILD_BUG_ON() 45/36645/4
authorArshad Hussain <arshad.super@gmail.com>
Mon, 28 Oct 2019 18:47:50 +0000 (00:17 +0530)
committerOleg Drokin <green@whamcloud.com>
Fri, 6 Dec 2019 01:12:54 +0000 (01:12 +0000)
This is first in the series of patchs which replaces
CLASSERT() with upstream kernel defined BUILD_BUG_ON()

This specific patch updates contrib/scripts/spelling.txt
to add line CLASSERT||BUILD_BUG_ON(). This will subsequently
help follow up patchs to trap and flag warning during
checkpatch check if CLASSERT() is still left defined.

Test-Parameters: trivial
Signed-off-by: Arshad Hussain <arshad.super@gmail.com>
Change-Id: If8fd76dd107cb53d657b7fa89bd62a9357222629
Reviewed-on: https://review.whamcloud.com/36645
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
Reviewed-by: Neil Brown <neilb@suse.de>
contrib/scripts/spelling.txt

index b7ec2fe..193a73b 100644 (file)
@@ -97,6 +97,7 @@ cfs_time_before_64||ktime_before
 cfs_time_current||jiffies
 cfs_time_current_64||ktime_get
 cfs_time_current_sec||ktime_get_real_seconds
+CLASSERT||BUILD_BUG_ON()
 msecs_to_jiffies||cfs_time_seconds
 DEFINE_TIMER||CFS_DEFINE_TIMER
 DN_MAX_BONUSLEN||DN_BONUS_SIZE(dnodesize)