mm/page_table_check.c: use strtobool for param parsing
authorDr. David Alan Gilbert <linux@treblig.org>
Tue, 22 Mar 2022 21:48:04 +0000 (14:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2022 22:57:11 +0000 (15:57 -0700)
commit597da28e1abb4ad9f7255cbb57354158fd853e19
tree10c27024b1adce617f722479535425eff7c5ec26
parent7a3f2263d72d5055a56bc52ce97f5ded7853a41e
mm/page_table_check.c: use strtobool for param parsing

Use strtobool rather than open coding "on" and "off" parsing.

Link: https://lkml.kernel.org/r/20220227181038.126926-1-linux@treblig.org
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_table_check.c