diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-10-18 12:05:57 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 23:37:23 +0200 |
commit | 49ffcf8f99e8d33ec8afb450956804af518fd788 (patch) | |
tree | f55aac9ddebb4f798ba8ff8152c73a73a3dc93a2 /drivers/cpufreq/cpufreq_ondemand.c | |
parent | sysctl: Error on bad sysctl tables (diff) | |
download | linux-49ffcf8f99e8d33ec8afb450956804af518fd788.tar.xz linux-49ffcf8f99e8d33ec8afb450956804af518fd788.zip |
sysctl: update sysctl_check_table
Well it turns out after I dug into the problems a little more I was returning
a few false positives so this patch updates my logic to remove them.
- Don't complain about 0 ctl_names in sysctl_check_binary_path
It is valid for someone to remove the sysctl binary interface
and still keep the same sysctl proc interface.
- Count ctl_names and procnames as matching if they both don't
exist.
- Only warn about missing min&max when the generic functions care.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/cpufreq/cpufreq_ondemand.c')
0 files changed, 0 insertions, 0 deletions