Re: [RFC] Minor cleanups of the sparc serial drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Martin Habets <errandir_news@xxxxxxxxxxxxxxxxx>
Date: Tue, 20 Nov 2007 02:10:15 +0000

> This patch against 2.6.23 sparc-2.6.git contains a number of minor cleanups
> of the sparc serial drivers.
> Initially I fixed this build warning:
> 
> WARNING: vmlinux.o(.text+0x107a2c): Section mismatch: reference to .init.text:add_preferred_console (between 'sunserial_console_match' and 'sunserial_console_termios')
> 
> which is done by declaring sunserial_console_match() as __init.

I haven't touched this known problem because I think it's legitimate
to register serial consoles from a module, yet the current console
layer doesn't allow it.

I can't think of a clean way to make add_preferred_console() non-init
so I'll likely apply your patch.

Thanks!
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux