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] [day] [month] [year] [list]
Message-Id: <20120322150019.eff74bc8.akpm@linux-foundation.org>
Date:	Thu, 22 Mar 2012 15:00:19 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	H Hartley Sweeten <hartleys@...ionengravers.com>
Cc:	Linux Kernel <linux-kernel@...r.kernel.org>,
	<eric.dumazet@...il.com>, <vapier@...too.org>, <asharma@...com>
Subject: Re: [PATCH] fs/notify/notification.c: make subsys_initcall function
 static

On Wed, 21 Mar 2012 11:45:17 -0700
H Hartley Sweeten <hartleys@...ionengravers.com> wrote:

> subsys_initcall functions should be marked static.

Well, I suppose there are legitimate situations where they could be
non-static(?), although those would be rather bizarre.

A better reason for making this static is that it has no references
outside this file.

--
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