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 X-Spam-Level: X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38EF5C43461 for ; Mon, 14 Sep 2020 14:52:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E420420936 for ; Mon, 14 Sep 2020 14:52:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600095176; bh=cZBt/BYXGb7XMmjCUMxtBhCxEA94mJlipi9mDTE83sM=; h=Date:From:To:Cc:In-Reply-To:References:Subject:List-ID:From; b=dT/vUuL+Dppu/CgAjF5hph9RtsYIx+A6LZ1SId0cjppZXds8YPXTuaMKCguXKj02g 9m4j4S/LIk7hBYmEUYRnF08gym62bH93y/G/MlKvOwtVNLjP7qDW+tGrhp3yvZHpPW VmvoceKF8ComfCecjNEc2y/Lzoxs92BIR2ixM4IE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726863AbgINOwl (ORCPT ); Mon, 14 Sep 2020 10:52:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:53050 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726645AbgINOw3 (ORCPT ); Mon, 14 Sep 2020 10:52:29 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4EDC6206BE; Mon, 14 Sep 2020 14:52:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600095148; bh=cZBt/BYXGb7XMmjCUMxtBhCxEA94mJlipi9mDTE83sM=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=d5ifTqJKTWvyHHbPZgIuvbmo2IFAAh3lnZuFAlkurNs9YbM6I3b7TYOxxRQkq0ylv jdXALa300eyOYZ2JtdoC/atrHX17vYwScCc9mQ6nEvHYXz7N4LisLUG6vOMcaUwfpu oI0clGmmToM2VuztaBRIfu5ZELNJTeE2KWQl/nzw= Date: Mon, 14 Sep 2020 15:51:40 +0100 From: Mark Brown To: perex@perex.cz, baijiaju1990@163.com, Tuo Li , lgirdwood@gmail.com, tiwai@suse.com, heiko@sntech.de, islituo@163.com Cc: linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, alsa-devel@alsa-project.org In-Reply-To: References: Subject: Re: [PATCH] ALSA: rockchip_i2s: fix a possible divide-by-zero bug in rockchip_i2s_hw_params() Message-Id: <160009506912.439.250974884973031810.b4-ty@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 7 Sep 2020 21:09:37 +0800, Tuo Li wrote: > The variable bclk_rate is checked in: > if (bclk_rate && mclk_rate % bclk_rate) > > This indicates that bclk_rate can be zero. > If so, a divide-by-zero bug will occur: > div_bclk = mclk_rate / bclk_rate; > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ALSA: rockchip_i2s: fix a possible divide-by-zero bug in rockchip_i2s_hw_params() commit: 375e2c352582442783178e6a33c279d6bc9354a2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark