Whamcloud - gitweb
LU-12923 libcfs: Remove CLASSERT() for libcfs_private.h 88/37188/3
authorArshad Hussain <arshad.super@gmail.com>
Mon, 30 Dec 2019 23:28:56 +0000 (04:58 +0530)
committerOleg Drokin <green@whamcloud.com>
Tue, 28 Jan 2020 06:04:19 +0000 (06:04 +0000)
commitfa70e91747dc712f3083649cb82194bd7c0c856f
tree4f8053a6b9ff273b320f5cdc6f39d9692c93f9dd
parentb4c8a5180dec2db5bda7c07b8dd3cfbd4f4c1e3f
LU-12923 libcfs: Remove CLASSERT() for libcfs_private.h

This patch removes final CLASSERT() define from file
libcfs/include/libcfs/libcfs_private.h. For compile
time assertion kernel defined BUILD_BUG_ON() is preferred

Test-Parameters: trivial
Signed-off-by: Arshad Hussain <arshad.super@gmail.com>
Change-Id: I6d7dd55489824631ae61393413598fe6dc4365a2
Reviewed-on: https://review.whamcloud.com/37188
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/libcfs_private.h