]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: hp-bioscfg: Skip empty attribute names
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 28 Jan 2026 19:04:45 +0000 (13:04 -0600)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 29 Jan 2026 12:37:24 +0000 (14:37 +0200)
commit6222883af286e2feb3c9ff2bf9fd8fdf4220c55a
tree0efb7e9c7fa0bd5cf25d5ba46146a3a791125aac
parentfe747d7112283f47169e9c16e751179a9b38611e
platform/x86: hp-bioscfg: Skip empty attribute names

Avoid registering kobjects with empty names when a BIOS attribute
name decodes to an empty string.

Fixes: a34fc329b1895 ("platform/x86: hp-bioscfg: bioscfg")
Reported-by: Alain Cousinie <alain.cousinie@laposte.net>
Closes: https://lore.kernel.org/platform-driver-x86/22ed5f78-c8bf-4ab4-8c38-420cc0201e7e@laposte.net/
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://patch.msgid.link/20260128190501.2170068-1-mario.limonciello@amd.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/hp/hp-bioscfg/bioscfg.c