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: <20061017003649.dee35867.akpm@osdl.org>
Date:	Tue, 17 Oct 2006 00:36:49 -0700
From:	Andrew Morton <akpm@...l.org>
To:	"Miles Lane" <miles.lane@...il.com>
Cc:	dbrownell@...rs.sourceforge.net, linux-kernel@...r.kernel.org,
	linux-usb-devel@...ts.sourceforge.net
Subject: Re: 2.6.19-rc2-mm1

On Tue, 17 Oct 2006 00:03:56 -0700
"Miles Lane" <miles.lane@...il.com> wrote:

>   CC [M]  drivers/usb/gadget/net2280.o
> drivers/usb/gadget/net2280.c: In function 'usb_gadget_register_driver':
> drivers/usb/gadget/net2280.c:2047: error: expected expression before 'do'
> drivers/usb/gadget/net2280.c:2049: error: expected expression before 'do'
> drivers/usb/gadget/net2280.c: In function 'net2280_probe':
> drivers/usb/gadget/net2280.c:2989: error: expected expression before 'do'
> drivers/usb/gadget/net2280.c:2972: warning: ignoring return value of

This, I guess:

--- a/drivers/usb/gadget/net2280.c~usb-gadget-net2280-handle-sysfs-errors-fix
+++ a/drivers/usb/gadget/net2280.c
@@ -1774,7 +1774,7 @@ static DEVICE_ATTR (queues, S_IRUGO, sho
 
 #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