Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp359716ybf; Thu, 27 Feb 2020 23:00:36 -0800 (PST) X-Google-Smtp-Source: APXvYqwy4NfGDgT8UCV9P5H5ZCGW03Ri3hte5aK133eLMnEe2e9RxqDUeQwGXLAM9MUwR/t9hSKP X-Received: by 2002:aca:ea43:: with SMTP id i64mr2193502oih.30.1582873236298; Thu, 27 Feb 2020 23:00:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582873236; cv=none; d=google.com; s=arc-20160816; b=MW4OqZ148InajEWrGqKgcRn7jwzQ+lWAK+HWi6RZobluK1Ikt1AQ7dXMFPRi4nWhgO 5RmQCkfMKgfL0It/hogc8a1snBAkNNrC19Ag396XhrMWKZ3yn7WadSp+RifVuGuQknWG 0Souh+4WKNzaMsfX2juoWAa3+4RPZoMiFww+7dPBA6EefbtMhmg5yeiD03b5W3MStmy0 fGTwtQlYu5tMxuQ1f4PdDmouo5tX6F+8TUNCRj/mhuhvXmM44WjpyBw4g106I052BuUb SsslUVyo573b/Em+tYWlmKiBL02qr3TYb86Z9MuZu+XKwTCeL08FpMwKc/BGte6H4/og CfAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=9oUz4Cmqr8L31qPlnQlBycoazupwuvrGBIPw25Hm8ps=; b=fkKZ3MNDNCZM9+K64OFeD896odtBcutd9Yi8ZSXn8AHEhawL4+WpJ0z8sRY8F5pefT tlDD6Vhv1g+sUwTACuaP8UQaZcOigTAZ0WHGsySElidw/g/QwvFO4893w1X6PrYU2Eht kSHdNS7yxVHS1Bai89gGpsMFZsUkHrT+RzjSV3d5AHf8DplRP6VUFnPOO6ZyesjBkOTP d0scV5eMFAccEXRCgMZSeIpxoTgrODqLrVlD90jMtQs+3FnUMPc/V+emx8eEtvCo+h0O NodD6/wx+NKM1q9hHDTQdsaAdjaIe0lPporl13ax8drpHW2AnDaPmRR7sUJAJ1qdJE0J 9AjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a3si1067449otk.234.2020.02.27.23.00.23; Thu, 27 Feb 2020 23:00:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726682AbgB1G7O (ORCPT + 99 others); Fri, 28 Feb 2020 01:59:14 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:47499 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725870AbgB1G7O (ORCPT ); Fri, 28 Feb 2020 01:59:14 -0500 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j7Zc5-0006dq-Rr; Fri, 28 Feb 2020 07:59:09 +0100 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1j7Zc4-0008Ii-Od; Fri, 28 Feb 2020 07:59:08 +0100 Date: Fri, 28 Feb 2020 07:59:08 +0100 From: Marco Felsch To: YueHaibing Cc: support.opensource@diasemi.com, linus.walleij@linaro.org, Adam.Thomson.Opensource@diasemi.com, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 -next] pinctrl: da9062: Fix error gpiolib.h path Message-ID: <20200228065908.q435lc5ql3bnwc2p@pengutronix.de> References: <20200228040047.14808-1-yuehaibing@huawei.com> <20200228063429.47528-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200228063429.47528-1-yuehaibing@huawei.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 07:43:16 up 104 days, 22:01, 130 users, load average: 0.08, 0.04, 0.04 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi YueHaibing, thanks for covering that and sorry for that bug. Didn't covered that because I'm using a newer toolchain. On 20-02-28 14:34, YueHaibing wrote: > gcc 7.4.0 build fails: > > drivers/pinctrl/pinctrl-da9062.c:28:10: fatal error: ../gpio/gpiolib.h: No such file or directory > #include <../gpio/gpiolib.h> > ^~~~~~~~~~~~~~~~~~~ > > Fix this wrong include path. nit, the path isn't wrong. Whats wrong is the syntax. Reviewed-by: Marco Felsch > Fixes: 56cc3af4e8c8 ("pinctrl: da9062: add driver support") > Signed-off-by: YueHaibing > --- > v2: Fix wrong path > --- > drivers/pinctrl/pinctrl-da9062.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pinctrl/pinctrl-da9062.c b/drivers/pinctrl/pinctrl-da9062.c > index f704ee0b2fd9..c15eb6e99bc1 100644 > --- a/drivers/pinctrl/pinctrl-da9062.c > +++ b/drivers/pinctrl/pinctrl-da9062.c > @@ -25,7 +25,7 @@ > * We need this get the gpio_desc from a tuple to decide if > * the gpio is active low without a vendor specific dt-binding. > */ > -#include <../gpio/gpiolib.h> > +#include "../gpio/gpiolib.h" > > #define DA9062_TYPE(offset) (4 * (offset % 2)) > #define DA9062_PIN_SHIFT(offset) (4 * (offset % 2)) > -- > 2.17.1 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |