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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 79BCBC77B72 for ; Mon, 17 Apr 2023 07:39:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tlVClrcNHPn4sTb905ORINysSddFOYynSVmy6kQ4mGM=; b=fu/TuVeAw7NsJL YF2OHeiHnxjXmf0guVG3mtZ6lha7VNqVd/83t5HvzN1ycex7dKA2Cn518RuafLY6q4NqeMknpdyHZ jSZDe4OIlSkc+/PJUhqx/TdvYlOMEouJVIqTnIwNqn+OgEDdoLsp7vE9HHoqqvwXGIG0hJfFhFjrZ rJPp3Q/LZHKw7jRSUuJtwwIwJProfCCOK92CYGxKDi9SYza0IKu58F2rbMl4PJgBI2ibn7lFpjlVI Abjd+xRUPBcZELv4pELkp4s6sJH8bwDpazieb20Pp3x1sKaXaa/FS3gXuxxhmBYwPH98SZyw6zKDr N/Rd6MHZ/Q/8CPXwF0tw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1poJSk-00FDi2-02; Mon, 17 Apr 2023 07:39:46 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1poJSf-00FDf7-1n; Mon, 17 Apr 2023 07:39:42 +0000 Received: from [IPV6:2001:b07:2ed:14ed:c5f8:7372:f042:90a2] (unknown [IPv6:2001:b07:2ed:14ed:c5f8:7372:f042:90a2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 993FE66031ED; Mon, 17 Apr 2023 08:39:39 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681717180; bh=nfJnFA6ozqy7nT17maYMPunxHTfwoBhKeGFcQ+Uj5Q8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=hMw+lqC/7vzygX0PTxg7wyItot6slBOu2uapMTb+eM0UHDDYpPos8JXblPp/5h5/k e/UqNBwwTtwEjJ6WAn0eeZwyrZxU9W8MB3eE0FX3YuFGgR9jnABdruC5Kt6GOz+RRU OnlgAgoc3s/bZhFgZr1RNQjuvtu0d0Bn62Ri0KcHt6M+VW9JwdCamopr4nEenzVHIy oCqM+o/urOtwfi2+vm/Ug4rsKbiQCCFWjyWwJ6SrvurHUivaldOgrpIot8eDgUv1m/ 63MdXdOAYjqWU/c+SNMil2yN4GsFzX3/eXglHtKbJS30TRHUEfv0Rb3UTxXrJAdTR/ 0SivOK3w9NM8Q== Message-ID: <488b6455-098e-ac7b-8996-53d782b5488f@collabora.com> Date: Mon, 17 Apr 2023 09:39:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v2 1/2] phy: mediatek: hdmi: mt8195: fix uninitialized variable usage in pll_calc Content-Language: en-US To: Guillaume Ranquet , Chun-Kuang Hu , Philipp Zabel , Chunfeng Yun , Vinod Koul , Kishon Vijay Abraham I , Matthias Brugger Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, kernel test robot References: <20230413-fixes-for-mt8195-hdmi-phy-v2-0-bbad62e64321@baylibre.com> <20230413-fixes-for-mt8195-hdmi-phy-v2-1-bbad62e64321@baylibre.com> From: AngeloGioacchino Del Regno In-Reply-To: <20230413-fixes-for-mt8195-hdmi-phy-v2-1-bbad62e64321@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230417_003941_723139_36A4E64A X-CRM114-Status: UNSURE ( 8.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Il 14/04/23 18:07, Guillaume Ranquet ha scritto: > The ret variable in mtk_hdmi_pll_calc() was used unitialized as reported > by the kernel test robot. > > Fix the issue by removing the variable altogether and testing out the > return value of mtk_hdmi_pll_set_hw() > > Fixes: 45810d486bb44 ("phy: mediatek: add support for phy-mtk-hdmi-mt8195") > Reported-by: kernel test robot > Signed-off-by: Guillaume Ranquet Reviewed-by: AngeloGioacchino Del Regno -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy