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: <200610191731.07406.bero@arklinux.org>
Date:	Thu, 19 Oct 2006 17:31:07 +0200
From:	Bernhard Rosenkraenzer <bero@...linux.org>
To:	linux-kernel@...r.kernel.org
Subject: [PATCH] 2.6.19-rc2-mm1: make net2280 compile without CONFIG_USB_GADGET_DEBUG_FILES

If CONFIG_USB_GADGET_DEBUG_FILES is disabled, net2280 #defines 
device_create_file(a,b) to do {} while (0).
Later on, it does result = device_create_file(.....)

Signed-off-by: Bernhard Rosenkraenzer <bero@...linux.org>

--- linux-2.6.18/drivers/usb/gadget/net2280.c.ark	2006-10-19 
16:38:59.000000000 +0200
+++ linux-2.6.18/drivers/usb/gadget/net2280.c	2006-10-19 17:18:36.000000000 
+0200
@@ -1774,7 +1774,7 @@
 
 #else
 
-#define device_create_file(a,b)	do {} while (0)
+#define device_create_file(a,b)	0
 #define device_remove_file	device_create_file
 
 #endif
-
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