linux-mips
[Top] [All Lists]

kernel/printk.c problem

To: linux-mips@oss.sgi.com
Subject: kernel/printk.c problem
From: Scott A McConnell <samcconn@cotw.com>
Date: Tue, 17 Apr 2001 15:11:58 -0700
Sender: owner-linux-mips@oss.sgi.com
struct console *console_drivers = NULL;                          <----
Need the NULL.

Otherwise, bad things can happen on the following statement in printk

~line 311

       if ((c->flags & CON_ENABLED) && c->write){



Scott


<Prev in Thread] Current Thread [Next in Thread>