History

Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net

drivers/net/can/pch_can.c ae64438be192 ("can: dev: fix skb drop check") 1dd1b521be85 ("can: remove obsolete PCH CAN driver") https://lore.kernel.org/all/20221110102509.1f7d63cc@canb.auug.org.au/

Jakub Kicinski committed 4 years ago

Commit 966a9b42 parents c1b0510 4bbf342385 files · +4395 −2203Browse files

Showing the changes to scripts (2 of 385 files). Show all

Unified · Split

2 files
  1. scripts/Makefile.modpost +1 −1
  2. scripts/kconfig/menu.c +4 −19
scripts/Makefile.modpost+1−1
@@ -122,7 +122,7 @@ quiet_cmd_modpost = MODPOST $@ · 121 unmodified lines
122122 sed 's/ko$$/o/' $(or $(modorder-if-needed), /dev/null) | $(MODPOST) $(modpost-args) -T - $(vmlinux.o-if-present)
123123
124124 targets += $(output-symdump)
125−$(output-symdump): $(modorder-if-needed) $(vmlinux.o-if-present) $(moudle.symvers-if-present) $(MODPOST) FORCE
125+$(output-symdump): $(modorder-if-needed) $(vmlinux.o-if-present) $(module.symvers-if-present) $(MODPOST) FORCE
126126 $(call if_changed,modpost)
127127
128128 __modpost: $(output-symdump)
scripts/kconfig/menu.c+4−19
@@ -722,8 +722,8 @@ static void get_prompt_str(struct gstr *r, struct property *prop, · 721 unmodified lines
722722 if (!expr_eq(prop->menu->dep, prop->visible.expr))
723723 get_dep_str(r, prop->visible.expr, " Visible if: ");
724724
725− menu = prop->menu->parent;
726− for (i = 0; menu && i < 8; menu = menu->parent) {
725+ menu = prop->menu;
726+ for (i = 0; menu != &rootmenu && i < 8; menu = menu->parent) {
727727 bool accessible = menu_is_visible(menu);
728728
729729 submenu[i++] = menu;
@@ -733,16 +733,7 @@ static void get_prompt_str(struct gstr *r, struct property *prop, · 3 unmodified lines
733733 if (head && location) {
734734 jump = xmalloc(sizeof(struct jump_key));
735735
736− if (menu_is_visible(prop->menu)) {
737− /*
738− * There is not enough room to put the hint at the
739− * beginning of the "Prompt" line. Put the hint on the
740− * last "Location" line even when it would belong on
741− * the former.
742− */
743− jump->target = prop->menu;
744− } else
745− jump->target = location;
736+ jump->target = location;
746737
747738 if (list_empty(head))
748739 jump->index = 0;
@@ -758,13 +749,7 @@ static void get_prompt_str(struct gstr *r, struct property *prop, · 9 unmodified lines
758749 menu = submenu[i];
759750 if (jump && menu == location)
760751 jump->offset = strlen(r->s);
761−
762− if (menu == &rootmenu)
763− /* The real rootmenu prompt is ugly */
764− str_printf(r, "%*cMain menu", j, ' ');
765− else
766− str_printf(r, "%*c-> %s", j, ' ', menu_get_prompt(menu));
767−
752+ str_printf(r, "%*c-> %s", j, ' ', menu_get_prompt(menu));
768753 if (menu->sym) {
769754 str_printf(r, " (%s [=%s])", menu->sym->name ?
770755 menu->sym->name : "<choice>",