[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[dm-devel] Re: [KJ] [PATCH] dm: uninitialize static variables
- 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: [dm-devel] Re: [KJ] [PATCH] dm: uninitialize static variables
- Date: Mon, 5 Dec 2005 18:06:49 -0000 (GMT)
> 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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]