]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7f22aba4e58d4aebaa4950d77118cd83aad299e5
tree10c27024b1adce617f722479535425eff7c5ec26
parentebd0d2c876e855d99ae0be225d96d383a7fd99b5
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