Re: [PATCH] firmware_loader: allow firmware_class.path to take multiple paths

From: Greg Kroah-Hartman

Date: Wed Mar 18 2026 - 08:44:33 EST


On Wed, Mar 18, 2026 at 08:25:54AM -0400, Jeff Layton wrote:
> Refactor fw_get_filesystem_firmware() by extracting the per-path
> firmware loading logic into a new fw_try_firmware_path() helper.
>
> Use this helper to parse fw_path_para for ';'-separated paths,
> trying each one before falling through to the default firmware
> search paths. This allows users to specify multiple custom firmware
> directories via firmware_class.path, e.g.:
>
> firmware_class.path=/custom/path1;/custom/path2

Why are you using ';' and not ':' as the traditional path separation
character? And where is this now documented?

thanks,

greg k-h