aboutsummaryrefslogtreecommitdiffstats
path: root/executor/kvm_gen.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-08-04 13:28:47 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-08-04 16:54:02 +0200
commit43f1389ddccb58a4c1a335db9c8c93a622572671 (patch)
tree7d1d4a2d7403c5a4241103b2e4740b9ba66c1ca1 /executor/kvm_gen.cc
parent1089015fcc3257dca9eac0b3319e242d95423973 (diff)
Makefile: enable clang-tidy in presubmit tests
Fix all errors it points to. The one in netlink_send_ext is concerning.
Diffstat (limited to 'executor/kvm_gen.cc')
-rw-r--r--executor/kvm_gen.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/executor/kvm_gen.cc b/executor/kvm_gen.cc
index ce3a4d6de..92627208b 100644
--- a/executor/kvm_gen.cc
+++ b/executor/kvm_gen.cc
@@ -5,8 +5,8 @@
#include <stdio.h>
-#define PRINT(x) \
- extern const unsigned char x[], x##_end[]; \
+#define PRINT(x) \
+ extern const unsigned char(x)[], x##_end[]; \
print(#x, x, x##_end);
void print(const char* name, const unsigned char* start, const unsigned char* end)