From: Jan Kiszka <jan.kiszka@domain.hid>
To: wcall@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Section Mismatch
Date: Tue, 14 Apr 2009 00:09:48 +0200 [thread overview]
Message-ID: <49E3B82C.7000705@domain.hid> (raw)
In-Reply-To: <002301c9bc7e$478c7ba0$d6a572e0$@com>
[-- Attachment #1: Type: text/plain, Size: 466 bytes --]
Wayne Call wrote:
> The code that causes a mismatch is posted below.
>
...
>
>
> static const struct rtdm_device __initdata device_tmpl = {
The rtdm_device structure passed to rtdm_dev_register must be available
as long as the device is registered, not just during init (see
documentation). Besides the fact that you modify the device_name
in-place already, also RTDM will write to this struct. So 'const' is not
appropriate here, too.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
prev parent reply other threads:[~2009-04-13 22:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-10 20:22 [Xenomai-help] Section Mismatch Wayne Call
2009-04-11 20:18 ` Gilles Chanteperdrix
2009-04-13 21:24 ` Wayne Call
2009-04-13 22:09 ` Jan Kiszka [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=49E3B82C.7000705@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=wcall@domain.hid \
--cc=xenomai@xenomai.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.