Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4645238rwe; Tue, 30 Aug 2022 14:12:22 -0700 (PDT) X-Google-Smtp-Source: AA6agR5gqiQxgjbaDs8yfMlqDJqbHICqnMmnuo0Bao+mpsa9oq4n2JLaprzxJuLIsJMOV1sbFwXn X-Received: by 2002:a17:902:7c11:b0:172:71ea:e99 with SMTP id x17-20020a1709027c1100b0017271ea0e99mr23081275pll.73.1661893942457; Tue, 30 Aug 2022 14:12:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661893942; cv=none; d=google.com; s=arc-20160816; b=aHXlQApZjeDx8ej4hVvsVF3VvQFVPn/fu6SL7Cir3Bk5yn+16C4NX5tSnulYg9F5+l IkxI3eK2cfnqaW6Lc2fHdIgcs+xgmlM4x0PulJF5VnF4Lfk32d5WCmwh8j9qLRzD/Ybr YQEizN/PVU9Li1xwUALPTIZbPSOBNrbLuKnxKQFzElSuXZTYKSX5to7nh0sHkQa6m58x H96F5/xoSgVZluUt/IMG/3Kjt/tKjMF/jyJHGoJcSuuLUMJ71VXPmH/gzk49y+F6Bpgf qOkWrLavaB2+ELa3AkP5Id2J8k8TT0Jn4hA+I62msey98ELxJDYqRZJROfUumhD/JyJc 7inA== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=cYIt8T5qTTPMHnPLf3xQ+OALuVf5JTfc65U2LdgUBRw=; b=kwSP8DcyM4NPOUrcepbtzQeYS75TZZjsuaV3VAIGxMZazsl/3R+j0ePAj9G15Ssq7F i/Ts7x79NTYEjHCMP+MhrHin9bwRd0gZHU2oW0qoDShFVaIbIAf6vc4eUbiVyfduBwWB eXdPj0VN+/6kmMQNOuRxeEkbeE2bDxqb0ZYuMCQWQRgPsn8p+w7ShC54Q8ch5mHtLfuG sXOSgwVL25LhkPYoxXYZlFI5CDEZCIxJmcXkLohUcNdx4KGCbfWzzKDbUgDQNNs9j0ib WcFi2j8TV2DxNAj2Lk89bgT8TTqI0U/WdG5Jh8zP0hgXoQtRwlLAXrYlecV9oRYE1S+p GHWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u12h2y5b; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s5-20020a632c05000000b0042b50946042si3078782pgs.830.2022.08.30.14.12.10; Tue, 30 Aug 2022 14:12:22 -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=@linaro.org header.s=google header.b=u12h2y5b; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230043AbiH3Uma (ORCPT + 99 others); Tue, 30 Aug 2022 16:42:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229913AbiH3Um2 (ORCPT ); Tue, 30 Aug 2022 16:42:28 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2314724BD0 for ; Tue, 30 Aug 2022 13:42:26 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id z25so17156145lfr.2 for ; Tue, 30 Aug 2022 13:42:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=cYIt8T5qTTPMHnPLf3xQ+OALuVf5JTfc65U2LdgUBRw=; b=u12h2y5bEzDK0Z7f56rEwzaTFo5dMxORpwCNdjTOvecDv5/T3+4AThU1ci+IcjwQQJ Zng+Ii9ZUZglYG8VQN4ZrxV8w7ZtWUy/Yz+KQqHEm/B63vwtNGPaR+AYLFZFbDjLXJNe kRkkFAeg8VgZKFONW7AYee4/1rlLY7a7bu7psGDgB/o7yYRC3P/WB36OpOatqYvHdl/U E1GCJ2q7/rHqZiQEeaDWR3h/Jw0zmaO3RtEZ8C3taZ/LBRSmqUTYZfrUxD51mrnSgSyp YwUQ3lUTUvUGJ2ZXPALH4QAnwbjKoBx0THf0GAgAsbDQVvgX33vVDsdu1cSoJbEblAWR u+rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=cYIt8T5qTTPMHnPLf3xQ+OALuVf5JTfc65U2LdgUBRw=; b=aOJXv0YFknLBWhwwEDKOe+RyWliP/MGABnHXug7tWi15a9EbjCA/h2vt0giI09vczL ccSPgs5xzE9xMxYrQg9F799jAgVS+VyTD9uUORxTnj9fOCXm7uLPKSH4SlI4h34s3MYI bHDVIIpbFkDXYUsDfR0jfCcORSHn3tcdgnf1B8DXGytGtCiIEBFu+CwrB2WKrnnFz4D5 9YpjrU8mUK/U6rYEXTqXfWsXR15qFe7+PsDik/4sEy81vrM1/tuC8zS4oyix8ppLmgA1 avjSboeaoGnpxtJjrQsQRDI/ISQ/67rG6ToQ9DCCFa1vDaTyH3hDjtCPwv4Rup1Ykban fCFg== X-Gm-Message-State: ACgBeo2f2fVum5QKmRdW51F06TMTfxtJnnquBu4mOl/3MezpFIEur1Gg PiMTrZZv+Ln6g4sdKm/2TgcNnw== X-Received: by 2002:a05:6512:1510:b0:492:df5b:ff76 with SMTP id bq16-20020a056512151000b00492df5bff76mr7958543lfb.178.1661892144495; Tue, 30 Aug 2022 13:42:24 -0700 (PDT) Received: from [192.168.1.211] ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id c25-20020a056512075900b00492dc1bb346sm1712622lfs.260.2022.08.30.13.42.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Aug 2022 13:42:23 -0700 (PDT) Message-ID: Date: Tue, 30 Aug 2022 23:42:22 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: [PATCH] drm/msm/dsi: Remove use of device_node in dsi_host_parse_dt() Content-Language: en-GB To: Nathan Chancellor , Rob Clark , Abhinav Kumar Cc: Sean Paul , Nick Desaulniers , Tom Rix , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, patches@lists.linux.dev References: <20220829165450.217628-1-nathan@kernel.org> From: Dmitry Baryshkov In-Reply-To: <20220829165450.217628-1-nathan@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 On 29/08/2022 19:54, Nathan Chancellor wrote: > Clang warns: > > drivers/gpu/drm/msm/dsi/dsi_host.c:1903:14: error: variable 'device_node' is uninitialized when used here [-Werror,-Wuninitialized] > of_node_put(device_node); > ^~~~~~~~~~~ > drivers/gpu/drm/msm/dsi/dsi_host.c:1870:44: note: initialize the variable 'device_node' to silence this warning > struct device_node *endpoint, *device_node; > ^ > = NULL > 1 error generated. > > device_node's assignment was removed but not all of its uses. Remove the > call to of_node_put() and the variable declaration to clean up the > warning. > > Fixes: 5f8cdece42ff ("drm/msm/dsi: switch to DRM_PANEL_BRIDGE") > Link: https://github.com/ClangBuiltLinux/linux/issues/1700 > Signed-off-by: Nathan Chancellor Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry