lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49C21DF0.10808@monstr.eu>
Date:	Thu, 19 Mar 2009 11:26:56 +0100
From:	Michal Simek <monstr@...str.eu>
To:	Ingo Molnar <mingo@...e.hu>
CC:	linux-kernel@...r.kernel.org, john.williams@...alogix.com,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: Microblaze linux support

Hi Ingo,
> * Michal Simek <monstr@...str.eu> wrote:
> 
>> WARNING: externs should be avoided in .c files
>> #110: FILE: arch/microblaze/kernel/microblaze_ksyms.c:45:
>> +extern void __umodsi3(void);
>>
>> WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
>> #111: FILE: arch/microblaze/kernel/microblaze_ksyms.c:46:
>> +EXPORT_SYMBOL(__umodsi3);
> 
> externs should be in header files.
> 
> The rest indeed looks like false positives. Thanks for addressing 
> these things so quickly!

you are welcome - I can quickly test and add all changes to git.

Is it good style separate extern definition and EXPORT_SYMBOL?

I have three choices?
1. keep extern + EXPORT_SYMBOL below  - current style
2. move only extern to header file
3. move extern and EXPORT_SYMBOL to header.

What is preferable way?

Thanks,
Michal




> 
> 	Ingo


-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ