Add more clang-tidy checks.
This adds all the generic checks. There are some more project specific
ones that could be selected but this is a good start and has already
found some lint errors.
Change-Id: I7bb9d9347f5270862c2ff586eb7c86feead9e4bb
diff --git a/src/mm.c b/src/mm.c
index 8942ec5..6662bae 100644
--- a/src/mm.c
+++ b/src/mm.c
@@ -105,6 +105,9 @@
*/
static void mm_free_page_pte(pte_t pte, int level, bool sync)
{
+ (void)pte;
+ (void)level;
+ (void)sync;
/* TODO: Implement.
if (!arch_mm_pte_is_present(pte) || level < 1)
return;
@@ -309,6 +312,7 @@
void mm_ptable_defrag(struct mm_ptable *t)
{
/* TODO: Implement. */
+ (void)t;
}
/**