diff options
| author | Andrew Goodbody <[email protected]> | 2025-08-04 17:56:58 +0100 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2025-08-27 15:42:08 +0800 |
| commit | 010a4c5c553763430b3e9628ae2c82de3d5f45dd (patch) | |
| tree | edb456deca6f9d5980149ed2cdf3d2231dfcc18b /scripts/env2string.awk | |
| parent | 9ca756cee7e8f9d6ecc0a69fa785caabd61f3f6a (diff) | |
net: fsl-mc: NULL check dflt_dpni before dereference
In dpni_exit there is a NULL check for dflt_dpni after it is
dereferenced a number of times. Instead move the NULL check to early in
the function. Also assign NULL to dflt_dpni after free in both dpni_init
and dpni_exit.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'scripts/env2string.awk')
0 files changed, 0 insertions, 0 deletions
