#include #include struct foo { u16 a, b; }; int bluttan(struct foo *foo) { struct foo bar; if (get_user(bar, foo)) return -1; return bar.a + bar.b; }