summaryrefslogtreecommitdiff
path: root/drivers/ptp/Kconfig
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@intel.com>2021-08-06 18:15:46 -0700
committerDavid S. Miller <davem@davemloft.net>2021-08-08 12:56:41 +0100
commitd329e41a08f37c478159d5c3379a17b9c07befa3 (patch)
treed8df2ca2a3ae7cd50400c9ac5020b1e576906534 /drivers/ptp/Kconfig
parent2383cb9497d113360137a2be308b390faa80632d (diff)
ptp: Fix possible memory leak caused by invalid cast
Fixes possible leak of PTP virtual clocks. The number of PTP virtual clocks to be unregistered is passed as 'u32', but the function that unregister the devices handles that as 'u8'. Fixes: 73f37068d540 ("ptp: support ptp physical/virtual clocks conversion") Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp/Kconfig')
0 files changed, 0 insertions, 0 deletions