Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4571209iog; Wed, 22 Jun 2022 01:15:35 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uZCbEQMAV5qKSAZ6SgJCxaDBFnBPgWCTVeliwnfpDpOR4nh3fNmuxLliQKdBxUGTZqVaEE X-Received: by 2002:a17:902:e052:b0:16a:1257:152e with SMTP id x18-20020a170902e05200b0016a1257152emr20176461plx.172.1655885735051; Wed, 22 Jun 2022 01:15:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655885735; cv=none; d=google.com; s=arc-20160816; b=i3FjDRk2MkSOfRp1nkEu8BEjVSaCfe6xOgRXjcaxnzv7uWTOELugNBzwsEdJQMEJMg T5VERbzzduBBLmGGXym6BM2lh9A2EHCIkoMbVGu5PrwtoXDZ1q3XFz1e+kvTwdeg65vA AgpowDywZR0yU/z6WOiixw3TPwY/q/AALzOkOEBNWMbTYNtzgOU53MfmeXYy4o/pNvF2 ULyIjwTOfIM7ZHP638ipD0CezNLHskuYscV3te9WRp0kMib2C4WZ/7m6YWZ0Becj4arq tGDrfiEFqA2yOQkHLB8bis3VVMQq/Uq2VS3Ur3MMN+N3M3NC7ESnFTMNhy9ZjRZutBTG JSEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=DjPbEtlaojvueI+OxOc4rnXCnJdk9FjW5sV0Sm2bRuI=; b=yo+u7wv1ULMdLMBznv4/pd/DJqGo9c6zQPyYA28jMwPC87cIz8fQPhuh+GsPVs1aY2 OO5AIrtm2NgEadyS7WyqoYa5uwS9PsKzEN9kRvqAbiAble5K/Egjnv9GvhsHbdxhzCPw /lH0ivMKS71DTkIO1sXUABoY3tgA6Zu1wXMjwrqwnyNEXYdpYFpw7YSBRQ96vgirJx2R psNs3pEOxk5+70gpqrGcLyWvl4GSq0dm+CpgAbDiljv4mmL5MOVQmqaZK8avKH2q0ZAJ 8NQ+o1+mQ739QqZBydZjmOCBC7xZQWCI//Cv4au1o3KGOIS/ff2EjzPTw3i/rV9gUPdt NTsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=hz4aD+1g; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=kQdcKKVP; 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=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 2-20020a17090a030200b001e3446e5c51si21208794pje.179.2022.06.22.01.15.21; Wed, 22 Jun 2022 01:15:35 -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=@cerno.tech header.s=fm1 header.b=hz4aD+1g; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=kQdcKKVP; 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=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353052AbiFVHhR (ORCPT + 99 others); Wed, 22 Jun 2022 03:37:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352299AbiFVHhQ (ORCPT ); Wed, 22 Jun 2022 03:37:16 -0400 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 495E537039 for ; Wed, 22 Jun 2022 00:37:16 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id B090A5C0085; Wed, 22 Jun 2022 03:37:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 22 Jun 2022 03:37:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1655883435; x= 1655969835; bh=DjPbEtlaojvueI+OxOc4rnXCnJdk9FjW5sV0Sm2bRuI=; b=h z4aD+1gq5FSAQCBqgkOSr2/zV5D1OBCNzxJvYg2TPP/xkLwFJ/zrf00xMkTbp7H3 j44ieXA4zHWzVokd951d5rROoa/Ja8p3L58VnrFncGCf2EAkcbfFfCWyOeKYrAF+ WZ8RzDhamLqLENmY+XFRHkdO74fKoSvYokN2KO5wRbFw5LDNlhcSGT3F/hl/eDIZ jQJJ3ZzbtrVBZxTMggL20O/aYyR4wUG0LONmp25CFFEBiUxe7wlA6Did2RXFnHEq HM1PHoNRFFdfwreagoybNYAw4mz6NeeSFK6yxYc2gyHXSQEWdwBEyByrvi8Ar1LV LMGMAxBqTk2NzJQq3GAtw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1655883435; x= 1655969835; bh=DjPbEtlaojvueI+OxOc4rnXCnJdk9FjW5sV0Sm2bRuI=; b=k QdcKKVPyz8ou8e5mNwhn8A+951SIzBtvgtPUn8oWlb9hb9VfKzBYjJvq1vc1sDpB 47F2+XSf2qAL5e7a5/T1cIj74vuNC20CLhYpq3WD0ulUC0cZBFfk+xlaHQCmpu6J RpaOHVZVxRbrqBw9oRsYJi/aeVLqbU8ZPq01hFTPoKOyayitvGFuEEgvghcrmHbM knuh9T0aRtsQhgSxrGKajHrJ7mEi1uTVZnOE+r3GRZ755/tRPJ1sKoBGT12rscnN /VxVZNqqTPFaW/nkhfCzFnQ+6szbOt8oq8xnapZDqGoJgDNw7YWiZmbvZwmQyAZ5 lA5BXM6nEKX/fsL0c7hXQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudefgedguddvfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhggtgfgse htkeertdertdejnecuhfhrohhmpeforgigihhmvgcutfhiphgrrhguuceomhgrgihimhgv segtvghrnhhordhtvggthheqnecuggftrfgrthhtvghrnhepueeigefghfffffeifeehud eiuedvteegueefffevgfetvdffheehkeffvedufeeinecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 Jun 2022 03:37:15 -0400 (EDT) From: Maxime Ripard To: dri-devel@lists.freedesktop.org, airlied@linux.ie, mripard@kernel.org, linux-kernel@vger.kernel.org, daniel@ffwll.ch, farooqui_saud@hotmail.com, emma@anholt.net Cc: Maxime Ripard Subject: Re: (subset) [PATCH] drm/vc4: hdmi: Fixed possible integer overflow Date: Wed, 22 Jun 2022 09:37:12 +0200 Message-Id: <165588343010.17134.11173109971081825342.b4-ty@cerno.tech> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, 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 On Thu, 9 Jun 2022 23:50:31 +0500, Saud Farooqui wrote: > Multiplying ints and saving it in unsigned long long > could lead to integer overflow before being type casted to > unsigned long long. > > Addresses-Coverity: 1505113: Unintentional integer overflow. > > > [...] Applied to drm/drm-misc (drm-misc-fixes). Thanks! Maxime