From: Jiri Pirko <[email protected]>
Date: Tue, 22 Dec 2015 09:43:07 +0100

> From: Jiri Pirko <[email protected]>
> 
> 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 <[email protected]>
> Fixes: 89309da39 ("mlxsw: core: Implement temperature hwmon interface")
> Signed-off-by: Jiri Pirko <[email protected]>

Applied, thanks Jiri.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to