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]
Date:	Sat, 26 Aug 2006 17:28:55 +0200
From:	Adrian Bunk <bunk@...sta.de>
To:	Andrew Morton <akpm@...l.org>,
	Shem Multinymous <multinymous@...il.com>
Cc:	linux-kernel@...r.kernel.org, Pavel Machek <pavel@...e.cz>
Subject: [-mm patch] fix drivers/hwmon/hdaps.c:hdaps_check_ec() function declaration

On Sat, Aug 19, 2006 at 10:00:08PM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.18-rc4-mm1:
>...
> +hdaps-add-explicit-hardware-configuration-functions-fix.patch
> 
>  Fix hdaps-add-explicit-hardware-configuration-functions.patch
>...

Both sparce and SVN gcc complained about this non-ANSI function 
declaration.

Signed-off-by: Adrian Bunk <bunk@...sta.de>

--- linux-2.6.18-rc4-mm2/drivers/hwmon/hdaps.c.old	2006-08-26 17:15:06.000000000 +0200
+++ linux-2.6.18-rc4-mm2/drivers/hwmon/hdaps.c	2006-08-26 17:15:17.000000000 +0200
@@ -305,7 +305,7 @@
  * Follows the clean-room spec for HDAPS; we don't know what it means.
  * Returns zero on success and negative error code on failure.  Can sleep.
  */
-static int hdaps_check_ec()
+static int hdaps_check_ec(void)
 {
 	const struct thinkpad_ec_row args =
 		{ .mask=0x0003, .val={0x17, 0x81} };

-
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