diff options
author | Sai Krishna <saikrishnag@marvell.com> | 2023-07-06 11:29:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-07-07 11:08:57 +0300 |
commit | 7709fbd4922c197efabda03660d93e48a3e80323 (patch) | |
tree | 72936cca36d6c703d7b377b8504e7cd871cec61c /drivers/net/ipa/ipa_gsi.c | |
parent | af42088bdaf292060b8d8a00d8644ca7b2b3f2d1 (diff) | |
download | linux-7709fbd4922c197efabda03660d93e48a3e80323.tar.xz |
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 'drivers/net/ipa/ipa_gsi.c')
0 files changed, 0 insertions, 0 deletions