This patch guards the console_drivers list to be corrupted. The
for_each_console() macro insist on a strictly forward list ended by NULL:
con0-next-con1-next-NULL
Without this patch it may happen easily to destroy this list for example by
adding 'earlyprintk' twice, especially on embedded
On Fri, Aug 02, 2013 at 12:23:34PM +0200, Andreas Bießmann wrote:
This patch guards the console_drivers list to be corrupted. The
for_each_console() macro insist on a strictly forward list ended by NULL:
con0-next-con1-next-NULL
Without this patch it may happen easily to destroy this list