smatch.h: introduce sm_pedantic()
commitbf754f68d5bc037d116d08ba82e0f10123ff4e13
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 4 Aug 2021 14:47:02 +0000 (4 17:47 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 4 Aug 2021 14:47:40 +0000 (4 17:47 +0300)
tree4294b0e8411e7e348a4e0fe8193479e4b4acc83c
parentde99456f6fd874f3e60c039142aa4e6d7b836af3
smatch.h: introduce sm_pedantic()

I created a --pedantic option which is for style issues and trivial stuff.
The problem is that I never build my kernel with the pedantic option
because it's too much work to sort through the warnings.  So it's better
to print them out but with the pedantic: prefix so that I can just use
grep for filtering.

I got rid of the ancient unused sm_spam() macro at the same time.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch.h