summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2014-02-02 17:57:28 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2014-02-02 18:00:29 -0800
commitdce44e03b0a3448ad11ac6c6e0cbe299e0400791 (patch)
treea5ba20404d5159a7cb00d3b8e448ec17f50322f3 /fs
parent81993e81a994504f4c8b97d3410c9a052cdbcc9d (diff)
downloadlinux-dce44e03b0a3448ad11ac6c6e0cbe299e0400791.tar.gz
linux-dce44e03b0a3448ad11ac6c6e0cbe299e0400791.tar.bz2
linux-dce44e03b0a3448ad11ac6c6e0cbe299e0400791.zip
compat: Fix sparse address space warnings
In compat_sys_old_getrlimit() we pass a kernel pointer to sys_old_getrlimit() inside a set_fs() bracket. This is okay, so we can safely cast the affected pointer to __user. In compat_clock_nanosleep_restart(), the variable "rmtp" holds a user pointer. Annotate it as such. Both of these warnings are ancient, but were reported by Fengguang Wu's test system due to other changes. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Cc: Toyo Abe <toyoa@mvista.com> Link: http://lkml.kernel.org/n/tip-507h7cq5e45eg6ygtykon3bf@git.kernel.org
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions