diff options
| -rw-r--r-- | validation/call-variadic.c | 2 | ||||
| -rw-r--r-- | validation/struct-as.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/validation/call-variadic.c b/validation/call-variadic.c index a438b43a..8c981562 100644 --- a/validation/call-variadic.c +++ b/validation/call-variadic.c @@ -4,7 +4,7 @@ extern int print(const char *msg, ...); int foo(const char *fmt, int a, long l, int *p) { - print("msg %c: %d %d/%ld %ld/%p %p\n", 'x', a, __LINE__, l, 0L, p, NULL); + return print("msg %c: %d %d/%ld %ld/%p %p\n", 'x', a, __LINE__, l, 0L, p, NULL); } /* diff --git a/validation/struct-as.c b/validation/struct-as.c index f31f7c96..23bca897 100644 --- a/validation/struct-as.c +++ b/validation/struct-as.c @@ -12,7 +12,7 @@ extern int test(int __user *ip); static int broken(struct hello __user *sp) { - test(&sp->a); + return test(&sp->a); } /* * check-name: Address space of a struct member |
