diff options
author | 2018-03-10 06:14:48 -0800 | |
---|---|---|
committer | 2018-03-20 09:28:46 +0100 | |
commit | e05cb73f83918b9bde2063de08467f2261d0f5bb (patch) | |
tree | 65a79cec2f39d7d4983f2578e057fbbc901148d7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | firmware: use helpers for setting up a temporary cache timeout (diff) | |
download | linux-dev-e05cb73f83918b9bde2063de08467f2261d0f5bb.tar.xz linux-dev-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 <keescook@chromium.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions