Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp4879205pxb; Sat, 12 Feb 2022 23:44:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJynTW9iRmBvVwH+IT35k9/FIvdVu74VEvVpKw9Gdv1E3/KD9Sg+aMDLTiUZ7lRJgnvg3jMp X-Received: by 2002:aa7:c3da:: with SMTP id l26mr6560469edr.294.1644738299239; Sat, 12 Feb 2022 23:44:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644738299; cv=none; d=google.com; s=arc-20160816; b=kYrXhCN6StHS1aWjTevDJMbBmdcmQzzuCtnTRUFmHMAH9bgdkJEQ+0bY5hjqD2X37V ltf8oodgapherritInT8PDagqRYK7wor5nFzPLhMFc6eNgfYD2LGjhmKCzIVW2fBH1/m p7jdD/c79WJI9I3cqSmfJy09V/HJBkZ47+En9WMHvh2MKR4JTmh+pr49K7VNyTsT3w0f 5tCbEzAgs7W7D8zakehTkaGuIx1IRsjCu0sLazSbB4g53PmZecEiMohPdSxBBx6pJdG0 pc8Q7rr0P+dtLeJf/JIBsVS7czRZlOXw8h6TT5jwdBTFfUPzJoVCpQo0REdq7imiSe87 Yk1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=5ODGhb2Q8xwD5iEbCup3U/3TdV3tSyU7XkY8bL9tV1M=; b=WGIkUFCAV1CGvQ6AToM+yNmmwe6zxM7CcFsH9hgdhIEyhufBryhf1VOzrGMojbRV70 uFAOvGXB3B5RVpQItSo2obSTePTIhsAgInhlvtCOXYEivlWFVvDCOlpa4yIZHG/b1vIU /ugVaHTotLBDokeN6FtIBrqalSIeADh0o2ZS2dgfOMjgolgO878KZ0sJGc7lBywaYcL6 dj1HAvqA51JBkRmDFjC/XqRZanjIOvuaFivcWGnQm78fiUmm+gCmFCPV+hCxfv+hAb+p E0fuyQerKd4MmzvjqJ1B3t8HU++nojNOp9PSd+8pbsMuzn32Is/aBYX7H90nXjjJBv1Y c8NQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n1si18272139ejl.240.2022.02.12.23.44.36; Sat, 12 Feb 2022 23:44:59 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236817AbiBLQCn (ORCPT + 99 others); Sat, 12 Feb 2022 11:02:43 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:60428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236815AbiBLQCj (ORCPT ); Sat, 12 Feb 2022 11:02:39 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B36220F for ; Sat, 12 Feb 2022 08:02:36 -0800 (PST) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIur4-0003Wh-SG; Sat, 12 Feb 2022 17:02:34 +0100 Received: from pengutronix.de (unknown [195.138.59.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 4AAE531CED; Sat, 12 Feb 2022 16:02:34 +0000 (UTC) Date: Sat, 12 Feb 2022 17:02:30 +0100 From: Marc Kleine-Budde To: Vincent Mailhol Cc: netdev@vger.kernel.org, linux-can@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] can: etas_es58x: use BITS_PER_TYPE() instead of manual calculation Message-ID: <20220212160230.5id2eva2uawgvkud@pengutronix.de> References: <20220212130737.3008-1-mailhol.vincent@wanadoo.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oeflrztu3cytynbi" Content-Disposition: inline In-Reply-To: <20220212130737.3008-1-mailhol.vincent@wanadoo.fr> X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 --oeflrztu3cytynbi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 12.02.2022 22:07:37, Vincent Mailhol wrote: > The input to the GENMASK() macro was calculated by hand. Replaced it > with a dedicated macro: BITS_PER_TYPE() which does the exact same job. >=20 > Signed-off-by: Vincent Mailhol Thanks for the patch, applied to linux-can-next/testing. regards, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --oeflrztu3cytynbi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmIH2hQACgkQrX5LkNig 013epgf+OhbS/eaB+gisc6llAZDazPeVc/dQZlChO7n/SF9HMp97ajAIOtKw8lZ/ sTUgq7GO9cqGfiWIgjLa3diE7VSZtnevNR6fAavXcNnSSEoIeZ+rg6js7tw16Pss 3i2PZ88aHzXgkESkR8qNE7XRr/tmb3vcrKfR98Q3C0xHLTvMraOVPByx89c8P5SU S6kdbMyFWQOvmfulpXeVu9BoRMnTMWjnXkPpL4txo5YlTeyzLMU1RKCjAScNSyvO 1/KCTtWOYnADe3DIq3NuJW1lq/gZJMaVaI925jUKce1wCU0QwLpbNJQElWEAiSa2 GiGiDp7+oeOKgVrmzR/53WnNgFk3bA== =68HI -----END PGP SIGNATURE----- --oeflrztu3cytynbi--