kernel/arch/arm/oprofile/common.c
.. .. @@ -88,7 +88,7 @@ 88 88 struct frame_tail buftail[2]; 89 89 90 90 /* Also check accessibility of one struct frame_tail beyond */ 91 - if (!access_ok(VERIFY_READ, tail, sizeof(buftail)))91 + if (!access_ok(tail, sizeof(buftail)))92 92 return NULL; 93 93 if (__copy_from_user_inatomic(buftail, tail, sizeof(buftail))) 94 94 return NULL;