Adrian Bunk wrote:At least for the scheduler patch that started this thread this was not the case. One was a global variable and the other was a callback from proc. Both cannot be inlined. Yes it's good to catch those. However I suspect there are better tools for that that do it less work intensive. Traditionally in the Unix world "lint" has been used to track this kind of bugs (dating back from before prototypes were added to C). Now running any lint over the kernel source would result in a incredibly number of warnings I'm sure, but perhaps one can be configured to only output warnings related to inconsistent prototypes over files. There are a couple of free lints like the one in NetBSD or splint. Sounds like the variable should just have been removed then in the source? -Andi --
| Yu Zhao | [PATCH 2/16 v6] PCI: define PCI resource names in an 'enum' |
| Greg Kroah-Hartman | [PATCH 011/196] sysfs: Fix a copy-n-paste typo in comment |
| Laurent Riffard | Re: 2.6.23-mm1: BUG in reiserfs_delete_xattrs |
| Ben Crowhurst | Kernel Development & Objective-C |
git: | |
| Kyle Rose | [OT] Re: C++ *for Git* |
| cte | linking libgit.a in C++ projects |
| Linus Torvalds | Re: CRLF problems with Git on Win32 |
| Pierre Habouzit | Re: [PATCH] bundle, fast-import: detect write failure |
| Thor Lancelot Simon | Re: sysctl knob to let sugid processes dump core (pr 15994) |
| YAMAMOTO Takashi | Re: Patches for EST and SMP |
| Bill Studenmund | Re: @booted_kernel magic symlink? |
| Adam Hamsik | Re: Thread benchmarks, round 2 |
| Chris | OpenBSD 4.4 installation error: write failed; file system full |
| Samuel Moñux | Cyrus IMAP performance problems [Long] |
| Steve B | Intel Atom and D945GCLF2 |
| James Hartley | scp batch mode? |
