aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_dynamic_debug.c
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 /lib/test_dynamic_debug.c
parentocteontx2-af: Promisc enable/disable through mbox (diff)
downloadlinux-rng-7709fbd4922c197efabda03660d93e48a3e80323.tar.xz
linux-rng-7709fbd4922c197efabda03660d93e48a3e80323.zip
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 'lib/test_dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions