scsi_dh: Verify "dev" is a sdev before accessing it.
[safe/jmp/linux-2.6] / kernel / kgdb.c
index 79e3c90..3ec23c3 100644 (file)
@@ -1499,7 +1499,8 @@ int kgdb_nmicallback(int cpu, void *regs)
        return 1;
 }
 
-void kgdb_console_write(struct console *co, const char *s, unsigned count)
+static void kgdb_console_write(struct console *co, const char *s,
+   unsigned count)
 {
        unsigned long flags;