From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796005167; b=G4f1gm5h11GMQfw8hf5Kbv3mhML5m2Ew5XuFgajoERAWcG6DuNLs42nBoLGNOKRUeevd jv0NZluwEutwnc+Smw0ujct+QDI9W5uCdjINCn+E+TtqAOpGqkjFI7GmFWuRphg1yJG/Q NyJJkNs2GYSUR0tYq6ZOMtEcfvJgIdwimyoaeZM61qKfuyeB6U3iWSDj1iOEAvMN0QT2Y 96gX6h8I+1z4zIOq/gssdAysxrOK9gB4ozLwdVGLfZoghpttTFTMWuuMgfIgixfHqlQer TDoo2DqAQfNvFyqd/328F1wSqX1AvKk7OItcUrceE/fJ4mKmWAAVgoq+vOIbtP8+VWg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796005167; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=gGGbqaB3NtrTYkMvs7sEyvwO/93Cp1g7AYUNwZfq/+g=; b=5Ez4xpIlTOeaV6lHfXJwGTNOBLJ/VEPkiP3oL4yFuXffmFU90IMxRrm1E1SPflkC+vkV EHoPETuui2H0wu3dnVtf4TTlrDrA4Hflr038Eh4lAUR39orFD6JyQ/b1QmH2GmT+d1lTz XKdWZeIzP+U6mOHZ5lL/4zS9h4Lc1KLn51k2vhmRkz/DCPjhpgzCyQW7oew723k3ejuRP 52mh+ENgZtEwpDDo9RZpt3/33XJ+g5V4LtGCBdJbApYfs36HsiqNKuSAawXodScmovhJ/ pgVpLvsF4LnoZ3DCftr8HNFX1y4xw3GuQupXMFlJ4rVSy6CM9Tun3PGqcCMkiu2Gz8g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=C2R3il40; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C46F606A31C for ; Mon, 30 Nov 2026 02:19:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=C2R3il40 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E28B11F00896; Mon, 30 Nov 2026 02:19:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796005167; bh=gGGbqaB3NtrTYkMvs7sEyvwO/93Cp1g7AYUNwZfq/+g=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=C2R3il40Vz1WOImJ+mzx7BADgFqMWFzkCvIqSgGJYw2QU07feZ3dIXW9dgQjVnndK vAhs2QHHVkoOE3ElWsY6I6TLLR8shnjTiAPzMU9q39LKTVrtfbtkGuPjAzGussWvdp a5exPBs8kqNvF5N8qd1OJJGKtucu3EX4D3eV1lIV/2Rj9Lz31L6yaeYuvcCPlwljj7 3vqdDeVicN4BiK34LOrV50Xf7UcWeTGEDmlEz4OIaCalZ6iGwYQLJy1CF6WhK5jzse IhyUDFEDeK+rpVC5FHmYxbXSujXb6xfFb8Qtm9qT5o2EwxxQk+sN9Zm6cZI/MXit0a vx/F7VnFk5msA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] ASoC: loongson: Check sysclk in hw_params Reply-To: sashiko-reviews@lists.linux.dev To: "Li Jun" , linux-sound@vger.kernel.org In-Reply-To: <20261130021409.193149-1-lijun01@kylinos.cn> References: <20261130021409.193149-1-lijun01@kylinos.cn> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Mon, 30 Nov 2026 02:19:26 +0000 X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] ASoC: loongson: missing Fixes trailer for division-by-zero fix -- commit 958731b075dc9cfcb85d64095ac9fa6380a9b0a0 Author: Li Jun > ASoC: loongson: Check sysclk in hw_params > > loongson_i2s_hw_params() uses i2s->sysclk as a divisor when computing > the bclk and mclk ratios, so a zero sysclk would cause a division by > zero. > Return -EINVAL before the revision switch when sysclk is zero. > > Signed-off-by: Li Jun [Severity: Low] This fixes a division-by-zero bug in loongson_i2s_hw_params(). Should the commit message include: Fixes: d84881e06836 ("ASoC: Add support for Loongson I2S controller") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261130021409.1931= 49-1-lijun01@kylinos.cn?part=3D1