summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2023-02-22 20:09:08 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2023-03-13 20:32:31 +0300
commit28756d9ec93e6588b1c3a00cc9123e238a71c709 (patch)
treeae11c73c6f9824fc521895598643dccb84fd4e25 /scripts/gdb/linux/interrupts.py
parent504ce971f260c178fa625f1278d9a762bc366504 (diff)
downloadlinux-28756d9ec93e6588b1c3a00cc9123e238a71c709.tar.xz
ice: convert ice_mbx_clear_malvf to void and use WARN
The ice_mbx_clear_malvf function checks for a few error conditions before clearing the appropriate data. These error conditions are really warnings that should never occur in a properly initialized driver. Every caller of ice_mbx_clear_malvf just prints a dev_dbg message on failure which will generally be ignored. Convert this function to void and switch the error return values to WARN_ON. This will make any potentially misconfiguration more visible and makes future refactors that involve changing how we store the malicious VF data easier. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Tested-by: Marek Szlosek <marek.szlosek@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions