diff options
| author | Luis R. Rodriguez <[email protected]> | 2018-03-10 14:14:48 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-03-20 08:28:46 +0000 |
| commit | e05cb73f83918b9bde2063de08467f2261d0f5bb (patch) | |
| tree | 65a79cec2f39d7d4983f2578e057fbbc901148d7 /drivers/base/firmware_loader/fallback_table.c | |
| parent | firmware: use helpers for setting up a temporary cache timeout (diff) | |
| download | kernel-e05cb73f83918b9bde2063de08467f2261d0f5bb.tar.gz kernel-e05cb73f83918b9bde2063de08467f2261d0f5bb.zip | |
firmware: move loading timeout under struct firmware_fallback_config
The timeout is a fallback construct, so we can just stuff the
timeout configuration under struct firmware_fallback_config.
While at it, add a few helpers which vets the use of getting or
setting the timeout as an int. The main use of the timeout is
to set a timeout for completion, and that is used as an unsigned
long. There a few cases however where it makes sense to get or
set the timeout as an int, the helpers annotate these use cases
have been properly vetted for.
Acked-by: Kees Cook <[email protected]>
Signed-off-by: Luis R. Rodriguez <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/firmware_loader/fallback_table.c')
0 files changed, 0 insertions, 0 deletions
