summaryrefslogtreecommitdiff
path: root/block/blk-sysfs.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-08-20 21:05:21 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2016-09-13 21:49:44 (GMT)
commitacb2505d0119033a80c85ac8d02dccae41271667 (patch)
tree5537954675e9bd923ab1bfe1fea29806e6334ae6 /block/blk-sysfs.c
parent2e29f50ad5e23db37dde9be71410d95d50241ecd (diff)
downloadlinux-acb2505d0119033a80c85ac8d02dccae41271667.tar.xz
openrisc: fix copy_from_user()
... that should zero on faults. Also remove the <censored> helpful logics wrt range truncation copied from ppc32. Where it had ever been needed only in case of copy_from_user() *and* had not been merged into the mainline until a month after the need had disappeared. A decade before openrisc went into mainline, I might add... Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions