summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2019-11-25 12:50:58 +0300
committerLuca Coelho <luciano.coelho@intel.com>2019-12-23 12:33:04 +0300
commit4f565ee2999960d541854389e20b78e7105e3afc (patch)
tree2cd93a1c7c942e3239c4afab972efa04bd9de58f /tools/perf/scripts/python/export-to-postgresql.py
parenta89c72ffd07369f5ccc74f0332d2785a7077241d (diff)
downloadlinux-4f565ee2999960d541854389e20b78e7105e3afc.tar.xz
iwlwifi: fix TLV fragment allocation loop
In the allocation loop, "pages" will never become zero (because of the DIV_ROUND_UP), so if we can't allocate any size and pages becomes 1, we will keep trying to allocate 1 page until it succeeds. And in that case, as coverity reported, block will never be NULL. Reported-by: coverity-bot <keescook+coverity-bot@chromium.org> Addresses-Coverity-ID: 1487402 ("Control flow issues") Fixes: 14124b25780d ("iwlwifi: dbg_ini: implement monitor allocation flow") Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Fixes: 14124b25780d ("iwlwifi: dbg_ini: implement monitor allocation flow") Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions