From 4f1173bcdeaadd1ca815922b59b1475cb475de63 Mon Sep 17 00:00:00 2001 From: Jennifer Averett Date: Thu, 23 Feb 2012 10:40:33 -0600 Subject: Avoid NULL dereference in printk() before libchip console initialized With the addition of dynamically registered libchip serial devices, there is the need to be able to use printk() before the console driver has initialized the indirect pointer table. This lets printk() support routines call pass a control structure directly without a lookup through the uninitialized indirect one. --- c/src/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'c/src/ChangeLog') diff --git a/c/src/ChangeLog b/c/src/ChangeLog index 569ac30f1e..0b1fc25432 100644 --- a/c/src/ChangeLog +++ b/c/src/ChangeLog @@ -1,3 +1,13 @@ +2012-02-23 Jennifer Averett + + * libchip/serial/ns16550.c, libchip/serial/ns16550.h, + libchip/serial/ns16550_p.h: With the addition of dynamically + registered libchip serial devices, there is the need to be able to + use printk() before the console driver has initialized the indirect + pointer table. This lets printk() support routines call pass a + control structure directly without a lookup through the uninitialized + indirect one. + 2011-12-13 Ralf Corsépius * libchip/i2c/spi-memdrv.c: Make -- cgit v1.2.3