aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2020-12-13 12:48:38 +0100
committerJakub Kicinski <[email protected]>2020-12-16 11:11:24 -0800
commitf87675b836b324d270fd52f1f5e6d6bb9f4bd1d5 (patch)
treef637f3759ef0b9fabc6df6f6d0b69acbbf5faa68 /lib/test_overflow.c
parentc18e68696fdd9fd293f051030bce5aaff3c9b185 (diff)
net: mscc: ocelot: Fix a resource leak in the error handling path of the probe function
In case of error after calling 'ocelot_init()', it must be undone by a corresponding 'ocelot_deinit()' call, as already done in the remove function. Fixes: a556c76adc05 ("net: mscc: Add initial Ocelot switch support") Signed-off-by: Christophe JAILLET <[email protected]> Acked-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions