On Thu, Feb 09, 2012 at 09:14:18PM +0100, Szymon Janc wrote: > > Also, you just created the following build warning, please send me a > > patch fixing it up: > > > > drivers/staging/quickstart/quickstart.c: In function > > ‘quickstart_acpi_ghid’: drivers/staging/quickstart/quickstart.c:212:5: > > warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument > > 3 has type ‘acpi_size’ [-Wformat] > > acpi_size is u32 or u64 depending on arch, is it ok to just cast it to > unsigned int for printing? I don't get this warning on linux-next so I haven't looked at the code, but unsigned long would be more normal I think. regards, dan carpenter
Attachment:
signature.asc
Description: Digital signature
_______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel