summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2017-08-24 09:44:47 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2017-08-25 18:09:15 +1000
commit3eb3e93b626b451ff6d7d5b5efea9e12d2e4df0e (patch)
tree2aa4da2fd2ae22cfcc27b8af4542975e4d321c41
parent2cd0844fc139628a21b7a60bc97883e3666968d5 (diff)
downloadlinux-next-3eb3e93b626b451ff6d7d5b5efea9e12d2e4df0e.tar.gz
treewide-remove-gfp_temporary-allocation-flag-checkpatch-fixes
ERROR: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 0123456789ab ("commit description")' #4: GFP_TEMPORARY was been introduced by e12ba74d8ff3 ("Group short-lived and ERROR: "(foo*)" should be "(foo *)" #588: FILE: fs/proc/base.c:1632: + char *tmp = (char*)__get_free_page(GFP_KERNEL); total: 2 errors, 0 warnings, 451 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. ./patches/treewide-remove-gfp_temporary-allocation-flag.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Michal Hocko <mhocko@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r--fs/proc/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c
index ce9049cc8283..ad3b0762cc3e 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -1630,7 +1630,7 @@ out:
static int do_proc_readlink(struct path *path, char __user *buffer, int buflen)
{
- char *tmp = (char*)__get_free_page(GFP_KERNEL);
+ char *tmp = (char *)__get_free_page(GFP_KERNEL);
char *pathname;
int len;