Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2296291rbb; Tue, 27 Feb 2024 18:21:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWPES9C9ljMrx3PVvus3pc9XGv7v7LFcsgpxaHu5+axDNYtz/c7mUkTctDOMO3VhHF1umTctyNGqpCStoOZXdHDDg8RPl8mQJo6TkXsgQ== X-Google-Smtp-Source: AGHT+IGwhh+Vmhq+JHAWyc+u8RYZ59ROnxrHR7XcJ1R09S9QuETJylJezY5tY5+SYyrju84xK+TR X-Received: by 2002:a05:6a20:9e47:b0:1a0:f616:32be with SMTP id mt7-20020a056a209e4700b001a0f61632bemr1518707pzb.10.1709086892435; Tue, 27 Feb 2024 18:21:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709086892; cv=pass; d=google.com; s=arc-20160816; b=I/rkp7UMcwmejaGuYiKygMNWiXL3RR6yzgAlTAKb0cPOd/JgphfPZsER2VbpUD7Qvy UPDpCClD2c7OiORezZtMA1PEXsA8ORaXgKiuox+/Jzbe8SLQKAC+iTanamtFWYuKXKOG K5fLg6J7t9trXFfm2xgt6DDXvTVPNkEcCcr2BEELxjf7JIdErh7MvaFqhGm7SxZEZalm nLUU5zUu8YqRpEONrhUAf0E3PzDxn7tsywy/a7HUnYZhUcfTrVw30N2a4WpD3jO3jOBm tSlDPoT+6kveUaMP1PZevKX5Eht8bQchvR02Uja1dC//2Lw5P/OzyJxb3hRKJiPcOL2Z 3g/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=LceLg7oxeYvxO1M0yp0ec62Dkps9P7trikLxJfqNj78=; fh=HKAStRg28UE1P1SDczblgYmFM+S9l/GglTJz32G124o=; b=fhNetmN8pPPK17RYNHYbVlMy1HlU0oAdfJ+RPGl14Z/eVm6bUic26ZrtYvPFuThS9l c7fXN5uUo55h/Krb5+wyHghFIbxxkFNhJfOKTgPZf1Y6qy/wVUJno4B+0zkwD5zW9976 p3Scn9ZmyGfwc+jwY+tQY2zXfVxgtPUbqlEZ3zYp8pn1CU6O5aS0VGM1wO/CGtk48L1s jMTAbVwXwZlBfrXxfrmlTiuaAP+Xf8TslZcgk4aHrdscSSixjpxeP4OiH0uRv4tmvy6W MDsdhsIO1vXjd4MrIuf1BbUTQLQI6PNdZLAIxn/7K0trHCRWNVfsRO+pRSF5Tgo6WRKE no6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jxmWfglb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-84414-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84414-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 19-20020a630b13000000b005dc15e82c4fsi6518853pgl.170.2024.02.27.18.21.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 18:21:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84414-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jxmWfglb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-84414-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84414-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3B1D72878E5 for ; Wed, 28 Feb 2024 02:20:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 386691B94E; Wed, 28 Feb 2024 02:20:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jxmWfglb" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C67F567A; Wed, 28 Feb 2024 02:20:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709086830; cv=none; b=Jcl9kxL7i9zkngBEX59Vl1K4MlM7uXM0enbkub/SYNTGTJfYSUnzrtoDPHQje41KPggJ9n++ZzIGlCMGZ23/uLvlbhU/xKt05mJ23+BevHX+zBYe3ENEHTGvLrnULdUSV1mAtGyzsS51qzuwLjDUPY14ejrlyQwSEojCRirItuQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709086830; c=relaxed/simple; bh=l/rOErX5YaV77tJeUILtrCdkz7azE+TOycWzTxCWi7E=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=pYshnhtiz3ZpsUjipXouTl+txdHqzk/R984IJ4BX067/II+dtxQycBxw8k5G/SlKAbc1WxoZVMbojKxUuAtELFIfgTYOLb66zIgmg1BxhdqYZVkC6pgI3ckTcXqln7L61WmTaxOedK204UqVzSan2uZJqJhji1ctUDceVZMicmw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jxmWfglb; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 1C16BC43390; Wed, 28 Feb 2024 02:20:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709086830; bh=l/rOErX5YaV77tJeUILtrCdkz7azE+TOycWzTxCWi7E=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=jxmWfglbh8JgkcphXS/yahGJXam+H672eiNkCkzKPjyWub0Havva8LHtvygXBvwuP WKJRwHIo6xWqSrlP1bfJW2UQUuj2zU80oQjM+40cqALYKB0yWwBbNDKXt8fD3PTvoK ykyhXw1SuzCzbYHMQqu+fS1mzMMTpmVP+1LlM2MOtlxLjzGmkI02mTRc0jCWiw2sOu qaU6FweT/zNekJHT2wheBvq9dEOa7Di49Oz4G0d00ylMt+cSbttU8svvPZXW6T0cme iEorlW2QqB4WohigqbqbTamr+8UcptnJvoTYLogDABscD7DPsmNpqxNbKF63QzGHdn VuUorFp0GcCWg== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id F38D7D88FB0; Wed, 28 Feb 2024 02:20:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: wwan: t7xx: Prefer struct_size over open coded arithmetic From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170908682999.30494.11218571706711449846.git-patchwork-notify@kernel.org> Date: Wed, 28 Feb 2024 02:20:29 +0000 References: <20240224181932.2720-1-erick.archer@gmx.com> In-Reply-To: <20240224181932.2720-1-erick.archer@gmx.com> To: Erick Archer Cc: chandrashekar.devegowda@intel.com, chiranjeevi.rapolu@linux.intel.com, haijun.liu@mediatek.com, m.chetan.kumar@linux.intel.com, ricardo.martinez@linux.intel.com, loic.poulain@linaro.org, ryazanov.s.a@gmail.com, johannes@sipsolutions.net, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, gustavoars@kernel.org, keescook@chromium.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Sat, 24 Feb 2024 19:19:32 +0100 you wrote: > This is an effort to get rid of all multiplications from allocation > functions in order to prevent integer overflows [1][2]. > > As the "port_prox" variable is a pointer to "struct port_proxy" and > this structure ends in a flexible array: > > struct port_proxy { > [...] > struct t7xx_port ports[]; > }; > > [...] Here is the summary with links: - net: wwan: t7xx: Prefer struct_size over open coded arithmetic https://git.kernel.org/netdev/net-next/c/848e34ca2030 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html