Re: [PATCH] i2c: twl4030: warning: mixed declarations and code

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

 



On Wed, Jun 11, 2008 at 09:53:45AM -0400, ext Eduardo Valentin wrote:
> > -       struct twl4030_usb *twl = xceiv_to_twl(xceiv);
> >        u32 l;
> > +       struct twl4030_usb *twl = xceiv_to_twl(xceiv);
> 
> To me you are just moving the place of this declaration.

Yes, because ISO C99 forbids mixed declaraction and code. build
tlw4030-usb and you'll see the warning. ;-)

-- 
	- Balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux