Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp75642rwd; Tue, 30 May 2023 16:31:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5F1EoQB6ih+r3bRXe5BfPzu3dvGC7P4x3pzWvVwAFPboIhJs+fIuFdEyL4xoi8rgcdAxUK X-Received: by 2002:a05:6a20:43a2:b0:10a:a0e1:96fa with SMTP id i34-20020a056a2043a200b0010aa0e196famr4064199pzl.22.1685489491685; Tue, 30 May 2023 16:31:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685489491; cv=none; d=google.com; s=arc-20160816; b=YbKaepo5h6BUBspg2wH/CV5MDEPpXr0lNwEL/IAXLXFLi2Ot8CG7tm5f40z9NkGpkv 3cJol0azGqTzzVeka0abeRAKzexNxFQMuSVsuJ8SzyUFmt6wYHghkfcisKwqT25tKYAG U8MDYa3c0v/D7E4gtFiI2nJGe9y8ynQatH1JARWxMrI9cAP/TXrPjA677e//Wwp3Ym0K wVQHJROamkKi7oX6oC5CI94T/SPPAtr4Lrn7IGprAPQ7X2GO4o+OSjmg4LD1u9NsalZt ioGjh5oJF6LlZQvXoTTBDTMxITP2btXCq5sOQDOiDaCk8c7WYQr8hUzOKB/TJRwQwCE0 hGQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=9eYPz+eFduohDlbOqbuYZYPJP1MyDR/hOdoxQNHLcD0=; b=X44B+B0daJCgNq8zHiN/z8exRpA358ALin4D4T6tTqFhLcds8OjCQ8gAniXwTs6ZO2 impH3BENW5Iv29U96jW4IDfpM+qfNweFCmyC2p90ZQvt5MJ2niC2ZjINYcZlx7P2+4ya zJ8hZ7l/a7L8oGRs8T/tcxmPNIzN28FWEWwRrsaryghsdQmbaI/XrtAFwrF/lnoBoLMq Koh8l94EdPPnVNZC02IX1L0lwjL6VKF6DyuUYk38zRH5lN0jd++/0MJcN1bFOQkcwbUv RjMjh0nydV5+ft/BjMLE+l6lw9xvGJjI77ZD9QfQENDFMLl3KE7koNHY8A/kRvtE0ZgG MnTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=TPk9dso0; 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=web.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m125-20020a633f83000000b0052c8d4d0d1esi11523727pga.364.2023.05.30.16.31.20; Tue, 30 May 2023 16:31:31 -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=@web.de header.s=s29768273 header.b=TPk9dso0; 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=web.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233839AbjE3XZq (ORCPT + 99 others); Tue, 30 May 2023 19:25:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233365AbjE3XZo (ORCPT ); Tue, 30 May 2023 19:25:44 -0400 Received: from mout.web.de (mout.web.de [217.72.192.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA385E5; Tue, 30 May 2023 16:25:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1685489121; i=spasswolf@web.de; bh=bVokRTnSfY57dTFz84DYa/2uuA3gMO3FTvF8GJZpPz4=; h=X-UI-Sender-Class:Subject:From:To:Cc:Date:In-Reply-To:References; b=TPk9dso0nZHFZ4A9HGLPv5q19jICRkmhyy49NlwO5ZebFT0IP0aMZ/76th+/jdPNR 7Ujw+g3hlNdHEKWDXyCK1QOYl0m3jQZHrocZPSSyLqx8wDeuaxqyaVMEer0k6+cG4D dAjQC2D8zA8eRB2UrKGs6MWeFcqiVh/TNpEYY+a45h7FSyUTWVJRIqRxtqei0/fid5 HjVlmDCvYg8vn2RbZwmCfBgpgylXHk3AYFneGRb0qRC4eE4HzbIeCxjP13uRx3YomC eBuLhhFVpVkca1V7LOIVZ4dOSaVDLRk5R4AGURKuIT2bmGo2J2UihUm+Fs+tpBSLLF xc+HsI7AfCd5Q== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.0.101] ([176.198.191.160]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MLAVc-1pm3rn1vpC-00I9Pv; Wed, 31 May 2023 01:25:21 +0200 Message-ID: Subject: Re: [PATCH net v2] net: ipa: Use the correct value for IPA_STATUS_SIZE From: Bert Karwatzki To: Alex Elder , Simon Horman Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 31 May 2023 01:25:20 +0200 In-Reply-To: References: <7ae8af63b1254ab51d45c870e7942f0e3dc15b1e.camel@web.de> <2b91165f667d3896a0aded39830905f62f725815.camel@web.de> <3c4d235d-8e49-61a2-a445-5d363962d3e7@linaro.org> <8d0e0272c80a594e7425ffcdd7714df7117edde5.camel@web.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.2-1 MIME-Version: 1.0 X-Provags-ID: V03:K1:ZMkfT2i9P4INUikDQKz7U3w4wYUXQxItq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76F1bTrSwuLVTcMPrMyEy06PrwOK/qEvU3rEN4dXh/evz IEKRDhtRXuehsr/yZlG+JjMGGgo9p+cwiTNi73BXBGOiaAsJtfQDFlBCv/IrqMk8znl+fGRsu nQ3YQ12DMtMnUZVr3bPlglc2uzo= X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, 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 From 2e5e4c07606a100fd4af0f08e4cd158f88071a3a Mon Sep 17 00:00:00 2001 From: Bert Karwatzki To: davem@davemloft.net To: edumazet@google.com To: kuba@kernel.org To: pabeni@redhat.com Cc: elder@kernel.org Cc: netdev@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Date: Wed, 31 May 2023 00:16:33 +0200 Subject: [PATCH net v2] net: ipa: Use correct value for IPA_STATUS_SIZE IPA_STATUS_SIZE was introduced in commit b8dc7d0eea5a as a replacement for the size of the removed struct ipa_status which had size sizeof(__le32[8]). Use this value as IPA_STATUS_SIZE. Fixes: b8dc7d0eea5a ("net: ipa: stop using sizeof(status)") Signed-off-by: Bert Karwatzki --- drivers/net/ipa/ipa_endpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ipa/ipa_endpoint.c b/drivers/net/ipa/ipa_endpoint.= c index 2ee80ed140b7..afa1d56d9095 100644 --- a/drivers/net/ipa/ipa_endpoint.c +++ b/drivers/net/ipa/ipa_endpoint.c @@ -119,7 +119,7 @@ enum ipa_status_field_id { }; =20 /* Size in bytes of an IPA packet status structure */ -#define IPA_STATUS_SIZE sizeof(__le32[4]) +#define IPA_STATUS_SIZE sizeof(__le32[8]) =20 /* IPA status structure decoder; looks up field values for a structure */ static u32 ipa_status_extract(struct ipa *ipa, const void *data, --=20 2.40.1 As I'm sure that git send-email didn't work (probably due to sendmail/exim configuration issues), I'm sending this from evolution again. Bert Karwatzki =20