• Al Viro's avatar
    openrisc: fix copy_from_user() · 0ab16ba1
    Al Viro authored
    commit acb2505d upstream.
    
    ... 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...
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
    0ab16ba1
uaccess.h 9.07 KB