projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ASoC: sgtl5000: add delay before first I2C access
[firefly-linux-kernel-4.4.55.git]
/
fs
/
read_write.c
diff --git
a/fs/read_write.c
b/fs/read_write.c
index 2cefa417be349b0016ffa8606635db9e85751015..f6b7c600eb7f29558da120cac9c89d53e6e7251c 100644
(file)
--- a/
fs/read_write.c
+++ b/
fs/read_write.c
@@
-947,9
+947,9
@@
out:
return ret;
}
return ret;
}
-COMPAT_SYSCALL_DEFINE3(readv,
unsigned long
, fd,
+COMPAT_SYSCALL_DEFINE3(readv,
compat_ulong_t
, fd,
const struct compat_iovec __user *,vec,
const struct compat_iovec __user *,vec,
-
unsigned long
, vlen)
+
compat_ulong_t
, vlen)
{
struct fd f = fdget(fd);
ssize_t ret;
{
struct fd f = fdget(fd);
ssize_t ret;
@@
-983,9
+983,9
@@
COMPAT_SYSCALL_DEFINE4(preadv64, unsigned long, fd,
return ret;
}
return ret;
}
-COMPAT_SYSCALL_DEFINE5(preadv,
unsigned long
, fd,
+COMPAT_SYSCALL_DEFINE5(preadv,
compat_ulong_t
, fd,
const struct compat_iovec __user *,vec,
const struct compat_iovec __user *,vec,
-
unsigned long
, vlen, u32, pos_low, u32, pos_high)
+
compat_ulong_t
, vlen, u32, pos_low, u32, pos_high)
{
loff_t pos = ((loff_t)pos_high << 32) | pos_low;
return compat_sys_preadv64(fd, vec, vlen, pos);
{
loff_t pos = ((loff_t)pos_high << 32) | pos_low;
return compat_sys_preadv64(fd, vec, vlen, pos);
@@
-1013,9
+1013,9
@@
out:
return ret;
}
return ret;
}
-COMPAT_SYSCALL_DEFINE3(writev,
unsigned long
, fd,
+COMPAT_SYSCALL_DEFINE3(writev,
compat_ulong_t
, fd,
const struct compat_iovec __user *, vec,
const struct compat_iovec __user *, vec,
-
unsigned long
, vlen)
+
compat_ulong_t
, vlen)
{
struct fd f = fdget(fd);
ssize_t ret;
{
struct fd f = fdget(fd);
ssize_t ret;
@@
-1049,9
+1049,9
@@
COMPAT_SYSCALL_DEFINE4(pwritev64, unsigned long, fd,
return ret;
}
return ret;
}
-COMPAT_SYSCALL_DEFINE5(pwritev,
unsigned long
, fd,
+COMPAT_SYSCALL_DEFINE5(pwritev,
compat_ulong_t
, fd,
const struct compat_iovec __user *,vec,
const struct compat_iovec __user *,vec,
-
unsigned long
, vlen, u32, pos_low, u32, pos_high)
+
compat_ulong_t
, vlen, u32, pos_low, u32, pos_high)
{
loff_t pos = ((loff_t)pos_high << 32) | pos_low;
return compat_sys_pwritev64(fd, vec, vlen, pos);
{
loff_t pos = ((loff_t)pos_high << 32) | pos_low;
return compat_sys_pwritev64(fd, vec, vlen, pos);