Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp31133224rwd; Thu, 6 Jul 2023 16:33:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlG+w+el/Tx8HtSEnwfVwJLxH+HFR4u6/4Dx480yxhGq2Myp0tit5QFBlI6Fp+hC6SfcEWr1 X-Received: by 2002:a17:903:110d:b0:1b3:d6c8:7008 with SMTP id n13-20020a170903110d00b001b3d6c87008mr3148232plh.57.1688686426697; Thu, 06 Jul 2023 16:33:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688686426; cv=none; d=google.com; s=arc-20160816; b=1AF64n9xuHUrMwWLIecK0qxHApzJBvTSm4tFPKqhQIciee3XSc0pH9CwpcOtE4nvDZ /cDYEAcY23lET8l2GZ+FCS280d5pxY4pOSgKs2vfu0qZnWT6VH2YTVHQqRlc/m8b/FHA uqhcRnv6ZsoamD5A+3PZC0nSohqWHeoYtHWbVuNI7qHurF24UXU64UUyWThLkQ23dN1b QxYEypMeDa4quC76RsRw+mcM0V6CuLEvsL5vj+jyG2OiUiU9DuX1UW5Nw4Wk2cNZg2zU PxHb+DR4BD8I2hiQPoHwDF9ZyDcqqtWpNLZdnaCCB1tkKN97skzyhmv9CmfR91Hp7/58 W1jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=bDdj2ImLWq3orRh5mZ0i6CkrMO5thDbEKJP5vNXEszQ=; fh=PWo3QgpzaEXpnEsq2hFQ3kGuUkFb2+7XrKtP7BQxQnA=; b=iy3bOd6vu4ndVe83HsxB6/Y5KFasRYEmHuBmi8V50J37ksALbnRlfW6B4Bu1uAZ/ib BgKrYiY0qhGYqQVjKLyPMzrslPjDVB9GqdvBx4HY52UjCGDSpTe2yoh3Mql+ks77K9We GhP+uX/zGrIVMSQ8wVuqSmdbikuF0vC8gBca/JkR9Dv9LR2QoJrz1NmEJgfH0vb6+a6Z wqbidTJPz0z+WQPCT9hIwjoLaFrMF9segd0paYPCIK5kXOSVThLjZeTvsuwNFvZQ5WX2 viPkp1YgsiIOBssyetKzoZqNVhzqgWnuhkNaOIYb3FOtoVS8SqazyGOjRl/lhksFZzgt qjAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=XOsOwJYX; 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 e13-20020a170902f1cd00b001b8ae24c1fdsi1991770plc.584.2023.07.06.16.33.32; Thu, 06 Jul 2023 16:33:46 -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=@infradead.org header.s=bombadil.20210309 header.b=XOsOwJYX; 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 S232035AbjGFX0k (ORCPT + 99 others); Thu, 6 Jul 2023 19:26:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231366AbjGFX02 (ORCPT ); Thu, 6 Jul 2023 19:26:28 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F3B31BD2; Thu, 6 Jul 2023 16:26:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=bDdj2ImLWq3orRh5mZ0i6CkrMO5thDbEKJP5vNXEszQ=; b=XOsOwJYXZVQ33w6XPomj04Renh yQFciK3I0zE9Zpzkq3abJrhB3iswgOvCHPxvjEYm27D9reaX9t91tKrcQRzF3ZEIg3mauARWtTTAq mkDRH/+DHf7c/IQjBIpMU4PFnWC9fZf/Mk4YhC1PQFDfKPMfiEuFAFgfkEk5RJRjPiB+/vzjoackT XUOGbqWSIFLQ12Va6M8GH4/uO7EvdbsNRrkafyM8Gy0Ocy6f6sDkMdBgAAnpJEndbyuC8i6sdMtKm oesPnV5GC8cZptTn4JM6aXCMsystUzju5zYlp/j7FmgU2bYHuhRANZ4BtXwvBvgDrM42R/4mR1FSe 7OmlOTMw==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qHYMh-002xMC-1W; Thu, 06 Jul 2023 23:26:23 +0000 Message-ID: Date: Thu, 6 Jul 2023 16:26:22 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH virtio] pds_vdpa: protect Makefile from unconfigured debugfs Content-Language: en-US To: Shannon Nelson , jasowang@redhat.com, mst@redhat.com, virtualization@lists.linux-foundation.org, brett.creeley@amd.com Cc: netdev@vger.kernel.org, drivers@pensando.io, sfr@canb.auug.org.au, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230706231718.54198-1-shannon.nelson@amd.com> From: Randy Dunlap In-Reply-To: <20230706231718.54198-1-shannon.nelson@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, 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 7/6/23 16:17, Shannon Nelson wrote: > debugfs.h protects itself from an undefined DEBUG_FS, so it is > not necessary to check it in the driver code or the Makefile. > The driver code had been updated for this, but the Makefile had > missed the update. > > Link: https://lore.kernel.org/linux-next/fec68c3c-8249-7af4-5390-0495386a76f9@infradead.org/ > Fixes: a16291b5bcbb ("pds_vdpa: Add new vDPA driver for AMD/Pensando DSC") > Signed-off-by: Shannon Nelson Reviewed-by: Randy Dunlap Tested-by: Randy Dunlap # build-tested Thanks. > --- > drivers/vdpa/pds/Makefile | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/vdpa/pds/Makefile b/drivers/vdpa/pds/Makefile > index 2e22418e3ab3..c2d314d4614d 100644 > --- a/drivers/vdpa/pds/Makefile > +++ b/drivers/vdpa/pds/Makefile > @@ -5,6 +5,5 @@ obj-$(CONFIG_PDS_VDPA) := pds_vdpa.o > > pds_vdpa-y := aux_drv.o \ > cmds.o \ > + debugfs.o \ > vdpa_dev.o > - > -pds_vdpa-$(CONFIG_DEBUG_FS) += debugfs.o -- ~Randy