diff options
author | 2014-02-04 23:23:40 +0100 | |
---|---|---|
committer | 2014-02-07 08:29:46 -0800 | |
commit | 7143479a6a4f853881b19999310ada53b616d2ca (patch) | |
tree | 7b3ebf25330c00c118d800cbf4c84aff199ee7ae /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | raw: test against runtime value of max_raw_minors (diff) | |
download | wireguard-linux-7143479a6a4f853881b19999310ada53b616d2ca.tar.xz wireguard-linux-7143479a6a4f853881b19999310ada53b616d2ca.zip |
raw: set range for MAX_RAW_DEVS
The Kconfig symbol MAX_RAW_DEVS is meant to be between 1 and 65536. But
those boundaries are not enforced by its Kconfig entry.
Note that MAX_RAW_DEVS is used to set MAX_RAW_MINORS in
drivers/char/raw.c. If one would accidentally set MAX_RAW_DEVS to an
invalid value, that invalid value will actually end up being used in
raw_init().
So add an appropriate range to this Kconfig entry.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions