On Thu, 2007-03-08 at 17:45 +0100, Johannes Berg wrote: > and aborted when I got lots of errors, rt2400pci.i was created and has > about 26k lines. Running sparse on it (sparse rt2400pci.i) takes a lot > of memory too. I put the file up at > http://johannes.sipsolutions.net/files/rt2400pci.i FIELDS32 expands to some monstrosities. Look for rt2x00_bbp_write in the dump. Also behold the amount of parentheses in LOWEST_BIT32. That's almost certainly the culprit. I understand the idea is to make gcc calculate integer logarithms at the compile time. That's nice, but sparse has to do the same, and it's probably not optimized for such misuse. -- Regards, Pavel Roskin - 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