Re: [PATCH v2] kconfig: Remove menu_end_entry()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2017-10-09 7:14 GMT+09:00 Ulf Magnusson <ulfalizer@xxxxxxxxx>:
> menu_end_entry() is empty and completely unused as far as I can tell:
>
>         $ git log -G menu_end_entry --oneline
>         a02f057 [PATCH] kconfig: improve error handling in the parser
>         1da177e Linux-2.6.12-rc2
>
> Last one is the initial Git commit, where menu_end_entry() is empty as
> well. I couldn't find anything that redefined it on Google either.
>
> It might be a debugging helper for setting a breakpoint after each
> config, menuconfig, and comment is parsed. IMO it hurts more than it
> helps in that case by making the parsing code look more complicated at a
> glance than it really is, and I suspect it doesn't get used much.
>
> Tested by running the Kconfiglib test suite, which indirectly verifies
> that the .config files generated by the C implementation for each
> defconfig file in the kernel stays the same.
>
> Signed-off-by: Ulf Magnusson <ulfalizer@xxxxxxxxx>
> ---
> Changes in v2:
>   - Don't include the regenerated parser. It wouldn't be safe to pull it
>     directly from the patch if other changes go in before, and it might cause
>     unnecessary merge conflicts. Regenerate it manually instead:
>
>       $ make REGENERATE_PARSERS=1 conf
>


Applied to linux-kbuild/kconfig.  Thanks!


With this, I think I picked up all the patches you posted in the last October.
(let me know if I am missing something.)

Thanks a lot for all of your contribution!

(and also Kconfiglib, I used in U-Boot)

-- 
Best Regards
Masahiro Yamada
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux