linux/Documentation
Andres Rodriguez 7dcc01343e firmware: add firmware_request_nowarn() - load firmware without warnings
Currently the firmware loader only exposes one silent path for querying
optional firmware, and that is firmware_request_direct(). This function
also disables the sysfs fallback mechanism, which might not always be the
desired behaviour [0].

This patch introduces a variations of request_firmware() that enable the
caller to disable the undesired warning messages but enables the sysfs
fallback mechanism. This is equivalent to adding FW_OPT_NO_WARN to the
old behaviour.

[0]: https://git.kernel.org/linus/c0cc00f250e1

Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Luis R. Rodriguez <mcgrof@kernel.org>
[mcgrof: used the old API calls as the full rename is not done yet, and
 add the caller for when FW_LOADER is disabled, enhance documentation ]
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-14 16:44:41 +02:00
..
2018-04-10 10:22:27 -07:00
2018-04-09 11:42:31 -07:00
2018-04-06 12:15:41 -07:00
2018-04-09 11:42:31 -07:00
2017-09-07 21:11:05 -07:00
2018-04-11 10:28:39 -07:00
2018-04-27 10:03:38 -07:00
2018-03-28 14:30:41 +10:00
2018-04-03 16:28:01 -07:00
2018-02-21 09:57:55 +01:00
2018-04-27 09:37:12 -07:00
2018-02-22 15:00:43 -06:00
2018-03-06 17:26:15 +01:00
2017-07-07 13:55:45 -07:00
2018-03-26 12:13:21 -04:00
2018-03-01 17:32:14 +01:00
2017-11-14 18:01:46 -08:00
2018-04-11 10:28:35 -07:00
2018-04-11 10:28:39 -07:00
2018-03-26 15:57:04 +02:00
2017-12-16 22:37:12 -08:00
2018-03-16 10:56:05 +01:00
2017-08-19 11:02:53 -07:00
2017-07-14 13:51:34 -06:00
2017-07-14 13:51:42 -06:00
2017-07-14 13:51:43 -06:00
2017-07-14 13:51:43 -06:00
2017-07-14 13:51:45 -06:00
2017-07-14 13:51:45 -06:00
2017-07-14 13:51:46 -06:00
2017-07-14 13:57:58 -06:00
2017-07-14 13:57:59 -06:00
2017-07-06 08:23:30 +02:00
2017-07-14 13:58:04 -06:00
2017-07-14 13:58:14 -06:00
2017-07-14 13:58:10 -06:00
2017-07-14 13:58:11 -06:00