Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28947142rwd; Wed, 5 Jul 2023 05:13:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6dHJDpJuY7lUNWRx1o2e87nuHt3LWHO5g3ZbdzACAyPzXJkoCX73PRLcdOnCTKgN6OlMUS X-Received: by 2002:a05:6a20:7487:b0:122:b651:f8c0 with SMTP id p7-20020a056a20748700b00122b651f8c0mr14385202pzd.28.1688559183670; Wed, 05 Jul 2023 05:13:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688559183; cv=none; d=google.com; s=arc-20160816; b=mFwdIHALfxSDXLxaT8oC8SajT4dK7lTbRuO2AEHUNe6KnJUt1AljajDivmIcXwaWYv rKSDknGdMHBhM3q0i/abmr/MzMkFLJdrPNJBH+MVXguIDRoQkkS/5VJdTBCyQeSGmsnw y/y9ur+xbr0TWoR2kFWJDwurmvnVrdhI99oTMYxf4NMoBYv4XTYCQCACcmZeJJ7tIO1B C5759tDBPNdZhSynCn5Stn3IpyTSDaDeYXgYnmkXr+DtfIPayW1aDVvnfi4V2dYo0Vbx X/R0C0o8PIUjTKSjV8JDsfpNCoCpktqTisOWQtnM9V2QBVRDuVIxPY3QdL5wr8A3dhmx PAIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=JAcI9i2cZxQlI6EuMbQdWc0nRtDRpPblQMafL4coHB4=; fh=35cKH0LGUcJtVc4BHQ4s1dKmd//oQybdmdsUL3XPQ/E=; b=wQfqlT4qhpmQDyOsGEI/udomMaEr8VQdiuvCp/xhMoL8vzp3aemC/veZlDAZrooyHC ygOzDnYdAqPZjYQykQn8Aie+dwp5rvkVrs9W6pRF2RQ1dT1t+eZaunmXSUrSCV97LUwS 6KAEn780L88CS47mVWlMZduBbhWhOLabv+KiAFV0x9eHb3af+6GWPK715CY24R6S1OzT XdwpT43uG+Z2d3PcEXKM3NNL5hLSv2g4CVloGCZxe8uovjwSPf3SlaGbNNoWlB75DDF2 pdffTGPvModnkMkrxkh7KWVvYwfONImk2njoaq73Em8Zo/zXRiQRpJQQCl8raMdvuInB rc4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="WF0x/83o"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r9-20020a63ec49000000b0053fc3bc33e4si23030573pgj.795.2023.07.05.05.12.50; Wed, 05 Jul 2023 05:13:03 -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=@gmail.com header.s=20221208 header.b="WF0x/83o"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231492AbjGEL6H (ORCPT + 99 others); Wed, 5 Jul 2023 07:58:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231267AbjGEL6D (ORCPT ); Wed, 5 Jul 2023 07:58:03 -0400 Received: from mail-vk1-xa29.google.com (mail-vk1-xa29.google.com [IPv6:2607:f8b0:4864:20::a29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A87B81989; Wed, 5 Jul 2023 04:57:57 -0700 (PDT) Received: by mail-vk1-xa29.google.com with SMTP id 71dfb90a1353d-47e06acce3bso1938358e0c.2; Wed, 05 Jul 2023 04:57:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688558277; x=1691150277; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=JAcI9i2cZxQlI6EuMbQdWc0nRtDRpPblQMafL4coHB4=; b=WF0x/83oDsjWichye2yQHfBvncEPG7sdjJ/uwvD/ItEHEckSOAgNqosa/fJ/XPXp9R hqqdJW9ALV062S+EycufZlPKlTlY76EOkDoa3WW5zY4Qspw80tPmWPeEhHJ+qLuANg6s c3l+vdmYM57OgfmTLSNi+UEsJ/zpmmdikXLDtIhGPU4VcjKtnMBvf8CW6iFE0JD5lNe5 /6OJML9iQ33Grt+vqFWqSvylrJLd3HcuS+jlr0Yb1QD/Br/69cFEYeM1u3tt0XuUhSdG AVNANruKjy/y2mIKnTrlvQrDq6R/uHWgtG+F8K3dZyxBsI1mlYEwvR+/Jz/3pqxH9Q+T dtew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688558277; x=1691150277; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JAcI9i2cZxQlI6EuMbQdWc0nRtDRpPblQMafL4coHB4=; b=bpy0knVKYz7G+CfZr3AJjYa7zhgLje/sp5aPO7CnDmganJAMwaSS0o1KH2qqmW5AFs 6uFzDKjorjr+EdC4XkgMh9194CtcdXTPnmniJr0kEKpioAyAQea5krvC+H0ZGs6oMUJ9 eHbW8zleMB6onWDg9UmtMBsPDa0No2r/T5LyhbgN3HZyS34moTyMcOEvXT9iZ3x/WWk0 xunLvbglMvbTDpqeUuzspdmroY12E0DYNbORUw5toqE0X5X08ZYopMH9bymxFPNu4cPo H3zmr/EXlAF58z68OGYL4C3/Ec6gZw8gaGj9lrKduzk6Mocro8LFFCgvLSwrRM0lZmY8 55Ow== X-Gm-Message-State: ABy/qLbq6FFjw4z1EAyBS8tss9tUAL5shWlrdhuFciUBHRfph6NQX69X Fc3eMDSFco4ofnG/W4RnV4UNt26qoKG9zyOaIo0= X-Received: by 2002:a1f:3fcc:0:b0:46d:d5c1:8c2a with SMTP id m195-20020a1f3fcc000000b0046dd5c18c2amr7597217vka.16.1688558276555; Wed, 05 Jul 2023 04:57:56 -0700 (PDT) MIME-Version: 1.0 References: <20230705104824.174396-1-alistair@alistair23.me> <7536d9a3-4738-2bc2-e33e-d93347893865@kernel.org> <20230705114443.GA3555378@rocinante> In-Reply-To: <20230705114443.GA3555378@rocinante> From: Alistair Francis Date: Wed, 5 Jul 2023 21:57:30 +1000 Message-ID: Subject: Re: [PATCH] PCI: rcar-ep: Include linux/pci-epf.h instead of linux/pci-epc.h To: =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= Cc: Damien Le Moal , Alistair Francis , marek.vasut+renesas@gmail.com, yoshihiro.shimoda.uh@renesas.com, linux-pci@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, lpieralisi@kernel.org, robh@kernel.org, bhelgaas@google.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,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 Wed, Jul 5, 2023 at 9:44=E2=80=AFPM Krzysztof Wilczy=C5=84ski wrote: > > Hello, > > > > pci-epc.h doesn't define the members of the pci_epf_header struct, so > > > trying to access them results in errors like this: > > > > > > error: invalid use of undefined type 'struct pci_epf_header' > > > 167 | val =3D hdr->vendorid; > > > > > > Instead let's include pci-epf.h which not only defines the > > > pci_epf_header but also includes pci-epc.h. > > [...] > > It is odd that the the build bot did not detect this... > > This is a bit of a surprise to me too, especially since none of the usual > bots pick this up, and I can't seem to find such a failure in the nightly > CI logs either. > > Alistair, how did you stumble into this issue? Also, which version or > a tree would that be? I was building the kernel with this defconfig [1] inside OpenEmbedded. It was the 6.4-rc7 kernel, specifically this one [2]. 1: https://github.com/damien-lemoal/buildroot/blob/rockpro64_ep_v23/board/p= ine64/rockpro64_ep/linux.config 2: https://github.com/damien-lemoal/linux/tree/rockpro64_ep_v23 Alistair > > Thank you! > > Krzysztof