diff options
author | Brett Creeley <[email protected]> | 2024-02-02 11:59:10 -0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-02-06 13:26:54 +0100 |
commit | 247c4ed03321cd1c971195b8127764d0826664a7 (patch) | |
tree | 8489a2739198394624d212dda945202d3998c6e5 /lib/string_helpers.c | |
parent | bca10f2c2518b333275becb7f53d6511f622e084 (diff) |
pds_core: Fix up some minor issues
Running xmastree.py against the driver found some
RCT issues, so fix them.
Also, if allocating pdsc->intr_info in pdsc_dev_init()
fails the driver still tries to free pdsc->intr_info.
Fix this by just returning -ENOMEM since there's
nothing to free at this point of failure.
Signed-off-by: Brett Creeley <[email protected]>
Reviewed-by: Shannon Nelson <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions