Thread (13 messages) 13 messages, 3 authors, 2021-05-28

Re: [PATCH leds v1 1/5] leds: trigger: netdev: don't explicitly zero kzalloced data

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-05-27 16:38:45
Also in: linux-leds

On Wed, May 26, 2021 at 08:00:16PM +0200, Marek Behún wrote:
The trigger_data struct is allocated with kzalloc, so we do not need to
explicitly set members to zero.

Signed-off-by: Marek Behún <kabel@kernel.org>
Acked-by: Pavel Machek <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help