From: Luca Boccassi Date: Mon, 6 Jan 2025 11:06:23 +0000 (+0000) Subject: sd-device: fix validation for devices under /sys/firmware/ in sd_device_new_from_subs... X-Git-Tag: v258-rc1~1701 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=807db92ab4276f085c8e1fcfe4f5ff256fefc5fb;p=thirdparty%2Fsystemd.git sd-device: fix validation for devices under /sys/firmware/ in sd_device_new_from_subsystem_sysname() (#35863) Devices under /sys/firmware/ do not have subsystems. Hence, the validation in sd_device_new_from_subsystem_sysname() -> device_new_from_path_join() always failed. Fixes a bug introduced by cd7c71154cd62d3f50c07ce387edd9c20aebd7bc (v257). Fixes #35861. --- 807db92ab4276f085c8e1fcfe4f5ff256fefc5fb