From: Jiri Pirko <j...@resnulli.us> Date: Tue, 22 Dec 2015 09:43:07 +0100
> From: Jiri Pirko <j...@mellanox.com> > > KASan reported use-after-free for the hwmon structure. So fix this by > using devm_kzalloc and let the core take care about freeing the memory > during device dettach. > > Reported-by: Ido Schimmel <ido...@mellanox.com> > Fixes: 89309da39 ("mlxsw: core: Implement temperature hwmon interface") > Signed-off-by: Jiri Pirko <j...@mellanox.com> Applied, thanks Jiri. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html