Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2455692rwd; Fri, 19 May 2023 06:08:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ74g6giU6Ud8cP+w0cNEm5ojk94nOwZplDs0oNnHeaU9UgbPvPTYPbXvBpa3ylX/cTaofkL X-Received: by 2002:a05:6a00:148a:b0:64c:a555:535d with SMTP id v10-20020a056a00148a00b0064ca555535dmr2914901pfu.30.1684501707684; Fri, 19 May 2023 06:08:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684501707; cv=pass; d=google.com; s=arc-20160816; b=fED0o7Zt23k3WBW7+gyl2JJRIEKZCik09z62tlfbjutq/4QVOpW2kog20qb2xM346u zoEKt/aWmjGFG1hVVMXlSFXZa46nfOTu1baxowHMFp1xdWYM8x0F/QuHgvp4bO5UHrYo PHisCMaduRT8rKKZTVRuVYov7i/fhDIqv8AnvUYhIZ4HO3BDoXo1rRT3u96/TPHjj7yN 8DNNqYKAwt7E/83SuJbv9q610XPN5AdOS+HrnZIA9vXLkWMAv0IAgWl0dEg24eq98hPj ICQy4bQOKVWcIelojolvQoQMaBW/wqyTEq49ZZnlaj1u5O8KPBo4625kbSEZWn2bEd3L g6CA== 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=jdqvshBNK4APYtynyhlTTOarGvjR+E1t1Hh3aWUW+JQ=; b=WvzTnwe0otHBDygi876Z+4U4puhFkXJfPIEKSsylyl2/YbqdYhnq4QrL+lNA1w1iZr 3Wca4LKGBAwiOxWl96NxivDwvecNW7Pw7FJ78PLfRrCct8xuj3JHS2gfwI2bkWZ5SXGU V6ZfrdKcyf5qt5ia70rTXMYUfgrRLmSJYonqn409O5fxY2zjgMZXA1dXBXRjfX4hEAwH pNH2X9b9DgSmG3j5chRMSGN6tDieqgPlDpfCJF9K0xEMMOMfIVrqJkDbgXvg0yevDO9u j9jWFw6599Bv/VAtm0Yk2IZA+xBHpM9+HVMrMGc6VFdxn2Xts+a/TFYdrxK/6M0RI0IH wUwQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=Z5Ci5eZB; 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 24-20020a631258000000b005307b843a98si3519536pgs.53.2023.05.19.06.08.14; Fri, 19 May 2023 06:08:27 -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=Z5Ci5eZB; 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 S230116AbjESNHS (ORCPT + 99 others); Fri, 19 May 2023 09:07:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbjESNHQ (ORCPT ); Fri, 19 May 2023 09:07:16 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2099.outbound.protection.outlook.com [40.107.223.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E2F4B6; Fri, 19 May 2023 06:07:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ietTplp9fUiQc+U6M91IgHrxwutiJririuOyOlwEA3onslBfEdddGFkSh5EgCasomwJ4JyNIF3p6pDfFUK16CvBI3B7NZtVVJf5DSaEdSYh3Kn84ONOVOhuV3e1fxdX3RFvRQ5Kzv6ygDPVtvwosnkOiao9mR30z+gVr7YeSk82p7upxPRV8cqhlWw5qcBbPd3ZJfyf93DzeXVp1Uh/ZSfc7mS5GxTmletlrL33wdkB4jQOF2lYhCa5evwgpXJor6ZnD4i+ephc81hOZwFY9KvH1UytNXalvEdz8BoYBQwcnhxtQDnQn4xzers08hGmP23EizjaO6AoNsM7KrsnOZA== 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=jdqvshBNK4APYtynyhlTTOarGvjR+E1t1Hh3aWUW+JQ=; b=oGKtD8eQNa1ITED6o7p/d90bCm/3ZHVsm8eR1vjL+3fQiFvwvTruIkBReGgkA+VV9/gWUH/XNfR2FngqX4gQAyzMrh+jGRjwstSU3HLB+UF4jaVKKXMdg6ZqWgJ1xwM0VjSCMmfzVbuqTKyhOVv/Z5jtC67/qEMivxLi+H7KJmNtGGjkZl2IeSdKyegVmTytreKbFCJxAFvdIKWuQTOCOMfSJ9P8FgMQZmj3C3c94kg3CTOrVaZdA9dN7uawIfIF+wrBk9YAvmXE3lxdeDA1KWUJS7zOa4nOVsCwf3SASM8rfrhGD4SjN6Lrg0uGP/T4SICXmVnzxx89aN1VnCrVow== 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=jdqvshBNK4APYtynyhlTTOarGvjR+E1t1Hh3aWUW+JQ=; b=Z5Ci5eZBiB4X1Tr2VNnOfFxyT5JtAjmy60X+IkC0wQY/54USDTZ01e0nNWmLtyyJK230ZSl/UBAtsbJpKen86xwIHRQhD8HigtNK5YNJWzGrfrc+Jxfm1wptgxTO8+ZoY3elzPSQ7XlRLo7dsHhpCt7mLbBf9Oh8PpkFkSRBmeU= 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 SJ0PR13MB5675.namprd13.prod.outlook.com (2603:10b6:a03:402::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30; Fri, 19 May 2023 13:07:10 +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.6411.021; Fri, 19 May 2023 13:07:10 +0000 Date: Fri, 19 May 2023 15:06:40 +0200 From: Simon Horman To: Arnd Bergmann Cc: "David S. Miller" , David Ahern , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Martin Wetterwald , Arnd Bergmann , XueBing Chen , Greg Kroah-Hartman , Saravana Kannan , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [net-next] net: ipconfig: move ic_nameservers_fallback into #ifdef block Message-ID: References: <20230519093250.4011881-1-arnd@kernel.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230519093250.4011881-1-arnd@kernel.org> X-ClientProxiedBy: AM0PR01CA0117.eurprd01.prod.exchangelabs.com (2603:10a6:208:168::22) To PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR13MB4842:EE_|SJ0PR13MB5675:EE_ X-MS-Office365-Filtering-Correlation-Id: da9c0bfe-6f60-4a64-225d-08db5869f48f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ioDlZW4zKgAePwT0pRFMyNzeXG+UjMsJhCDyhZtG1/s5rQAspCfvmDVEdcmio1LgCqiG6m7GmSRmRlYhrzGd6o61VYoV+xFvqw1Ciki4kIsyqhTW/FDpNMIof70wz8cXqcIUEHbl9iZmEOhqPztSzFXULSk65Av75sZrRjWuFevH36datORK54ZNCbnQR+5IP0gUMhEIXo5rximzh37qMC+ryNwXLS60RePA+cI4v7Y60BoUWwdo1n7e1XZieIM4NxJC8mXBQ2KTHeAOioWZ6d/uJZeBZa47DcDyKKqcTm4AT9tf52SFLy9GSn8byt4FzhAGk8wmhiBAJ6XqRbSoproWATvbNqkz8p3T5x2da6b0U3Ty/6ag9YkdwQELs+Ct0O/V2IFP7TMDRGmOff3OghHl+RUxGdeDRfPYQq0vgAaQRdqO4kpWAUP/jnUwso9kuNK895zQebrsP3OaMpkkaETBui+++OcmKFjf64erxN6+OKbANHHafj8v0DSiWS56SpdE0JlZG+zRIsdq0cR0w8Wux7yVmm2vtVS/QxERoIb/Ansajp81g4wEFXZgRWC4 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)(39840400004)(376002)(366004)(396003)(136003)(346002)(451199021)(2616005)(186003)(41300700001)(38100700002)(6666004)(6486002)(83380400001)(6512007)(6506007)(478600001)(54906003)(44832011)(66476007)(6916009)(66556008)(4326008)(316002)(66946007)(7416002)(5660300002)(8936002)(86362001)(8676002)(2906002)(36756003)(4744005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?xHeuXPF+noTJVUh6liuv70e+s+AeGDhEoKiLcMs+Joq2iFrLl+Q7Ef7Q/aPf?= =?us-ascii?Q?2HudV5Yl/2sl6nrkW9cRZ/Bwj3a0hVVFN5LkLio+JKKz5QV/jpK+4W5PF9w1?= =?us-ascii?Q?I8o8SxYdSpkXlaS4kSMFpwBeDLEsxj6a4Mwn+eqmJHeoufF1ueVMde1QsTIH?= =?us-ascii?Q?dCMaawbr/JLKvBPVdZ07mRv4SARUKOGUHBkDaG2aHYpgUQ28sSUUslmVEbI+?= =?us-ascii?Q?ZdeD3mj6VQZ+vjd9Di7cdFtySQPAtMoxhQ9U9D+DEwMOA92l2yyvoCEN2Uiu?= =?us-ascii?Q?I/jamoOPfI1pITlo3/fs8cRChuXmFIQ/VwLR1wwLLy+rJdSAhrd8nw5G9Rab?= =?us-ascii?Q?VsEUQVx9kFD5FMdn8pQUiS21LhXXBngVMhYr4vYzRELpGExcFHH3kDfB4u5w?= =?us-ascii?Q?QHJ3CMTFe7dEoC0hP20HTncPXcUyZiFM6R1W91WEVhUH3y0qYbZNBF4GE5Oa?= =?us-ascii?Q?quBEsFue1+ThI8+Bc9fhdHc74gAPm59st+xwMHs5Hv4pF5ZQth9r+O75ZG6R?= =?us-ascii?Q?yXnLoN3P/gGwU8QtNd6t2f6alUgmoBoP5XNNlhVK43H+tUvEe+k69I9WOnhn?= =?us-ascii?Q?u6LReB0ym57v55qilyDhR3l4xKitapE7bBmK4TmQVGyjIJSAQ0djJgrxGIh5?= =?us-ascii?Q?6728KeV7L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=?us-ascii?Q?A5X4LZseED+wnW7+HRrA+gYwBLoKXRcAxQSkYk93Fb96MWiUyHvl6z9ec1NA?= =?us-ascii?Q?Sv5f77XSrsoeh13fq0g3cyiLmkF1Qn5czvQ6salKPU6LJz/Bl7vyBdvMG/8O?= =?us-ascii?Q?zoeSHQ=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: da9c0bfe-6f60-4a64-225d-08db5869f48f X-MS-Exchange-CrossTenant-AuthSource: PH0PR13MB4842.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2023 13:07:10.2807 (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: 1uIe5urcHxFLV+G9meQcK/C9WYm5EqU/xB734/iHLHb4mTqy7O5CGSVdvznLyumcBdneMOSTobEb57zPwjrteNBDxmTYLd9rbyrFaJ8vdbE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR13MB5675 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 Fri, May 19, 2023 at 11:32:38AM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > The new variable is only used when IPCONFIG_BOOTP is defined and otherwise > causes a warning: > > net/ipv4/ipconfig.c:177:12: error: 'ic_nameservers_fallback' defined but not used [-Werror=unused-variable] > > Move it next to the user. > > Fixes: 81ac2722fa19 ("net: ipconfig: Allow DNS to be overwritten by DHCPACK") > Signed-off-by: Arnd Bergmann Thanks Arnd, I was able to observe this too. Reviewed-by: Simon Horman