From: David Miller <davem@davemloft.net>
To: sparclinux@vger.kernel.org
Subject: Re: [RFC] Minor cleanups of the sparc serial drivers
Date: Tue, 20 Nov 2007 02:15:47 +0000 [thread overview]
Message-ID: <20071119.181547.45982194.davem@davemloft.net> (raw)
In-Reply-To: <20071120021014.GA15879@palantir8>
From: Martin Habets <errandir_news@mph.eclipse.co.uk>
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!
prev parent reply other threads:[~2007-11-20 2:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-20 2:10 [RFC] Minor cleanups of the sparc serial drivers Martin Habets
2007-11-20 2:15 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071119.181547.45982194.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.