From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40B06C63777 for ; Wed, 25 Nov 2020 12:35:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EC23F206F7 for ; Wed, 25 Nov 2020 12:35:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729432AbgKYMe5 (ORCPT ); Wed, 25 Nov 2020 07:34:57 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:43922 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726162AbgKYMe4 (ORCPT ); Wed, 25 Nov 2020 07:34:56 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 5200D1C0B7D; Wed, 25 Nov 2020 13:34:53 +0100 (CET) Date: Wed, 25 Nov 2020 13:34:52 +0100 From: Pavel Machek To: Marek =?iso-8859-1?Q?Beh=FAn?= Cc: netdev@vger.kernel.org, linux-leds@vger.kernel.org, Dan Murphy , Russell King , Andrew Lunn , Matthias Schiffer , "David S. Miller" , Jacek Anaszewski , Ben Whitten Subject: Re: [PATCH RFC leds + net-next 1/7] leds: trigger: netdev: don't explicitly zero kzalloced data Message-ID: <20201125123452.GH29328@amd> References: <20201030114435.20169-1-kabel@kernel.org> <20201030114435.20169-2-kabel@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BXr400anF0jyguTS" Content-Disposition: inline In-Reply-To: <20201030114435.20169-2-kabel@kernel.org> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org --BXr400anF0jyguTS Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri 2020-10-30 12:44:29, Marek Beh=FAn wrote: > The trigger_data struct is allocated with kzalloc, so we do not need to > explicitly set members to zero. >=20 > Signed-off-by: Marek Beh=FAn Acked-by: Pavel Machek --=20 http://www.livejournal.com/~pavelmachek --BXr400anF0jyguTS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl++T2wACgkQMOfwapXb+vL8+wCfV9aovEv2ZXH7tU/+Thx4lu3g ggkAnRrTzWt2MXjjQuEqXv8VdoR+GtsQ =i18V -----END PGP SIGNATURE----- --BXr400anF0jyguTS--