Suggest the author to use the OVS wrapper of the assert function. Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodire...@intel.com> --- utilities/checkpatch.py | 1 + 1 file changed, 1 insertion(+)
diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py index b45a255..304d2fd 100755 --- a/utilities/checkpatch.py +++ b/utilities/checkpatch.py @@ -256,6 +256,7 @@ std_functions = [ ('strerror', 'Use ovs_strerror() in place of strerror()'), ('sleep', 'Use xsleep() in place of sleep()'), ('abort', 'Use ovs_abort() in place of abort()'), + ('assert', 'Use ovs_assert() in place of assert()'), ('error', 'Use ovs_error() in place of error()'), ] checks += [ -- 2.4.11 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev