[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180514121022.GB11638@infradead.org>
Date: Mon, 14 May 2018 05:10:22 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Mark Rutland <mark.rutland@....com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
catalin.marinas@....com, dave.martin@....com, james.morse@....com,
linux@...inikbrodowski.net, linux-fsdevel@...r.kernel.org,
marc.zyngier@....com, viro@...iv.linux.org.uk, will.deacon@....com
Subject: Re: [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.
Powered by blists - more mailing lists