Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1825845rwb; Fri, 12 Aug 2022 07:27:22 -0700 (PDT) X-Google-Smtp-Source: AA6agR4ORSJkDgrSPPxU8fgkFVQYHmJY9LjRYv6cdYTlWm66XN7HRzFgv+Dau6TzgLyRnpl6t5TM X-Received: by 2002:a17:902:cece:b0:16e:ea30:6287 with SMTP id d14-20020a170902cece00b0016eea306287mr4320397plg.104.1660314442165; Fri, 12 Aug 2022 07:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660314442; cv=none; d=google.com; s=arc-20160816; b=GjhaY0GWCD3E+hw4U8zxW2v7aNUGEVNSdpi+kYPeemyh4xO2uE1EH8rpB3plta99Hv 4hkuB7FqN2OnjHiOwak740rAGreFmyAr4NidMQMjRV0IkLduZkGul1lec8kaZiTUC1Ru TP/TqIZDAS/6DfaUGB/CjtLRWIhCUBeqsYU3xMLipeL9Sh2CJwtdt1dQIrBOsD5EEWVK RYRz603fybmIdTQxWs71BSNkErGMD/bHUE2DbUD8jyDGi6SG18F+DtUaD06TVDAkN3DI wTjIZAQDmo94RBjwgM4LYe2/pn29blPRq+F0MnVMvfWNhetNkJw48h5Cawt+iopMLPPj 1Xxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=l55CP5XbR8pOe/7SbfCSQOl6G/Q9bIK3WGKGQ3uUmWY=; b=EgipK/AMCorBsON753eRjQNeMsYKbWmHo3/9d6ZcjHmMlLleNlx08HkMNLekaM0fpx mMSgEsN7XbKGzWy69Vtp4WVtubwWzVpmQshIqwK8ufGkhxKekfFlIGoWj3lGyR8jk2b7 b1qLWLZFs7i88R57GuBFCsT2BHWthdvdf9joaT0R3C6dHmx2YaYsOLc4wpxaAbbj+GVH qwM2MCVKC1gEUKDaCfq9gwA+7zou04W2HH+axTIYpqJ8E0huuThvZrSgHi7vXqw8OGp6 0fNPPXVdXscTjuEOnPE8SklJUV/u9N98xBF1T/ljFDT0RRDBmnGZTTgkkyGT0HOGeZNs r52w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kudzu-us.20210112.gappssmtp.com header.s=20210112 header.b=keayM69V; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 198-20020a6300cf000000b00420bea01408si2395250pga.713.2022.08.12.07.26.58; Fri, 12 Aug 2022 07:27: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=@kudzu-us.20210112.gappssmtp.com header.s=20210112 header.b=keayM69V; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239120AbiHLOOk (ORCPT + 99 others); Fri, 12 Aug 2022 10:14:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239117AbiHLOOZ (ORCPT ); Fri, 12 Aug 2022 10:14:25 -0400 Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD095205F4 for ; Fri, 12 Aug 2022 07:14:24 -0700 (PDT) Received: by mail-qv1-xf2c.google.com with SMTP id u1so106543qvs.8 for ; Fri, 12 Aug 2022 07:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=l55CP5XbR8pOe/7SbfCSQOl6G/Q9bIK3WGKGQ3uUmWY=; b=keayM69VSpaFonBMifhHQ23YrbU1pwRFlRsRbeSaXRVqxwjEjXaPKebCKbwAqPc5Kt 4S+BcG2wrM2X0X7Ki6PnJXDCuE3nfW1ALTjI3tMZIklW+zKI8c06ZVL+nuaHaw4cWei+ am6C659TdJrqMqJ8A/tpTxZdbOYYg0voz1zKsB7GbpZ6huwO3e1uEUKHXAgTkmpczEs6 E3+iIDxDf2IUOEWwiLT0yUFo1TRpx1NBba3ZMzPlHLQTPM1Z/xYV1skeaOcXb/0k2iRl K2fKgH7j4wTUen9/61kuGMSBbiZNEh4uRFyDC4TNum1SEXqSknPgQgbBszzcNE0leO4H F81Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=l55CP5XbR8pOe/7SbfCSQOl6G/Q9bIK3WGKGQ3uUmWY=; b=tfPkfFMR1crW4OSJ4ZVTk+Mw+S4WGmIhYcsqTNUrI6dACqbujL85cNzR0x+LXVgNKY HgAr6jOB5lejhE2HCLXH916QeTzjznc1ENnQnuf2AfAf0w6KDdTmn4JH3hdeEqJcEgJM q3Rm2X0iaLAxiO2pj/NlwmQ/2BvU547ZTlDL+McVerCCZHggFjXXEkHjf64aoPe/8p27 RTeP9VZxfzUWFYpke5Fj3iWtQJiXrSAPpxnLUbA/5E7qkXg8BH/nXqW26+312YPliOmf xcpcbyWm1B4yDf3mfneyGGrwsXrmG/K5CJdgOpmFb1bSHSkgLI6oZqIOtlJCtwEVaSWF L50A== X-Gm-Message-State: ACgBeo1P0t8I+qKLp2wMTY6Tkps74Lv7wjNUVdA4bKaPJPmO31KOlp/a uT159q/vurGfVyGCeyaP0Zf+RQ== X-Received: by 2002:a0c:da8e:0:b0:476:fa44:ea0f with SMTP id z14-20020a0cda8e000000b00476fa44ea0fmr3422977qvj.115.1660313663946; Fri, 12 Aug 2022 07:14:23 -0700 (PDT) Received: from kudzu.us ([2605:a601:a608:5600::59]) by smtp.gmail.com with ESMTPSA id o13-20020a05620a2a0d00b006b9122642f5sm1838892qkp.75.2022.08.12.07.14.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 07:14:23 -0700 (PDT) Date: Fri, 12 Aug 2022 10:14:21 -0400 From: Jon Mason To: Bjorn Helgaas Cc: Souptick Joarder , kishon@ti.com, lpieralisi@kernel.org, kw@linux.com, bhelgaas@google.com, Frank.Li@nxp.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, kernel test robot Subject: Re: [PATCH] NTB: EPF: Mark pci_read and pci_write as static Message-ID: References: <20220708020035.8071-1-jrdr.linux@gmail.com> <20220712194936.GA790126@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220712194936.GA790126@bhelgaas> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, 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 Tue, Jul 12, 2022 at 02:49:36PM -0500, Bjorn Helgaas wrote: > On Fri, Jul 08, 2022 at 07:30:35AM +0530, Souptick Joarder wrote: > > From: "Souptick Joarder (HPE)" > > > > kernel test robot throws below warning -> > > > > drivers/pci/endpoint/functions/pci-epf-vntb.c:975:5: warning: > > no previous prototype for 'pci_read' [-Wmissing-prototypes] > > drivers/pci/endpoint/functions/pci-epf-vntb.c:984:5: warning: > > no previous prototype for 'pci_write' [-Wmissing-prototypes] > > > > mark them as static. > > > > Reported-by: kernel test robot > > Signed-off-by: Souptick Joarder (HPE) > > IIUC this series is going via Jon. Let me know if I need to do > anything. Sorry for the extremely long delay in response. This series is in my ntb branch and will be in my pull request for v5.20 which should be going out later today. Thanks, Jon > > > --- > > drivers/pci/endpoint/functions/pci-epf-vntb.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/pci/endpoint/functions/pci-epf-vntb.c b/drivers/pci/endpoint/functions/pci-epf-vntb.c > > index ebf7e243eefa..111568089d45 100644 > > --- a/drivers/pci/endpoint/functions/pci-epf-vntb.c > > +++ b/drivers/pci/endpoint/functions/pci-epf-vntb.c > > @@ -972,7 +972,7 @@ uint32_t pci_space[] = { > > 0, //Max Lat, Min Gnt, interrupt pin, interrupt line > > }; > > > > -int pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) > > +static int pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) > > { > > if (devfn == 0) { > > memcpy(val, ((uint8_t *)pci_space) + where, size); > > @@ -981,7 +981,7 @@ int pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * > > return -1; > > } > > > > -int pci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) > > +static int pci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) > > { > > return 0; > > } > > -- > > 2.25.1 > >