Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3642053rwe; Mon, 17 Apr 2023 00:57:13 -0700 (PDT) X-Google-Smtp-Source: AKy350Z6QaNCCtVa1nlRxqQXqP2XvnChCxt2wxrG+mllOuQy5SpJAukk+XRzFOHD2s2CpUorlwVh X-Received: by 2002:a17:90b:2784:b0:247:4e73:cbdd with SMTP id pw4-20020a17090b278400b002474e73cbddmr10420701pjb.9.1681718232935; Mon, 17 Apr 2023 00:57:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681718232; cv=none; d=google.com; s=arc-20160816; b=JhupItUEZbAm3W2/xbpa+5KAdEbaZAUmhHCUlVYTFr8acERsDCJG/+qLaF9H+M/Lpw KIGAizfs3GLFSBHHK3Ee3e+LDECm2cH4JDLfagypuauIGwsoTkzSSN7u7zWtmsFfZW+9 DmpibdLI6cr6feK/HQytj5MgJcNMHh0dTbscih+NHj7y07G8bqdfJ1k+Rv/GYaPXxUR2 xjReVyzWXATOWET9G8IE3nSiljjPAzD/7QtIBWG1VgbWHDw8bnrnG2qZRYTqWHDK1Osd w+qsM+7XVXip9SHb3rhV8XOxId6QqvjqV6BUSX8srY8Bm0GHV0YYm/09R94UUKl4cS35 SPCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=u6Xhtyph4cLXWmWxGa3yPeSvP8dtWdVvmItaubPfmPM=; b=hYH/2tNZ2zbWb1jgPoUgj8aCaCYHyr7UaRxJxgiyj8guuGqitRSsrcuaDzWc+IlQp+ ewfmU3QvZW2/VxJKHSTrxZapRG7V55mFGg8Isqq5+SSnp6mfHSOS2B2af5hw/4eLEyg6 OLNlfZ0i3aY5WzGkwrV4BZTpHYsJzXMxZZGtC3whbFORB962spR1zqmXmckiv02EZ5Nz x5cV++iAMGVTRR/sAFn/z2ujXv3TQS3mjD3kLlEGNbPCTv77k2SeEJmqwKaaiX/x6L/h njMVf9b1US2xZXbyqirO8oHw/hgj0mBYZtqVwpoWftuhfCuqN6DmjiHP7jkc0xCrQ8Os hIdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=lU0itS7Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b8-20020a17090a6e0800b00246ba136cc1si10856266pjk.137.2023.04.17.00.57.00; Mon, 17 Apr 2023 00:57:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=lU0itS7Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230178AbjDQHkI (ORCPT + 99 others); Mon, 17 Apr 2023 03:40:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231243AbjDQHju (ORCPT ); Mon, 17 Apr 2023 03:39:50 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3327C4C00 for ; Mon, 17 Apr 2023 00:39:10 -0700 (PDT) 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) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 291FA6602F91; Mon, 17 Apr 2023 08:39:00 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681717141; bh=EiNOtPE+lhG3aPoSAyOgtZ67mh+dWMxFs/Uq9B0YnJ8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=lU0itS7YxkQVm5YQFoUgsqWn6Vd06iFLiHynBxqblggbo2MEPzBT9spA2Zqfk4UFJ Cbn6jnVbdcE6SP9XuzTJUpIa+a26j8PNE5v1HgXyYTB7WakjfRLirje5oUn7+TtKnd bLcSHcZvINymW6HM5iAOoi/D+yz/GJAGpB4jOX8Zjk4TD0ZZ2renr3eNnM2c+Al26Z eoq+f8VLGcbey/5VL4MV2Tbg+sprTWOj8W89BZyma/PlYpbTWa/J1mV/8LqvmAAXVV 9ekNPLBtSrrSH9BW4YLhf3RIVVkMKjoBceZ393ExGtxsz1AYo0+QFBRYctCQPodwsw Wea+5pJxYXv8A== Message-ID: <447c1e8a-b3cd-0515-3998-edf3d2f5d476@collabora.com> Date: Mon, 17 Apr 2023 09:38:57 +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] phy: mediatek: fix returning garbage To: Tom Rix , chunkuang.hu@kernel.org, p.zabel@pengutronix.de, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, matthias.bgg@gmail.com, nathan@kernel.org, ndesaulniers@google.com, granquet@baylibre.com 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, llvm@lists.linux.dev References: <20230414122253.3171524-1-trix@redhat.com> Content-Language: en-US From: AngeloGioacchino Del Regno In-Reply-To: <20230414122253.3171524-1-trix@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 14/04/23 14:22, Tom Rix ha scritto: > clang reports > drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c:298:6: error: variable > 'ret' is uninitialized when used here [-Werror,-Wuninitialized] > if (ret) > ^~~ > ret should have been set by the preceding call to mtk_hdmi_pll_set_hw. > > Fixes: 45810d486bb4 ("phy: mediatek: add support for phy-mtk-hdmi-mt8195") > Signed-off-by: Tom Rix Reviewed-by: AngeloGioacchino Del Regno