Tag: 7cefdd1f55ec075f1f2da0a321495d5a8262ffaa

drivers/net/phy/mdio-mux-gpio.c: drop devm_kfree of devm_kzalloc’d data

Author: Julia Lawall <Julia.Lawall@lip6.fr> devm_kfree should not have to be explicitly used. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression x,d; @@ x = devm_kzalloc(…) … ?-devm_kfree(d,x); // Signed-off-by: Julia Lawall Signed-off-by: David S. Miller — drivers/net/phy/mdio-mux-gpio.c | 1 – 1 file changed, 1 deletion(-)   diff –git a/drivers/net/phy/mdio-mux-gpio.c …

Continue reading