summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl2
-rwxr-xr-xscripts/genenv4
-rw-r--r--scripts/kconfig/menu.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 419436dede..a40d32cba7 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -328,7 +328,7 @@ sub top_of_kernel_tree {
my ($root) = @_;
my @tree_check = (
- "arch", "commands", "common", "COPYING", "CREDITS", "defaultenv",
+ "arch", "commands", "common", "COPYING", "defaultenv",
"Documentation", "drivers", "fs", "include", "lib",
"MAKEALL", "Makefile", "net", "README", "scripts", "TODO"
);
diff --git a/scripts/genenv b/scripts/genenv
index 9f22adea5c..5ebe699632 100755
--- a/scripts/genenv
+++ b/scripts/genenv
@@ -2,8 +2,8 @@
# Generate the default environment file from a list of directories
# usage: genenv <basedir> <objdir> <target> <dir>...
-# where <basedir> is the base directory for relative pathes in <dir>
-# where <objdir> is the base directory for relative pathes for result
+# where <basedir> is the base directory for relative paths in <dir>
+# where <objdir> is the base directory for relative paths for result
# and <target> is the resulting binary environment
objtree=$2
basedir=$1
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c
index a26cc5d2a9..584e0fc10d 100644
--- a/scripts/kconfig/menu.c
+++ b/scripts/kconfig/menu.c
@@ -548,7 +548,7 @@ static void get_prompt_str(struct gstr *r, struct property *prop,
{
int i, j;
struct menu *submenu[8], *menu, *location = NULL;
- struct jump_key *jump;
+ struct jump_key *jump = NULL;
str_printf(r, _("Prompt: %s\n"), _(prop->text));
menu = prop->menu->parent;