]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: use u8 * for raw byte buffers
authorThorsten Blum <thorsten.blum@linux.dev>
Fri, 10 Apr 2026 09:16:34 +0000 (11:16 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 28 Apr 2026 13:16:11 +0000 (16:16 +0300)
commit9f82bbcac0a0d7727d7cff84ef517bf015752c9d
tree928a8d5f27a33a2d8abe1854b95c649b1cf000f0
parent254f49634ee16a731174d2ae34bc50bd5f45e731
platform/x86: use u8 * for raw byte buffers

The buffer parameters in populate_{security,string}_buffer() and
call_{biosattributes,password}_interface() are raw byte buffers, not
character strings - use 'u8 *' instead of 'char *' to reflect this.

Update the local buffer variables at the call sites and in
populate_security_buffer() accordingly.

Suggested-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20260410091633.2822-4-thorsten.blum@linux.dev
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/dell/dell-wmi-sysman/biosattr-interface.c
drivers/platform/x86/dell/dell-wmi-sysman/dell-wmi-sysman.h
drivers/platform/x86/dell/dell-wmi-sysman/passwordattr-interface.c
drivers/platform/x86/dell/dell-wmi-sysman/sysman.c