diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-13 00:29:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-13 00:29:20 -0400 |
commit | c1fdb2d3389c5a1e7c559a37a4967c1d2580e75c (patch) | |
tree | e4ed8dd46b9f6fbb6c715e66630e7bdaf71c86ab /scripts/kconfig/lxdialog | |
parent | 1700ff823b27b6572cf4c3cec66d279baa1a5d30 (diff) | |
parent | 7fa0e6db3cedc9b70d68a4170f1352e2b1aa0f90 (diff) |
Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kbuild misc updates from Michal Marek:
"This is the non-critical part of kbuild for v3.16-rc1:
- make deb-pkg can do s390x and arm64
- new patterns in scripts/tags.sh
- scripts/tags.sh skips userspace tools' sources (which sometimes
have copies of kernel structures) and symlinks
- improvements to the objdiff tool
- two new coccinelle patches
- other minor fixes"
* 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
scripts: objdiff: support directories for the augument of record command
scripts: objdiff: fix a comment
scripts: objdiff: change the extension of disassembly from .o to .dis
scripts: objdiff: improve path flexibility for record command
scripts: objdiff: remove unnecessary code
scripts: objdiff: direct error messages to stderr
scripts: objdiff: get the path to .tmp_objdiff more simply
deb-pkg: Add automatic support for s390x architecture
coccicheck: Add unneeded return variable test
kbuild: Fix a typo in documentation
kbuild: trivial - use tabs for code indent where possible
kbuild: trivial - remove trailing empty lines
coccinelle: Check for missing NULL terminators in of_device_id tables
scripts/tags.sh: ignore symlink'ed source files
scripts/tags.sh: add regular expression replacement pattern for memcg
builddeb: add arm64 in the supported architectures
builddeb: use $OBJCOPY variable instead of objcopy
scripts/tags.sh: ignore code of user space tools
scripts/tags.sh: add pattern for DEFINE_HASHTABLE
.gitignore: ignore Module.symvers in all directories
Diffstat (limited to 'scripts/kconfig/lxdialog')
-rw-r--r-- | scripts/kconfig/lxdialog/checklist.c | 4 | ||||
-rw-r--r-- | scripts/kconfig/lxdialog/inputbox.c | 2 | ||||
-rw-r--r-- | scripts/kconfig/lxdialog/menubox.c | 4 | ||||
-rw-r--r-- | scripts/kconfig/lxdialog/util.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/scripts/kconfig/lxdialog/checklist.c b/scripts/kconfig/lxdialog/checklist.c index 3b15c08ec1fa..8d016faa28d7 100644 --- a/scripts/kconfig/lxdialog/checklist.c +++ b/scripts/kconfig/lxdialog/checklist.c | |||
@@ -168,13 +168,13 @@ do_resize: | |||
168 | 168 | ||
169 | /* create new window for the list */ | 169 | /* create new window for the list */ |
170 | list = subwin(dialog, list_height, list_width, y + box_y + 1, | 170 | list = subwin(dialog, list_height, list_width, y + box_y + 1, |
171 | x + box_x + 1); | 171 | x + box_x + 1); |
172 | 172 | ||
173 | keypad(list, TRUE); | 173 | keypad(list, TRUE); |
174 | 174 | ||
175 | /* draw a box around the list items */ | 175 | /* draw a box around the list items */ |
176 | draw_box(dialog, box_y, box_x, list_height + 2, list_width + 2, | 176 | draw_box(dialog, box_y, box_x, list_height + 2, list_width + 2, |
177 | dlg.menubox_border.atr, dlg.menubox.atr); | 177 | dlg.menubox_border.atr, dlg.menubox.atr); |
178 | 178 | ||
179 | /* Find length of longest item in order to center checklist */ | 179 | /* Find length of longest item in order to center checklist */ |
180 | check_x = 0; | 180 | check_x = 0; |
diff --git a/scripts/kconfig/lxdialog/inputbox.c b/scripts/kconfig/lxdialog/inputbox.c index 447a582198c9..d58de1dc5360 100644 --- a/scripts/kconfig/lxdialog/inputbox.c +++ b/scripts/kconfig/lxdialog/inputbox.c | |||
@@ -42,7 +42,7 @@ static void print_buttons(WINDOW * dialog, int height, int width, int selected) | |||
42 | * Display a dialog box for inputing a string | 42 | * Display a dialog box for inputing a string |
43 | */ | 43 | */ |
44 | int dialog_inputbox(const char *title, const char *prompt, int height, int width, | 44 | int dialog_inputbox(const char *title, const char *prompt, int height, int width, |
45 | const char *init) | 45 | const char *init) |
46 | { | 46 | { |
47 | int i, x, y, box_y, box_x, box_width; | 47 | int i, x, y, box_y, box_x, box_width; |
48 | int input_x = 0, key = 0, button = -1; | 48 | int input_x = 0, key = 0, button = -1; |
diff --git a/scripts/kconfig/lxdialog/menubox.c b/scripts/kconfig/lxdialog/menubox.c index c93de0b2faca..11ae9ad7ac7b 100644 --- a/scripts/kconfig/lxdialog/menubox.c +++ b/scripts/kconfig/lxdialog/menubox.c | |||
@@ -64,7 +64,7 @@ static int menu_width, item_x; | |||
64 | * Print menu item | 64 | * Print menu item |
65 | */ | 65 | */ |
66 | static void do_print_item(WINDOW * win, const char *item, int line_y, | 66 | static void do_print_item(WINDOW * win, const char *item, int line_y, |
67 | int selected, int hotkey) | 67 | int selected, int hotkey) |
68 | { | 68 | { |
69 | int j; | 69 | int j; |
70 | char *menu_item = malloc(menu_width + 1); | 70 | char *menu_item = malloc(menu_width + 1); |
@@ -182,7 +182,7 @@ static void do_scroll(WINDOW *win, int *scroll, int n) | |||
182 | * Display a menu for choosing among a number of options | 182 | * Display a menu for choosing among a number of options |
183 | */ | 183 | */ |
184 | int dialog_menu(const char *title, const char *prompt, | 184 | int dialog_menu(const char *title, const char *prompt, |
185 | const void *selected, int *s_scroll) | 185 | const void *selected, int *s_scroll) |
186 | { | 186 | { |
187 | int i, j, x, y, box_x, box_y; | 187 | int i, j, x, y, box_x, box_y; |
188 | int height, width, menu_height; | 188 | int height, width, menu_height; |
diff --git a/scripts/kconfig/lxdialog/util.c b/scripts/kconfig/lxdialog/util.c index 58a8289dd650..f7abdeb92af0 100644 --- a/scripts/kconfig/lxdialog/util.c +++ b/scripts/kconfig/lxdialog/util.c | |||
@@ -623,7 +623,7 @@ void item_make(const char *fmt, ...) | |||
623 | void item_add_str(const char *fmt, ...) | 623 | void item_add_str(const char *fmt, ...) |
624 | { | 624 | { |
625 | va_list ap; | 625 | va_list ap; |
626 | size_t avail; | 626 | size_t avail; |
627 | 627 | ||
628 | avail = sizeof(item_cur->node.str) - strlen(item_cur->node.str); | 628 | avail = sizeof(item_cur->node.str) - strlen(item_cur->node.str); |
629 | 629 | ||