EDAC: Boundary-check edac_debug_level
authorBorislav Petkov <borislav.petkov@amd.com>
Mon, 10 Sep 2012 14:50:54 +0000 (16:50 +0200)
committerBorislav Petkov <bp@alien8.de>
Wed, 28 Nov 2012 10:23:32 +0000 (11:23 +0100)
commit37929874d439d79e8f6128f400f63069ee1bbf3e
treeb0f8ac80ab7b804a03a47a0bb1457dfe2a39effc
parent876bb331e26b970c2d8caea2c1d1209fdae953d0
EDAC: Boundary-check edac_debug_level

Only levels [0:4] are allowed so enforce that. Also, while at it,
massage Kconfig text and add valid debug levels range to the module
parameter description.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/Kconfig
drivers/edac/edac_module.c