criu/include/common
Adrian Reber ee048e1489 lock: disable clang_analyzer for the LOCK_BUG_ON() macro
The clang analyzer, scan-build, cannot correctly handle the
LOCK_BUG_ON() macro. At multiple places there is the following warning:

  Error: CLANG_WARNING:
    criu/pie/restorer.c:1221:4: warning: Dereference of null pointer

  include/common/lock.h:14:35: note: expanded from macro 'LOCK_BUG_ON'
               *(volatile unsigned long *)NULL = 0xdead0000 + __LINE__
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~

This just disable the clang analyzer for the LOCK_BUG_ON() macro.

Signed-off-by: Adrian Reber <areber@redhat.com>
2021-09-03 10:31:00 -07:00
..
arch x86/asm: update test_bit() and test_and_set_bit() 2020-10-20 00:18:24 -07:00
asm-generic bitops: use a gcc builtin function instead of our __ffs 2018-07-09 18:26:49 +03:00
bitops.h files: Fix test and set endianess problem 2017-02-06 14:09:15 +03:00
bitsperlong.h common: bitsperlong -- Specify complete path 2016-11-03 00:13:04 +03:00
bug.h include/common: Move bug.h in 2016-11-03 00:13:03 +03:00
compiler.h compel/criu: Add __must_check 2020-02-04 12:39:04 -08:00
err.h headers: Move err.h to common 2016-11-03 00:13:04 +03:00
list.h list: Drop unused __list_for_each 2019-04-20 20:25:26 -07:00
lock.h lock: disable clang_analyzer for the LOCK_BUG_ON() macro 2021-09-03 10:31:00 -07:00
page.h common: Use complete path in inclusion 2016-11-03 00:13:04 +03:00
scm-code.c util: zero msghdr structures 2017-02-06 13:29:55 +03:00
scm.h compel: Remove compel.h 2020-03-27 19:36:20 +03:00
xmalloc.h headers: Move xmalloc to common 2016-11-03 00:13:04 +03:00