aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2026-04-15cleanup scripts (#850)John Levon2-0/+82
Now we have a scripts/ dir, use it for these workflows. Signed-off-by: John Levon <john.levon@nutanix.com>
2026-04-15make scan-build issues fatal (#849)John Levon1-0/+5
* Fix scan-build issues In file included from ../../../../lib/dma.c:43: ../../../../lib/dma.h:260:28: warning: Dereference of null pointer [core.NullDereference] 260 | dma_addr >= region_hint->info.iova.iov_base && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../lib/common.h:58:41: note: expanded from macro 'likely' 58 | #define likely(e) __builtin_expect(!!(e), 1) | ^ [17/49] Compiling C object test/btree_unit_tests.p/btree_unit_tests.c.o ../../../../test/btree_unit_tests.c:119:15: warning: Although the value stored to 'value' is used in the enclosing expression, the value is never actually read from 'value' [deadcode.DeadStores] 119 | (value = btree_iter_get(&iter, &key)) != NULL; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Neither of these are actual production issues, but let's clean the lint. Signed-off-by: John Levon <john.levon@nutanix.com> * Make scan-build errors fail the build Set --status-bugs so any found issues fail the build. The wrapper script is, shockingly, the approved way to do this (https://mesonbuild.com/howtox.html#use-clang-static-analyzer). Signed-off-by: John Levon <john.levon@nutanix.com> --------- Signed-off-by: John Levon <john.levon@nutanix.com>