]> git.baikalelectronics.ru Git - kernel.git/commit
lkdtm: rename "count" to "crash_count"
authorKees Cook <keescook@chromium.org>
Mon, 27 Jun 2016 05:40:13 +0000 (22:40 -0700)
committerKees Cook <keescook@chromium.org>
Thu, 7 Jul 2016 18:09:24 +0000 (11:09 -0700)
commit3a8dd0b2c22763e5e89c7e63ade8924002621045
tree61ac1892d3767092e7b6f5a13e81baa1ce8dba3b
parentdd22c6694ad8065f7f90732234e4f00ed2ac40c0
lkdtm: rename "count" to "crash_count"

The "count" variable name was not easy to understand, since it was regularly
obscured by local variables of the same name, and it's purpose wasn't clear.
This renames it (and its lock) to "crash_count", which is more readable.

Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/misc/lkdtm_core.c