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=-7.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 7EB45C4707A for ; Fri, 21 May 2021 16:58:36 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A3A13613E3 for ; Fri, 21 May 2021 16:58:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A3A13613E3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 93D0F82C97; Fri, 21 May 2021 18:58:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ZcPtg0sp"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C9AC582CBE; Fri, 21 May 2021 18:58:31 +0200 (CEST) Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 30AA882B99 for ; Fri, 21 May 2021 18:58:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=linux.amoon@gmail.com Received: by mail-ed1-x536.google.com with SMTP id j10so6536531edw.8 for ; Fri, 21 May 2021 09:58:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=HRJLTTzD/qomY9TZBGGHRNhyNGQMxp1eo6kt3sO16hg=; b=ZcPtg0spbULfQOWTtiqdRvKRDh4pSl0uvkPqUjcc3J+sr4gRccunE6HwIu/Twq3+7/ qtdeevSZlFX0IFKi+4I5nJbbUFFzRUoiL4ZHE0YLTnOrWPbQQDIfm7Y4WLVHLjfQ3175 jRqjIzSK2/RQ6G3e62Ef/gb2xup0YwksHLMGukOjid+V1BGgXsy9ei5ldcZr84rnrr5A 2KfJzsuCHptcukDgGVSLrY9JfE8UxEulhKdyYXAk7/5flw1lnzakWZvYV1w7WMzJUMTC pmJVPCG1UdoohDiKCCKMCItmoKN9uSNC4/QLI43bjw18aHiknZtkS51NVf2QMsCykdxP sOsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=HRJLTTzD/qomY9TZBGGHRNhyNGQMxp1eo6kt3sO16hg=; b=skm8uWS3/wWNEb3U3Ba93JyKv0cIZPeq9nbI3VwJ8rgFeUU0/jec+KeHq6lGi/aM/Z 1tRA2jTkBcWqSC6rexqqbkH7az0yE6uhR31hC/wA1lELdb6Z/gjXEOqh5tIfswx+tEAK fnJX75Y/xsaDj3SSgZmpbVxFbwfknlKIw6kYGdkTRRH0/INEMsy4q/KwADIl8Ep1SkfE oJvFt2ej6hXhT/ksMuagdQ2QJyKavnJA5H6KV8pHYPJkDwNBsiOlda5pIUP+eGRIhmoc XRc9UN9iFu8l19d5ctpmvcmNslUx3aRJZ9BtGSUvlJbIhd9xfiJWoX4J7JMoBWFiTwj7 kJHA== X-Gm-Message-State: AOAM531FziG/L/3Eev9NOwqHb/Is7GK1680gmSJlfP999nbvW88+Cj+X XPqdumpikxvTBdyyEOZd2fRCAyriTDfNBISZcYOesA3/fGk= X-Google-Smtp-Source: ABdhPJyZBnOxho5UynsGEHZaCGLxrTUiTpn2VnIETxA6JUUNkQOLHNMW2L0roRlIo3sLon4yjUE9iEd1xyGDwiGtTV8= X-Received: by 2002:a05:6402:27cf:: with SMTP id c15mr12145036ede.130.1621616308781; Fri, 21 May 2021 09:58:28 -0700 (PDT) MIME-Version: 1.0 References: <20210426132632.10221-1-linux.amoon@gmail.com> In-Reply-To: From: Anand Moon Date: Fri, 21 May 2021 22:28:17 +0530 Message-ID: Subject: Re: [PATCH 1/3] pci: pcie_dw_rockchip: Fixed the below compilation error To: Kever Yang Cc: U-Boot Mailing List , Neil Armstrong , Bin Meng Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean H Kever, On Fri, 21 May 2021 at 18:51, Kever Yang wrote: > > > On 2021/4/26 =E4=B8=8B=E5=8D=889:26, Anand Moon wrote: > > Use the Error values that may be returned by PCI functions > > Added the error macro from linux/include/linux/pci.h > > > > drivers/pci/pcie_dw_rockchip.c: In function 'rk_pcie_read': > > drivers/pci/pcie_dw_rockchip.c:70:10: error: 'PCIBIOS_UNSUPPORTED' > > undeclared (first use in this function) > > 70 | return PCIBIOS_UNSUPPORTED; > > | ^~~~~~~~~~~~~~~~~~~ > > drivers/pci/pcie_dw_rockchip.c: In function 'rk_pcie_write': > > drivers/pci/pcie_dw_rockchip.c:90:10: error: 'PCIBIOS_UNSUPPORTED' > > undeclared (first use in this function) > > 90 | return PCIBIOS_UNSUPPORTED; > > | ^~~~~~~~~~~~~~~~~~~ > > > > Cc: Neil Armstrong > > Cc: Kever Yang > > Signed-off-by: Anand Moon > > > Reviewed-by: Kever Yang > Oops, I forgot to send the revised version of these patches. > Thanks, > > - Kever