• Al Viro's avatar
    openrisc: fix copy_from_user() · 71b9826d
    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 avatarBen Hutchings <ben@decadent.org.uk>
    71b9826d
uaccess.h 9.07 KB