On 02/23/10 11:49, Randy Dunlap wrote: > Hi, > > You probably know that sparse produces a ton of errors & warnings when > run on the Linux kernel tree (a little over 1 MB in my latest 'make C=1' > on x86_64 arch.). > > I'm wondering if all of these are valid. > > Examples: (one addition) 7. from drivers/gpu/drm/radeon/atombios.h: #define VESA_OEM_PRODUCT_REV '01.00' #define VESA_MODE_ATTRIBUTE_MODE_SUPPORT 0xBB /* refer to VBE spec p.32, no TTY support */ causes sparse to say: drivers/gpu/drm/radeon/atombios.h:4091:63: error: Bad character constant drivers/gpu/drm/radeon/atombios.h:4092:1: error: Bad character constant That second one is a bit confusing. It's just a remnant of the first one... -- ~Randy -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html