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 X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 803EBC433DF for ; Mon, 29 Jun 2020 19:28:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5D58E2065F for ; Mon, 29 Jun 2020 19:28:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="KMAALDJG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731807AbgF2T2C (ORCPT ); Mon, 29 Jun 2020 15:28:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732772AbgF2T15 (ORCPT ); Mon, 29 Jun 2020 15:27:57 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4936DC03E979 for ; Mon, 29 Jun 2020 12:27:57 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id l6so5370594pjq.1 for ; Mon, 29 Jun 2020 12:27:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=gjtO3+vpKn1A68ulTNV3+i1kW5W8NfqinqR35PqtzaI=; b=KMAALDJGoGqtO4OG1RHmMXxEqwnS9LcbGgumEAe0ue9WMeuKbWgzvqK6u9RHeNs3PO hJVPWrtmgZ3DV9y8pQjNFfIrujZfg/OeJOB+5YH9B647Krz5oAq9Q6OefmoCPUHRnpO8 gO0OUkpAmKqS+MtNG7QBmUCW0a6wVU+vzFpVo6mK6BVJlBuoF/r3WOwqtnF72kf34a5K bT8WsbVXiGXMsekX+lWRdz9N2oyaWBp+EjqpPPlH07TbHmzlYsdPRA2dze8JFXDONFuc VG3tMGgUk55U3op7075lFmFL+v6gF9r2IhQ7YZ8eVy8KV7Zk/UlXsWEE/ZT+RaRbrCwt GNRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=gjtO3+vpKn1A68ulTNV3+i1kW5W8NfqinqR35PqtzaI=; b=Mlu6F4YTS2yUQHT74y4fPkAlj2babVo2GCVIJ4QYbvbnjyIPLgXKJnmX1PFrKmXjxX eWvenQnj64H2pZRPxA/G5PFkTFHhyFq2wyq/2NSuR6B1mQbFdz+OL4w6bmMRDlKFTDj2 WJ/cb9lFkcdW1dEqVI5NWq/QAbn/kNsi6zZuqgReSpDmLJ6E9ieXbrwM60iiMbbTCa3j wWysQoI551E0wOPOsSfXzn5EA1ZTC4x4i86TIW4pI/F6metMInqmr3jk5SN4jPfzFeni gm+H9rF+Lt3TD4zViBOAAV8i0DIS9zrAQJYFzDRcdXHZY91Ir3a9ODavMnJFe08Yaj2K cK0A== X-Gm-Message-State: AOAM5335mwdyUcoOnXSM6Buv2fP+1/2KOEnYV2/nHkF3M79SO/ZIuyy+ c+inIKH/lpQARo4UouO58CV+mQ== X-Google-Smtp-Source: ABdhPJy0SChbO2shXRc4vp0bmFhI2gH9IjNGdF2dYdDp0EX9wxfgtO8MwNTFrtY2y9b7qitmPqOirw== X-Received: by 2002:a17:90b:4c8b:: with SMTP id my11mr18897947pjb.153.1593458876736; Mon, 29 Jun 2020 12:27:56 -0700 (PDT) Received: from builder.lan (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id 22sm428848pfx.94.2020.06.29.12.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jun 2020 12:27:56 -0700 (PDT) Date: Mon, 29 Jun 2020 12:25:24 -0700 From: Bjorn Andersson To: Randy Dunlap Cc: LKML , "linux-next@vger.kernel.org" , Rob Herring , Frank Rowand , devicetree@vger.kernel.org, Andy Gross , linux-arm-msm@vger.kernel.org Subject: Re: [PATCH -next] : add stub for of_get_next_parent() to fix qcom build error Message-ID: <20200629192524.GK388985@builder.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-next-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Mon 29 Jun 09:43 PDT 2020, Randy Dunlap wrote: > From: Randy Dunlap > > Fix a (COMPILE_TEST) build error when CONFIG_OF is not set/enabled > by adding a stub for of_get_next_parent(). > > ../drivers/soc/qcom/qcom-geni-se.c:819:11: error: implicit declaration of function 'of_get_next_parent'; did you mean 'of_get_parent'? [-Werror=implicit-function-declaration] > ../drivers/soc/qcom/qcom-geni-se.c:819:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] > > Signed-off-by: Randy Dunlap > Cc: Rob Herring > Cc: Frank Rowand > Cc: devicetree@vger.kernel.org > Cc: Andy Gross > Cc: Bjorn Andersson > Cc: linux-arm-msm@vger.kernel.org Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > include/linux/of.h | 5 +++++ > 1 file changed, 5 insertions(+) > > --- linux-next-20200629.orig/include/linux/of.h > +++ linux-next-20200629/include/linux/of.h > @@ -630,6 +630,11 @@ static inline struct device_node *of_get > return NULL; > } > > +static inline struct device_node *of_get_next_parent(struct device_node *node) > +{ > + return NULL; > +} > + > static inline struct device_node *of_get_next_child( > const struct device_node *node, struct device_node *prev) > { > >