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 6F3F6C64EC4 for ; Mon, 6 Mar 2023 20:30:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229918AbjCFUaQ (ORCPT ); Mon, 6 Mar 2023 15:30:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229660AbjCFUaN (ORCPT ); Mon, 6 Mar 2023 15:30:13 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CCE43866F; Mon, 6 Mar 2023 12:30:12 -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 AC14D6116D; Mon, 6 Mar 2023 20:30:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13931C433EF; Mon, 6 Mar 2023 20:30:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678134611; bh=xbWf+sdjztIPDwttPs5NUEVzUHAhlaetVoydXRsoWpk=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=Pp88JpMjVB+iwrWrstHSl0LUAYaSdVc0jce1pHNI0Dw/TaOldVLqeiqbPnzmVNxo3 sP8Sg77OzORyIW0mHMCZdB4EByoYatBUOhPRjBoM+sv1X1mbarR61M6TtndfgtjNSo L/N2Gd6KoK7stkSv99bgIpTQVlB454f4lJAyDMIqHhqY3ShtmbyX4l+aTtwjZmsAr8 XGDPT81Bkov7AmneoapMI/Su+yh8OmqJ4vCJjvy7tnEznU0mm+UEP9ZY6jwpcxxZ9p OpLOyNKk+xaHBKQ+9QBNW4Am+u0SGreQKvbCDYeobn4n/OmkGj6sOSXsRO6TfegNau 5YRKf/1eCdBbg== Message-ID: <47b6ba881b16b6f11824eb52c153b5b5.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20230227105931.2812412-1-claudiu.beznea@microchip.com> References: <20230227105931.2812412-1-claudiu.beznea@microchip.com> Subject: Re: [PATCH] clk: at91: clk-sam9x60-pll: fix return value check From: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Claudiu Beznea , Dan Carpenter To: Claudiu Beznea , alexandre.belloni@bootlin.com, mturquette@baylibre.com, nicolas.ferre@microchip.com Date: Mon, 06 Mar 2023 12:30:07 -0800 User-Agent: alot/0.10 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Claudiu Beznea (2023-02-27 02:59:31) > sam9x60_frac_pll_compute_mul_frac() can't return zero. Remove the check > against zero to reflect this. >=20 > Fixes: 43b1bb4a9b3e ("clk: at91: clk-sam9x60-pll: re-factor to support pl= ls with multiple outputs") > Reported-by: Dan Carpenter > Signed-off-by: Claudiu Beznea > --- Applied to clk-next