* Re: [PATCH] add pin memory method for checkout add restore
[not found] <a68df79992c04bbf8167748dbeca1fcc@huawei.com>
@ 2020-12-18 16:59 ` Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2020-12-18 16:59 UTC (permalink / raw)
To: hejingxian, Andrew Morton, linux-kernel, linux-mm
Cc: Hushiyuan, hewenliang (C)
Hi,
On 12/18/20 6:25 AM, hejingxian wrote:
> diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
> index 26956c0..73af2f0 100644
> --- a/drivers/char/Kconfig
> +++ b/drivers/char/Kconfig
> @@ -560,3 +560,10 @@ config RANDOM_TRUST_BOOTLOADER
> booloader is trustworthy so it will be added to the kernel's entropy
> pool. Otherwise, say N here so it will be regarded as device input that
> only mixes the entropy pool.
> +
> +config PIN_MEMORY_DEV
> + bool "/dev/pinmem character device"
> + depends PIN_MEMORY
depends on
> + default n
Don't need default n, it's already the default.
> + help
> + pin memory driver
Better help text, please. Also, it should be indented by 2 (more) spaces.
thanks.
--
~Randy
^ permalink raw reply [flat|nested] only message in thread