aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorBrett Creeley <[email protected]>2019-11-08 06:23:26 -0800
committerJeff Kirsher <[email protected]>2019-11-22 13:15:17 -0800
commit4015d11e4b9720718de7df28d25c04d08d8b6226 (patch)
treedff3fc55ea8b6e5ec0a80c6c4f2d6c402915cfc7 /scripts/gdb/linux/tasks.py
parent9efe35d0db84cb7189e4a2c3d6a50eefd4380ff9 (diff)
ice: Add ice_pf_to_dev(pf) macro
We use &pf->dev->pdev all over the code. Add a simple macro to do this for us. When multiple de-references like this are being done add a local struct device variable. Signed-off-by: Brett Creeley <[email protected]> Signed-off-by: Tony Nguyen <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions