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>] [day] [month] [year] [list]
Message-ID: <tip-45d5f58b53a055913fee4351cb3ce1133d3c5261@git.kernel.org>
Date:	Wed, 17 Feb 2010 19:52:12 GMT
From:	"tip-bot for H. Peter Anvin" <hpa@...or.com>
To:	linux-tip-commits@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, sliakh.lkml@...il.com, hpa@...or.com,
	mingo@...hat.com, tglx@...utronix.de, jiang@...ncsu.edu
Subject: [tip:x86/mm] module: fix () used as prototype in include/linux/module.h

Commit-ID:  45d5f58b53a055913fee4351cb3ce1133d3c5261
Gitweb:     http://git.kernel.org/tip/45d5f58b53a055913fee4351cb3ce1133d3c5261
Author:     H. Peter Anvin <hpa@...or.com>
AuthorDate: Mon, 1 Feb 2010 17:33:56 -0800
Committer:  H. Peter Anvin <hpa@...or.com>
CommitDate: Wed, 17 Feb 2010 10:11:24 -0800

module: fix () used as prototype in include/linux/module.h

Checkin 7f5562635f80456c98d573cc45d10137dfcb1b8b had () used as a
prototype, which means (void) in C++, but means (...) in C, which is
almost never correct, and therefore issues a warning.  Change it to
the properly intended (void).

Cc: Siarhei Liakh <sliakh.lkml@...il.com>
Cc: Xuxian Jiang <jiang@...ncsu.edu>
LKML-Reference: <tip-7f5562635f80456c98d573cc45d10137dfcb1b8b@....kernel.org>
Signed-off-by: H. Peter Anvin <hpa@...or.com>
---
 include/linux/module.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/module.h b/include/linux/module.h
index c6040ce..3232b31 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -668,11 +668,11 @@ static inline int module_get_iter_tracepoints(struct tracepoint_iter *iter)
 	return 0;
 }
 
-static inline void set_all_modules_text_rw()
+static inline void set_all_modules_text_rw(void)
 {
 }
 
-static inline void set_all_modules_text_ro()
+static inline void set_all_modules_text_ro(void)
 {
 }
 #endif /* CONFIG_MODULES */
--
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