Re: 2.6.19-rc2-mm1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 17 Oct 2006 00:03:56 -0700
"Miles Lane" <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux