aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorMichael Chan <[email protected]>2021-11-16 14:26:10 -0500
committerJakub Kicinski <[email protected]>2021-11-16 18:58:14 -0800
commit9f5363916a5099e618e6e40606e91b8ce0833754 (patch)
treef65148cfc44314bfc634214ce14e74d017e52784 /scripts/gdb/linux/proc.py
parent2460386bef0b9b98b71728d3c173e15558b78d82 (diff)
bnxt_en: Fix compile error regression when CONFIG_BNXT_SRIOV is not set
bp->sriov_cfg is not defined when CONFIG_BNXT_SRIOV is not set. Fix it by adding a helper function bnxt_sriov_cfg() to handle the logic with or without the config option. Fixes: 46d08f55d24e ("bnxt_en: extend RTNL to VF check in devlink driver_reinit") Reported-by: kernel test robot <[email protected]> Reviewed-by: Edwin Peer <[email protected]> Reviewed-by: Andy Gospodarek <[email protected]> Signed-off-by: Michael Chan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions