From mboxrd@z Thu Jan 1 00:00:00 1970 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 A18474086A for ; Tue, 24 Dec 2024 15:21:48 +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=1735053708; cv=none; b=RbILMNNq/kJ8q0nH8QamDfDmdTqKe0DghYiKaRsehZZAXHNNuELc+gi9OaOCJgWyr8aW31wAekV+IkpoLJDnknD5XKIauudaEugjZfhvPoxAMITljwV3uBDCG+t0QNlJ0NwJGl8Tl6AywqGae26W/qdCkokFJx39P+1vXWU2+Bc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735053708; c=relaxed/simple; bh=vsOGpKGzpuPxLI06uuBtj+kjs5RFXus+apFhvehtZgo=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=dYrm0UjqgmvcNi81SlwbMQ+xktSdp7DHOO8HBrsduZ1PdAWRuT2Q1LzpSH3DL25QMIHgAvYIW6Ky2daxoXePxK9XhwhGUvtvjcWqtK6LSWIDvXtPU94/FSDBg5Z3/Yr/758f+4aomb1q35WJLIv7yzfTEJlCkfTAY/L4l16MHrs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Le6Gx1Ur; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Le6Gx1Ur" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E257AC4CED0; Tue, 24 Dec 2024 15:21:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1735053708; bh=vsOGpKGzpuPxLI06uuBtj+kjs5RFXus+apFhvehtZgo=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=Le6Gx1Urc6s5pxK+FxIao9hNeaLiXf5qM+GdisAAV52u3e7yggRVCsOBsEAo4bh4z V4T+ABTh0Dua46MCI78zIv+xekLdPl1d7jRmW29yZCqUW73821M9KyahjJmKXIbEfo LbLs2HohNQLZvyI5V4PSawMxJt+rCoxKZobCFk53gyOKevOZnfIUViEJMQRsWygMzs CyD+R6gCwidmfspfpOA9C9kjyQAkdLa6+yJnHzygUeJPh6kXDKqEOksROP+WSzQGMc 3mwkYw26AP4zUGL5oWrPjaKaQ8UokXqAfM1pJ19M/Gz92o7pVr82mQHUPSQ+kNg0/m 7r2iLTzFqa0WA== From: Vinod Koul To: linux-phy@lists.infradead.org, Adam Ford Cc: aford@beaconembedded.com, kernel test robot , Kishon Vijay Abraham I , Frieder Schrempf , Dominique Martinet , linux-kernel@vger.kernel.org In-Reply-To: <20241215220555.99113-1-aford173@gmail.com> References: <20241215220555.99113-1-aford173@gmail.com> Subject: Re: [PATCH] phy: freescale: fsl-samsung-hdmi: Fix 64-by-32 division cocci warnings Message-Id: <173505370554.939749.2097418009884160447.b4-ty@kernel.org> Date: Tue, 24 Dec 2024 20:51:45 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14.2 On Sun, 15 Dec 2024 16:05:55 -0600, Adam Ford wrote: > The Kernel test robot returns the following warning: > do_div() does a 64-by-32 division, please consider using div64_ul instead. > > To prevent the 64-by-32 divsion, consolidate both the multiplication > and the do_div into one line which explicitly uses u64 sizes. > > > [...] Applied, thanks! [1/1] phy: freescale: fsl-samsung-hdmi: Fix 64-by-32 division cocci warnings commit: 739214dd1c209e34323814fb815fb17cccb9f95b Best regards, -- ~Vinod