On Sat, Apr 26, 2008 at 03:45:54PM +0200, Vegard Nossum wrote:Hi Vegard. I really like the idea to use some automated checks to increase the quality of our headers. And that raises the question about what is the most important issue we have with our headers and how do we detect them in the best possible way? To detect inclusion cycles in a configured kernel I really think sparse is the better place to detect it. We have sparse as an advenced sanity check tool and adding the possibility to detect inclusion cycles should be easier than it was to cook up this perl script. But we have much more important issues. In general we have far to many dependencies in the current headers and too much code rely on headers being implicitly pulled. We have headers that uses types we actually do not want to use in the kernel. We have headers that export stuff to userspace they shouldnt. We have heders defining prototypes for non existing functions. We have headers defining extern variables that no longer exists. You could continue the list. And some of the above topics are really newbies material to fix. If you then decide to automate it then I would need a good explanation why we did not use sparse before considering including the tool in the kernel. So I do not plan to apply this patch because this should be done in sparse and not in a random perl script. Not a big deal - we neither support this for sparse. I like this part. I would be nice to see a full dependency graph for any file that kbuild builds. But again maybe we should do this as a sparse backend? Sam --
| Ryan Hope | reiser4 for 2.6.27-rc1 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Pierre Ossman | [RFC][PATCH] cpuidle: avoid singing capacitors |
| Rafael J. Wysocki | 2.6.26-rc9-git12: Reported regressions from 2.6.25 |
git: | |
| Marius Storm-Olsen | Stats in Git |
| Jakub Narebski | [PATCH] gitweb: Use File::Find::find in git_get_projects_list |
| Johannes Schindelin | [PATCH 01/15] Mark strings for translation. |
| Linus Torvalds | Re: git and larger trees, not so fast? |
| Richard Stallman | Real men don't attack straw men |
| Steven Surdock | Problems with second ipsec(ctl) tunnel |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Bertram Scharpf | First install: Grub doesn't find partitions |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Stephen Pierce | SLS |
| Les Andrzejewski | X386/WD90C31/SUMSUNG SYNC MASTER 4 |
| Sander van Malssen | uemacs |
