[PATCH v3] nvdimm: Use kstrtobool() instead of strtobool()

2023-07-12 Thread Christophe JAILLET
strtobool() is the same as kstrtobool(). However, the latter is more used within the kernel. In order to remove strtobool() and slightly simplify kstrtox.h, switch to the other function name. While at it, include the corresponding header file () Reviewed-by: Vishal Verma Signed-off-by:

Re: [PATCH v2] ACPI: NFIT: limit string attribute write

2023-07-12 Thread Ben Dooks
On 11/07/2023 16:28, Dave Jiang wrote: On 7/11/23 02:37, Ben Dooks wrote: If we're writing what could be an arbitrary sized string into an attribute we should probably use sysfs_emit() just to be safe. Most of the other attriubtes are some sort of integer so unlikely to be an issue so not