diff options
author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | 2017-12-01 03:13:05 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-02 21:25:38 -0500 |
commit | ebd5818cc5d4847897d7fe872e2d9799d7b7fcbb (patch) | |
tree | 22971f18f36b10f8da36294f8f56596efd1103c2 /tools/perf/scripts/python/futex-contention.py | |
parent | e9ecc731a87912d209d6e9b4ed20ed70451c08cb (diff) |
bnxt_en: Fix a variable scoping in bnxt_hwrm_do_send_msg()
short_input variable is assigned to another data pointer which is
referred out of its scope. Fix it by moving short_input definition
to the beginning of bnxt_hwrm_do_send_msg() function.
No failure has been reported so far due to this issue.
Fixes: e605db801bde ("bnxt_en: Support for Short Firmware Message")
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions