lkml.org 
[lkml]   [2018]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 17/18] arm64: convert compat wrappers to C
> +COMPAT_SYSCALL_DEFINE3(aarch32_statfs64, const char __user *, pathname,
> + compat_size_t, sz, struct compat_statfs64 __user *, buf)
> +{
> + if (sz == 88)
> + sz = 84;
> +
> + return kcompat_sys_statfs64(pathname, sz, buf);

This really needs a comment, and it looks very obviously bogus.
In case it isn't it needs a very good explanation.

\
 
 \ /
  Last update: 2018-05-14 14:11    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog