diff options
| author | Wei Yongjun <[email protected]> | 2021-11-30 10:48:40 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-11-30 12:40:22 +0000 |
| commit | 196073f9c44be0b4758ead11e51bc2875f98df29 (patch) | |
| tree | d145e9f40771b881640cbb2fe7c90627b27757cb /drivers/net/ethernet/intel/igc | |
| parent | net: mscc: ocelot: fix mutex_lock not released (diff) | |
| download | kernel-196073f9c44be0b4758ead11e51bc2875f98df29.tar.gz kernel-196073f9c44be0b4758ead11e51bc2875f98df29.zip | |
net: ixp4xx_hss: drop kfree for memory allocated with devm_kzalloc
It's not necessary to free memory allocated with devm_kzalloc
and using kfree leads to a double free.
Fixes: 35aefaad326b ("net: ixp4xx_hss: Convert to use DT probing")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions
