]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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 <borislav.petkov@amd.com>
Wed, 24 Oct 2012 14:55:25 +0000 (16:55 +0200)
commitb8b3b32e8efd91c6b324832c9981b69355e81c53
tree4b11ccbf30caeba85659b5dceb5accdb13ef4960
parentcfe696c183be48b7b35613eb9b2de7bc1b55dbf0
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