commit | 07ed62041de9fa0d1ecb025b8f6fd8691c26f26e | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <vladimir.oltean@nxp.com> | Mon Sep 27 14:22:05 2021 +0300 |
committer | Ramon Fried <rfried.dev@gmail.com> | Tue Sep 28 18:50:57 2021 +0300 |
tree | b5fe674b0e40c0fa97bd8a360da79bdb335c4b0d | |
parent | 3996985a7d8accf23ea4131ff3b7f643c8158d7c [diff] |
scripts: ensure the cocci script for miiphy_register does not leak the MDIO bus When mdio_register fails, mdio_free should be called on the mdiodev that was previously allocated with mdio_alloc. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>