Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1622576imw; Sat, 9 Jul 2022 08:09:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vkPeSdwZpZb8V4vtJgjBJXyvPCfAljTCGxknY7fTVTh7A03BCUJACEfjJBL1SbXT+mDbkO X-Received: by 2002:a05:6402:2696:b0:43a:bd3f:6070 with SMTP id w22-20020a056402269600b0043abd3f6070mr5086788edd.358.1657379352342; Sat, 09 Jul 2022 08:09:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657379352; cv=none; d=google.com; s=arc-20160816; b=ml7zpzHIXbRqw+vgCDG3/RIHxlAHQkt3kvlWCNLfizCAKRH9zK1HmsSfpVHfKQ3E4G Suy5dH4TLn7Tkq1w6z6lq8Jq3Jm6CR4rvDf8XFiva/dllsG2xVWfAaxM/DbM/OxvnLUj wgmC42Ek3T9ZgPvR0UUZRZI5nFg+G+NYv4SRLx5ergVSKy+FadHgdGm5fBlsvVFVmYpC 99KAW3UKZoNGY2h4v7ZPGrfzxeNufVVOlMlD+bDayjZ9X79qM0IFJ3Mhr3tBByfGZvwY 9QSmfViE1+u9N4+FEHLK3LnY3OMz0+GZ6FphEkdf449j0z49c2VlswG4/kiDtUpjdMRm 0eNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=YNuUR8IL7aWclVdQQDh0X9l3C15Kxd+TTJgxbaYvY0c=; b=smkv9Hssomey+y1SkE9Fb10uXAdu+j9inVEkgI5uOAABoyoAmMkxlRMKzqdJyfr79R ceIjCitCSakjohmrYKJ54AxUE2DovYQlciFC+LbiKX3/+cTDukSZoTBSGpy+Ouwr3KVZ D7g/o3cVM4WJnjS+XVm7uzn2TUzwkKjtpS3wE8b1ZfX8j0CclYpwXbK4lthso3zf+E+f VCLJd3UWJdSS/ulTIm1N4vGf9o69YiPOMJ5ukiV/scSyCQTzo+Ozfb4GOGG1x36R8wfD D4VfNWto6zOX4ZV3foY2T1517Njb1FcMBKHAf/MmV0XYP6ES1zLLNJOFpZR6sjXXE+S2 7GWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=PAJ14VyD; dkim=neutral (no key) header.i=@linutronix.de header.b="9Y7/kazt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d16-20020a1709067f1000b00722f48fa046si2435340ejr.202.2022.07.09.08.08.47; Sat, 09 Jul 2022 08:09:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=PAJ14VyD; dkim=neutral (no key) header.i=@linutronix.de header.b="9Y7/kazt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229605AbiGIPBF (ORCPT + 99 others); Sat, 9 Jul 2022 11:01:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbiGIPBD (ORCPT ); Sat, 9 Jul 2022 11:01:03 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7B8833344; Sat, 9 Jul 2022 08:01:01 -0700 (PDT) From: Kurt Kanzenbach DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1657378859; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YNuUR8IL7aWclVdQQDh0X9l3C15Kxd+TTJgxbaYvY0c=; b=PAJ14VyDYmiYKSFIGzL/wof4GiClOzGdd9FIPluYfWm/q48+I6nQGprnSkf2EFWWPrMpvG 125U3BAC0FKAgPNp1FKYjn0S02eSaQ1KL2wFR7QqJ+v7/B5ZaKM5uiClK5KD/fjT6Yr+FH N27XVUhexSjaEd756NX0GHgWmQX8NlReeLzuJZhXcxtxWYxZUZXivGsSAF6qfIYIjiXjjy 1CWpfg+6BC8GLos/EZBDqpaVXz6aGROmtc/Qub53HlGVx4Cjd0UrmUf8K48jIzwQl/ySD4 WroW2eFuYZsWPXRPA8nu9ZpcxcYf7sGejOGxDdjad6k2AVSHj5Kfb3a7sZJJ1A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1657378859; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YNuUR8IL7aWclVdQQDh0X9l3C15Kxd+TTJgxbaYvY0c=; b=9Y7/kaztxrdaYUpDWU//5btk0J0TwQm9A3hZBBRrNoBrVkmlEjMMeGpN4QMoe01KBOTBsY bBL2vMvwujCGboDA== To: Christophe JAILLET , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , netdev@vger.kernel.org Subject: Re: [PATCH] net: dsa: hellcreek: Use the bitmap API to allocate bitmaps In-Reply-To: <8306e2ae69a5d8553691f5d10a86a4390daf594b.1657376651.git.christophe.jaillet@wanadoo.fr> References: <8306e2ae69a5d8553691f5d10a86a4390daf594b.1657376651.git.christophe.jaillet@wanadoo.fr> Date: Sat, 09 Jul 2022 17:00:58 +0200 Message-ID: <874jzq8h5h.fsf@kurt> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain On Sat Jul 09 2022, Christophe JAILLET wrote: > Use devm_bitmap_zalloc() instead of hand-writing them. > > It is less verbose and it improves the semantic. > > Signed-off-by: Christophe JAILLET Acked-by: Kurt Kanzenbach --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCgAxFiEEvLm/ssjDfdPf21mSwZPR8qpGc4IFAmLJmCoTHGt1cnRAbGlu dXRyb25peC5kZQAKCRDBk9HyqkZzgh3FD/wP4e1qoeYNeVmgedgEvaPd+DndGK0L sbXrHXnL1WttLs1FBc79XvkmO7yfO/5Hy8IuiA8U88UZL3F9aMtrziJBwoQW5DgS bUceauMkrLGVYjNMxmzRUgUGtrn5maNtFyjvu4S2/55I3fKoS5P9M93BY3+fYtem xhYcU9GB2BadnIMtItiImDKyP9UFDeu/o30n17uGciJZq8cg16cqHsYqIhZvDs6F OUrLNIy0IHcl4UBhokzXqTnAZjGIRbjwwWH9kXQPsoFw2KZhJ8U+EPyOjF9AfVP1 gBblLyE3vStnD3FG8DFkxX2/NHGAYbDD7/9evRxLjXJxWUiRPB2nn9+/ceBYrikh y3E7mqG0CbPBjS5WNYtsP4DUCs0ugED/2oja84ncWyGwCK7ZCPeJ/4zUWuk+Mlkp SuSOgLvlL2aNK5q9KHsGLzZ3sgfK+QOnt6npDIiwpgaISbAmNqivh0d8WeYZN4Ws DATBhfpi79BR78gKh5J/uYbE0e9dqYeNc2aOnzK8Vb45ESR8DWH68XsP5gQrATOm VdqN8lhsT5RI/401trMwdiaT04d4CUnAaAlzidl5KeZc4Bu/jJk/9IRDEv2XZ7NE TDq7o67nFIqNOVaekUOnDJ1+yK0kwTiBIz/YDzSui3ifG/PLW5ukGIwmPhQnBkhE aD+4o2y0W4NkLg== =zwcA -----END PGP SIGNATURE----- --=-=-=--