summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSai Krishna <saikrishnag@marvell.com>2023-07-06 13:59:36 +0530
committerDavid S. Miller <davem@davemloft.net>2023-07-07 09:08:57 +0100
commit7709fbd4922c197efabda03660d93e48a3e80323 (patch)
tree72936cca36d6c703d7b377b8504e7cd871cec61c /scripts/gdb/linux/utils.py
parentaf42088bdaf292060b8d8a00d8644ca7b2b3f2d1 (diff)
octeontx2-af: Move validation of ptp pointer before its usage
Moved PTP pointer validation before its use to avoid smatch warning. Also used kzalloc/kfree instead of devm_kzalloc/devm_kfree. Fixes: 2ef4e45d99b1 ("octeontx2-af: Add PTP PPS Errata workaround on CN10K silicon") Signed-off-by: Naveen Mamindlapalli <naveenm@marvell.com> Signed-off-by: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: Sai Krishna <saikrishnag@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions