Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5643296rwr; Mon, 1 May 2023 08:43:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ56Ekyn3p9TDVLwrawhK4OMERDwfFGNpASSFJQO2gIVTMulqzb/psgZpeqEYFudK9gl1Riq X-Received: by 2002:a05:6a20:a109:b0:f2:7dd:2753 with SMTP id q9-20020a056a20a10900b000f207dd2753mr17575252pzk.33.1682955798600; Mon, 01 May 2023 08:43:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682955798; cv=pass; d=google.com; s=arc-20160816; b=Vkd3K5r8lWVROvQ+6LIjvw+dIz9gNkna2JE2qArZX9MJm6qQsBdlk9nXUlw2yTnePR uSYuBBinWbQN/UOQEn5z5WW8cJsDkdYii0afhOddjjaXDEi+rNAxOZFV5Qws76M28uon 9uKnwBl1hpkAei1ebo15qB9Td5kNn0lmxGPC/GFpsul2wLmd6n2XShbSlIrR6aanC3lR Hp/Qd4zytWvQv9fMfgmlD9FoOe2wrjvCbde5BrG5S280sfeoAxyvlEBz8aJ/xC9N+5Z6 PWbiZQFqIvSmwSN6C8RgTLbIliH5Q1G9tiAzcH0CLwiKMnIHwODz0UkSvOPRM1rDJqU/ looQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UI6ooDAuT5rVZxcrnfrUYfL4JZOF0AoAgyErnH1glyU=; b=tjCAssBFG2cbCG93N5QtwGntZlIlXEff1Op2UvMRc09ac9ZPpASj3mRSdJIVHM9gBo cITU8s9pKLNoClHIjcUrqUQ7ycPy7+NwLNJuFuRuSM5bx4TS2Il39WAHdu78wfEydHtu cJj6RW8a6Erg3m1XRL6b6vO3jW1bt9Jw1O17Te8zO9gDosYCfSbQOx5OIJ3hGSfz9l+G RDvOsNJzzkKtItlj7w4rRJsdYRSK+7om6ght9hNfCihZbsDt/6u9VIYyftAsgK4jPKWK DODIGXmTGxZyc92aGwTQr32k+vRVlbRQlGD2VPHDncFS7FZUXVYCFOzKprhdrrExctJu 6h2g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=G+FaDcOO; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l25-20020a656819000000b005285e30a362si17816984pgt.593.2023.05.01.08.43.04; Mon, 01 May 2023 08:43:18 -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=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=G+FaDcOO; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232805AbjEAPl4 (ORCPT + 99 others); Mon, 1 May 2023 11:41:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232662AbjEAPly (ORCPT ); Mon, 1 May 2023 11:41:54 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2139.outbound.protection.outlook.com [40.107.223.139]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6590E6; Mon, 1 May 2023 08:41:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l7+zS/3as6fdEODL+m9RX+eiHLJYMiqM0jf0wpwdWGSqcL3FQdTJIrR70Ezz0JsIN6Q+dfrg0rIHTMxg7LHhN5plFCpzS4YGSGHRxCmqAU3Zlvy7O4ITheEezk+dNGZJ/iGMFvviCy3ncPypE4H1bTjGFQW4M/TcTk6GWtqSx9tonbkKeTBIuqq2CzZTKAAaWIt72BgqWTq7AIpdj6gZfIOZpi3oZkDjOgbPPjcO95cusYIGDRaPzaNqiK9eX/h3/fBLOw1wkKJD7q3aTJNgRqmgst1wyK3KaXw6ZLACrc64tok0szI0f5VBvlt4rdpCBYPNcTznX+HCY74YsF6uOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UI6ooDAuT5rVZxcrnfrUYfL4JZOF0AoAgyErnH1glyU=; b=aoKQgkuvkWt4PGjfF3nBrKfpjXMJ6bWF5ccn7pduVhfPBL6xikjWJ2hFbTRY8VlwiNLljmaTeq1RD2tHnrWavcwqO0asyCORhPof7IlgYcIPRiDTXmONC2JBqcBB46O7uZ/XzHbo/OxJZQiwgQT/vC2Uzh+z+WLqZFL2aCEwm2h635CAgsSy7el71hUUr+2cyBk/SSdj7yYKoyPCSd/wYLcA8CsIDoQNWctwss+tvOeIf6qJS++CHOgDqP8e3wNPYxruwe3Td+EmMsN05o0B44lDQiT3DX8TN8vZIZ+Ut165ZwPUYFskiUeRTLv6nbGzDGnDNqlNM58w1Hfn+ILVVA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UI6ooDAuT5rVZxcrnfrUYfL4JZOF0AoAgyErnH1glyU=; b=G+FaDcOOMKmwgTAKtW8naMyFUQEAd5DiDq/2NtKDdVteqkQJI8oeN6oOtF13ldEAK1kc50+wgzhmaPH6tZvEQzQqOZu3/0m9jnHNAIIqz/zj4ZCJsNr6dWFu5Vpu+md0JofvcT/T/Pmd+Hnqxc2O/jSfF2wovzAF5wO1f9Et4GI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) by SA1PR13MB5538.namprd13.prod.outlook.com (2603:10b6:806:231::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.29; Mon, 1 May 2023 15:41:50 +0000 Received: from PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::f416:544d:18b7:bb34]) by PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::f416:544d:18b7:bb34%5]) with mapi id 15.20.6340.030; Mon, 1 May 2023 15:41:49 +0000 Date: Mon, 1 May 2023 17:41:44 +0200 From: Simon Horman To: Arnd Bergmann Cc: Shannon Nelson , Brett Creeley , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Arnd Bergmann , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] pds_core: fix linking without CONFIG_DEBUG_FS Message-ID: References: <20230501150624.3552344-1-arnd@kernel.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230501150624.3552344-1-arnd@kernel.org> X-ClientProxiedBy: AS4P190CA0025.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:5d0::12) To PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR13MB4842:EE_|SA1PR13MB5538:EE_ X-MS-Office365-Filtering-Correlation-Id: deaf7732-52a9-476a-e286-08db4a5a9427 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Fcqv6julS+s21o0ED/8wZgDnXVah486OqQ7I4+YxACz3EK2w4jDREq2cYJ0YPyTDfJdIoBoU9FWJiNKX6H3uC+GmH1jC+U8vcB10O2YDN7r2k1avyXy3iHWFJnt4DBEn3dmiikqYDDhToEUobH5BPI4lx2myoR7SN8FgeJnwGUb3N325YUzZdj4DqnjYDvO+l3IcefoU1i8l0UmqhEq6qAhEyqwUVtIp3Cc/DPdyMtbVA8czNQsOUBowbGCnVxKni/r9PZ26g5QcToWYkwYreGDHC05w7kDSJfV7uk6Ar2duDYqf+f7knx1hrmvVrXuop7xYPDkhZ8KP18ulcw3dRbnJF6s88qBlZxRgrJHUVZkrMrMq0bvBssGsDtkr1Dum1sZGdNuzLiIeyWC1kZPGbDFK6Lug9BlM/6RLg6CsZFeaytBaAt/aBojD7FieT6tTnqE0nbrXUhIGtrbSDHDLDhLHBXwY26O3M/x/5A/HGKQrWumqnTNXY2tI3IhmdCCYGK/hbeIPiMRIu4K65rKyW2hlJK+/RD8KwyK5XhgQ7n9CQoTh0OG2dHNy13wu3ohf1DCATFxTpB/eN/WPlVTLEDRxVqGL0BlzrrrWum1by6w= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR13MB4842.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(366004)(346002)(376002)(136003)(39830400003)(451199021)(66556008)(6916009)(4326008)(316002)(54906003)(66946007)(66476007)(36756003)(186003)(6506007)(6512007)(38100700002)(86362001)(2616005)(83380400001)(8676002)(5660300002)(8936002)(6486002)(6666004)(478600001)(2906002)(41300700001)(7416002)(44832011);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?H0XRf+5xyYO2jPc25tYLWB32WB3CbWNWQTnfZM09Wyw0Wgi8vLFXVN/UJGbd?= =?us-ascii?Q?z15wupdj8VaGqT9LsC1F6HD1+qd7DQpXV2j3OSN9lTrFjNpl3gjRmqDg6wLZ?= =?us-ascii?Q?g/p9ZKqYPUwKGopkVpjTUC4hoATMLZJ+aAld5tosI0zEYdXA9OASwOpcN6kC?= =?us-ascii?Q?pGf0nwUNSO6ANfVhfnYOusZVLaGEp3zASsiH1u6jAyUt+gUeiWexAl1sw/2I?= =?us-ascii?Q?cL67Ukcs0KMS7xnhXBEcrUFNNs4YhIe2gQJkY8rVHpngR4ApXZvMkFDkuHxr?= =?us-ascii?Q?S3WYYOd198AKly17RbdgBBq71r5ISVVuu+g8//BhsgnWfYmScZoK27LKEd/1?= =?us-ascii?Q?6JrwAcb0D8557+wjmfhH7i97wMDtktt1SULUsLP7h4W9cLZPNWvoTSticten?= =?us-ascii?Q?KkSNr78JfkJn/OCjWH+D32rvnApfdg3Tdwi8tP3aH6VejCfMuIYoBPwkHMmn?= =?us-ascii?Q?2/lCtgmX3yyD2/A/En7rdTrJG7uiCDWJCagNKuQknN3JXty6wlPr2Hzu6Sst?= =?us-ascii?Q?3O7Nj/7I6Hun4O+RO9eHts33T0JI548FN4cgPAS1pl80woyXID4Vqqe6pqLR?= =?us-ascii?Q?nZEa2B43i6BEGtHTN3C/mQGv3wYRU5iw7M8rQPQT7GBF6Pmo/awcAqKrRI0I?= =?us-ascii?Q?emSFaxanqFcxv4r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zA?= =?us-ascii?Q?l88vyKDD6ksfF5ATpODulD19yLaZhstj9eE2uHXemSn3bD5+vLWImUJPKFUb?= =?us-ascii?Q?yX3Yoqxv2nelr4DZPXfWzsiYswPiw/U5AJQWe+dBvrT9Ly8vJfHss4pLO2OY?= =?us-ascii?Q?3sqpeA=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: deaf7732-52a9-476a-e286-08db4a5a9427 X-MS-Exchange-CrossTenant-AuthSource: PH0PR13MB4842.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 May 2023 15:41:49.8498 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: og0nzpoxaq5yl74OkzN1Ll1oLG/jHLi1XAFpVUghiPO9UCS1lVS68zKXB1VFOoiwoJRtYdYWKUyqZ96YQdMSllJHNsUFxGJB0KpbsVyXOKo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR13MB5538 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 Mon, May 01, 2023 at 05:06:14PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > The debugfs.o file is only built when the fs is enabled: > > main.c:(.text+0x47c): undefined reference to `pdsc_debugfs_del_dev' > main.c:(.text+0x8dc): undefined reference to `pdsc_debugfs_add_dev' > main.c:(.exit.text+0x14): undefined reference to `pdsc_debugfs_destroy' > main.c:(.init.text+0x8): undefined reference to `pdsc_debugfs_create' > dev.c:(.text+0x988): undefined reference to `pdsc_debugfs_add_ident' > core.c:(.text+0x6b0): undefined reference to `pdsc_debugfs_del_qcq' > core.c:(.text+0x998): undefined reference to `pdsc_debugfs_add_qcq' > core.c:(.text+0xf0c): undefined reference to `pdsc_debugfs_add_viftype' > > Add dummy helper functions for these interfaces. > > Fixes: 55435ea7729a ("pds_core: initial framework for pds_core PF driver") > Signed-off-by: Arnd Bergmann Thanks Arnd, this looks good to me. Reviewed-by: Simon Horman While exercising this I noticed that building pds_core fails if either CONFIG_AUXILIARY_BUS or NET_DEVLINK are not enabled. I think the solution is for PFS_CORE to select both CONFIG_AUXILIARY_BUS and NET_DEVLINK. I am wondering if this is on anyone's radar. If not I'll send a patch.