From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7ACE9C4332F for ; Mon, 12 Dec 2022 23:20:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233973AbiLLXUf (ORCPT ); Mon, 12 Dec 2022 18:20:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234018AbiLLXUT (ORCPT ); Mon, 12 Dec 2022 18:20:19 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E990C1CB06 for ; Mon, 12 Dec 2022 15:20:16 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 894F46125E for ; Mon, 12 Dec 2022 23:20:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id E4FE8C433D2; Mon, 12 Dec 2022 23:20:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670887216; bh=3q3pQEENBpble+P8HsWtHWtvJIPA8Ye9B9LhfPUcY3Q=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=qVWLamxf3u2UpXouIQPLAwCq9mC6psCwUbeicUWcdDL64+/DhL3sUFDpWirkGy8BY kD8NlH3pOt5sBYPQ2wI5wuCExEqu4QOQVWtXI/NCDscL4kmt+Uq8IyX8OWP8wcbDZC 0opqS257zut6awjMhhZEkQTRi1sH6fJhC4XCP5excmaXKcOcrdyUL1LecCJ4C/394z NcwagLW95j0Zz7zXALFnEQRdx8doTf/be0r67iUed21tc8tD5RbXF/00OqMjt2N4aB MhejsyOIxnB3RXVYbOhyUEnFaAD9rb1APYt5F4BOrqaASeFaKzC7NxWeol02Jt42ZU mJT3YZrWLp0Ew== 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 CABB3C41606; Mon, 12 Dec 2022 23:20:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2 net 1/1] stmmac: fix potential division by 0 From: patchwork-bot+netdevbpf@kernel.org Message-Id: <167088721582.27199.17800143260465196314.git-patchwork-notify@kernel.org> Date: Mon, 12 Dec 2022 23:20:15 +0000 References: In-Reply-To: To: Piergiorgio Beruto Cc: peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, mcoquelin.stm32@gmail.com, richardcochran@gmail.com, julien.beraud@orolia.com, netdev@vger.kernel.org, andrew@lunn.ch Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski : On Sat, 10 Dec 2022 23:37:22 +0100 you wrote: > When the MAC is connected to a 10 Mb/s PHY and the PTP clock is derived > from the MAC reference clock (default), the clk_ptp_rate becomes too > small and the calculated sub second increment becomes 0 when computed by > the stmmac_config_sub_second_increment() function within > stmmac_init_tstamp_counter(). > > Therefore, the subsequent div_u64 in stmmac_init_tstamp_counter() > operation triggers a divide by 0 exception as shown below. > > [...] Here is the summary with links: - [v2,net,1/1] stmmac: fix potential division by 0 https://git.kernel.org/netdev/net/c/ede5a389852d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html