diff options
author | Luis R. Rodriguez <mcgrof@kernel.org> | 2018-03-10 06:14:48 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-20 09:28:46 +0100 |
commit | e05cb73f83918b9bde2063de08467f2261d0f5bb (patch) | |
tree | 65a79cec2f39d7d4983f2578e057fbbc901148d7 /net/sunrpc | |
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 <keescook@chromium.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions