Remove infinite loops from kernel ns16550 driver
commitcbc3587f1c1b12b55c63438c17c73b8c48edf6d6
authorJakub Jermar <jakub@jermar.eu>
Fri, 21 Sep 2018 21:01:00 +0000 (21 23:01 +0200)
committerJakub Jermar <jakub@jermar.eu>
Fri, 21 Sep 2018 21:01:00 +0000 (21 23:01 +0200)
treef087d89172348df02cd72844a536c84b51ff6db2
parent8591b31e206885d6be362b4e18a8f5cc3266ec67
Remove infinite loops from kernel ns16550 driver

Replace potential infinite loops by loops with large number of
iterations. This prevents the kernel from hanging when there is no
ns16550 device and the kernel is configured with ns16550 support.
kernel/genarch/src/drivers/ns16550/ns16550.c