Re: [PATCH] kgdboc: Disable all the early code when kgdboc is a module

2020-05-20 Thread Daniel Thompson
On Tue, May 19, 2020 at 08:44:02AM -0700, Douglas Anderson wrote: > When kgdboc is compiled as a module all of the "ekgdboc" and > "kgdb_earlycon" code isn't useful and, in fact, breaks compilation. > This is because early_param() isn't defined for modules and that's how > this code gets

Re: [PATCH] kgdboc: Disable all the early code when kgdboc is a module

2020-05-19 Thread Daniel Thompson
On Tue, May 19, 2020 at 08:44:02AM -0700, Douglas Anderson wrote: > When kgdboc is compiled as a module all of the "ekgdboc" and > "kgdb_earlycon" code isn't useful and, in fact, breaks compilation. > This is because early_param() isn't defined for modules and that's how > this code gets

[PATCH] kgdboc: Disable all the early code when kgdboc is a module

2020-05-19 Thread Douglas Anderson
When kgdboc is compiled as a module all of the "ekgdboc" and "kgdb_earlycon" code isn't useful and, in fact, breaks compilation. This is because early_param() isn't defined for modules and that's how this code gets configured. It turns out that this was broken by commit eae3e19ca930 ("kgdboc: