diff options
| author | Sathya Perla <sathya.perla@broadcom.com> | 2017-08-28 20:40:32 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-08-29 02:57:10 +0300 |
| commit | 70855603e0a129d1c810947a4e4dd7ecd6f4560d (patch) | |
| tree | a29c77bbb76ed7408e90586aa3083ae95e70557e /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | d5430d31ca72ec37fd539fd1c5230859509be4ef (diff) | |
| download | linux-70855603e0a129d1c810947a4e4dd7ecd6f4560d.tar.xz | |
bnxt_en: fix clearing devlink ptr from bnxt struct
The routine bnxt_link_bp_to_dl() is used to set the devlink ptr
in bnxt struct (bp) and also to set the bnxt back ptr in
the devlink struct. If devlink_register() fails, bp->dl must
be cleared which is not happening currently. This patch fixes
bnxt_link_bp_to_dl() to clear bp->dl by passing a NULL dl ptr.
Fixes: 4ab0c6a8ffd7 ("bnxt_en: add support to enable VF-representors")
Signed-off-by: Sathya Perla <sathya.perla@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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
