summaryrefslogtreecommitdiff
path: root/lib/test_hmm_uapi.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-08-25 16:17:19 +0300
committerJakub Kicinski <kuba@kernel.org>2022-08-26 19:47:36 -0700
commit931d0a8b201a46aedb7767087438ea9e4467b6cd (patch)
treea41511abf63f7e3dea1a30904fec2d81afdc813c /lib/test_hmm_uapi.h
parent7dea06dbb097c7cbf6fd930960c32944829468a9 (diff)
net: fman: memac: Uninitialized variable on error path
The "fixed_link" is only allocated sometimes but it's freed unconditionally in the error handling. Set it to NULL so we don't free uninitialized data. Fixes: 9ea4742a55ca ("net: fman: Configure fixed link in memac_initialization") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Sean Anderson <sean.anderson@seco.com> Link: https://lore.kernel.org/r/Ywd2X6gdKmTfYBxD@kili Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/test_hmm_uapi.h')
0 files changed, 0 insertions, 0 deletions