Created
January 9, 2021 15:19
-
-
Save youxiaojie/86cd86a19ceb457be56ff70de0a00492 to your computer and use it in GitHub Desktop.
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Replace <asm/uaccess.h> with <linux/uaccess.h> globally | |
This was entirely automated, using the script by Al: | |
PATT='^[[:blank:]]*#[[:blank:]]*include[[:blank:]]*<asm/uaccess.h>' | |
sed -i -e "s!$PATT!#include <linux/uaccess.h>!" \ | |
$(git grep -l "$PATT"|grep -v ^include/linux/uaccess.h) | |
to do the replacement at the end of the merge window. | |
Requested-by: Al Viro <[email protected]> | |
Signed-off-by: Linus Torvalds <[email protected]> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment