summaryrefslogtreecommitdiffstats
path: root/Documentation/fb
diff options
context:
space:
mode:
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>2019-12-10 02:49:12 -0500
committerDavid S. Miller <davem@davemloft.net>2019-12-10 17:37:14 -0800
commit937f188c1f4f89b3fa93ba31fc8587dc1fb14a22 (patch)
treefff2be98cc9f39c892ebba9d43f416c7ddebaa4e /Documentation/fb
parent0797c10d2d1fa0d6f14612404781b348fc757c3e (diff)
downloadlinux-937f188c1f4f89b3fa93ba31fc8587dc1fb14a22.tar.bz2
bnxt_en: Fix the logic that creates the health reporters.
Fix the logic to properly check the fw capabilities and create the devlink health reporters only when needed. The current code creates the reporters unconditionally as long as bp->fw_health is valid, and that's not correct. Call bnxt_dl_fw_reporters_create() directly from the init and reset code path instead of from bnxt_dl_register(). This allows the reporters to be adjusted when capabilities change. The same applies to bnxt_dl_fw_reporters_destroy(). Fixes: 6763c779c2d8 ("bnxt_en: Add new FW devlink_health_reporter") 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 'Documentation/fb')
0 files changed, 0 insertions, 0 deletions