Re: [KJ] [PATCH] dm: uninitialize static variables

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

 



>  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

--

dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux