diff options
author | Luis R. Rodriguez <[email protected]> | 2018-03-10 06:14:48 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-03-20 09:28:46 +0100 |
commit | e05cb73f83918b9bde2063de08467f2261d0f5bb (patch) | |
tree | 65a79cec2f39d7d4983f2578e057fbbc901148d7 /drivers/base/firmware_loader/main.c | |
parent | 5d9566b144fdbbedf64dbf0907d2933fbcfb6872 (diff) |
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/main.c')
0 files changed, 0 insertions, 0 deletions