From: "Carlos Manuel Duclos Vergara" <carlos@embedded.cl>
To: Nicolas Kaiser <nikai@nikai.net>
Cc: kernel-janitors@lists.osdl.org, dm-devel@redhat.com,
Carlos Manuel Duclos Vergara <carlos@embedded.cl>
Subject: Re: [KJ] [PATCH] dm: uninitialize static variables
Date: Mon, 5 Dec 2005 18:06:49 -0000 (GMT) [thread overview]
Message-ID: <56471.206.49.219.34.1133806009.squirrel@webmail.embedded.cl> (raw)
In-Reply-To: <20051205190029.4b29e759@lucky.kitzblitz>
> static unsigned int __attribute__((__section__(".bss"))) major = 0;
> static unsigned int __attribute__((__section__(".bss"))) _major = 0;
it should be:
static unsigned int major __attribute__ ((section(".bss"))) = 0;
> If you could tell me how to achieve this in a fancy way which also works,
> I'm all ears. Maybe the janitorial steering committee might also like the
> idea enough to adjust their current TODO list.
yup, maybe it's worth of a discussion on the list
--
Carlos Manuel Duclos Vergara
http://www.toolchains.com/personal/blog
WARNING: multiple messages have this Message-ID (diff)
From: "Carlos Manuel Duclos Vergara" <carlos@embedded.cl>
To: Nicolas Kaiser <nikai@nikai.net>
Cc: kernel-janitors@lists.osdl.org, dm-devel@redhat.com,
Carlos Manuel Duclos Vergara <carlos@embedded.cl>
Subject: Re: [KJ] [PATCH] dm: uninitialize static variables
Date: Mon, 05 Dec 2005 18:06:49 +0000 [thread overview]
Message-ID: <56471.206.49.219.34.1133806009.squirrel@webmail.embedded.cl> (raw)
In-Reply-To: <20051205190029.4b29e759@lucky.kitzblitz>
> static unsigned int __attribute__((__section__(".bss"))) major = 0;
> static unsigned int __attribute__((__section__(".bss"))) _major = 0;
it should be:
static unsigned int major __attribute__ ((section(".bss"))) = 0;
> If you could tell me how to achieve this in a fancy way which also works,
> I'm all ears. Maybe the janitorial steering committee might also like the
> idea enough to adjust their current TODO list.
yup, maybe it's worth of a discussion on the list
--
Carlos Manuel Duclos Vergara
http://www.toolchains.com/personal/blog
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
next prev parent reply other threads:[~2005-12-05 18:06 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-05 12:28 [KJ] [PATCH] dm: uninitialize static variables Nicolas Kaiser
2005-12-05 12:28 ` Nicolas Kaiser
2005-12-05 12:47 ` Carlos Manuel Duclos Vergara
2005-12-05 12:47 ` Carlos Manuel Duclos Vergara
2005-12-05 17:49 ` Nicolas Kaiser
2005-12-05 18:00 ` Nicolas Kaiser
2005-12-05 18:06 ` Carlos Manuel Duclos Vergara [this message]
2005-12-05 18:06 ` Carlos Manuel Duclos Vergara
2005-12-10 15:35 ` Alexey Dobriyan
2005-12-10 15:35 ` Alexey Dobriyan
2005-12-12 7:17 ` Jaco Kroon
2005-12-12 7:17 ` Jaco Kroon
2005-12-10 15:31 ` Alexey Dobriyan
2005-12-10 15:31 ` Alexey Dobriyan
2005-12-10 19:32 ` [KJ] [PATCH] dm: uninitialize static variables v2 Nicolas Kaiser
2005-12-10 19:32 ` Nicolas Kaiser
2005-12-13 16:52 ` [KJ] [PATCH] dm: uninitialize static variables Jesse Millan
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=56471.206.49.219.34.1133806009.squirrel@webmail.embedded.cl \
--to=carlos@embedded.cl \
--cc=dm-devel@redhat.com \
--cc=kernel-janitors@lists.osdl.org \
--cc=nikai@nikai.net \
/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.