]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
rt: Improve the serial console PASS_LIMIT
authorIngo Molnar <mingo@elte.hu>
Wed, 14 Dec 2011 12:05:54 +0000 (13:05 +0100)
committerMichal Sojka <sojka@merica.cz>
Sun, 13 Sep 2015 07:47:26 +0000 (09:47 +0200)
commit96442a7c6530621148e4993afd054ad2fc874d18
treed16d233bd90b9b89b9642dcfda8b22081b6f0b1a
parent9f04d8ee47249cb804dd80548de3d73aef862138
rt: Improve the serial console PASS_LIMIT

Beyond the warning:

 drivers/tty/serial/8250/8250.c:1613:6: warning: unused variable â€˜pass_counter’ [-Wunused-variable]

the solution of just looping infinitely was ugly - up it to 1 million to
give it a chance to continue in some really ugly situation.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/tty/serial/8250/8250_core.c