aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/struct-as.c
diff options
Diffstat (limited to 'validation/struct-as.c')
-rw-r--r--validation/struct-as.c2
1 files changed, 1 insertions, 1 deletions
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