Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1622442pxb; Fri, 20 Nov 2020 14:32:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxJ8baQ3TvTxDkzZxuhFHL7jxYYrqJK+HeGp8VwOyVDb8ozFxArNc6VD6ciPXdP7dnHt7pU X-Received: by 2002:aa7:c512:: with SMTP id o18mr36858151edq.357.1605911523087; Fri, 20 Nov 2020 14:32:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605911523; cv=none; d=google.com; s=arc-20160816; b=YsUCqbVddSreQPdj2/3UCMv1bE97XpazoCxs5GQdkv7oK877a4DOLcPYIgXV8VdAUb asLyEFLZkNhr5MwO8EU17sJBOPsR5cBYKYKeYwXsB+YW0X9KEox8lHBp+XHFvSd1dQft 5Fc5F3GbcH0OPIvDZHNqgu8a/ypi0W5C1voeoRsS/8U9vuDtakwZ/3Udx4+lDot9zPlg GKiUGpQ4wZPob8wYCSKDMwEGScey60fCHsS2edvxxxYKy8vmWc26m4BVxNHU79vU2Hbo RCL5hyXdKA/u9WpYjLOGU4/CI9OSkQtNhgW4BK+otnujYtBqqZq035WsmYIKL04PzHkR dOYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=j8hnOnOAlurpkfW6NJtw9/m5EO/hniqHf+yfIdHNAzk=; b=zDBq9NNB4U4du3RWcmikubPuH8CLJJVxZBgTgeT3luwcp2aJUXd6yStg2VVXITa7FY G7Ar9asBQgKinq1n7UgAZqwpbrwwKXeIUCAme11oZkANgi7oRN0pXLdRHsyVcz05Kiy4 RgQJJrDnPpbhVU0Jjq6MueUJliT2YW4eenSXoUuQScbEafsdgHCQYQOTeH95IVCZx9zN vhyepLaR9j10uYCHlsV7euuElw7pfrCnRoNtUKR8N5xrqxHPRoewYzKTn3vWlH7/xvpT 6hJP0/dGdawl72KGOlR5Zi6j+bfvllkFrP8m7/GlhoYICGkY8SIgq1EOcxsUzEJ7K/t2 8/QQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p15si2674139edq.35.2020.11.20.14.31.38; Fri, 20 Nov 2020 14:32:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728766AbgKTW3I (ORCPT + 99 others); Fri, 20 Nov 2020 17:29:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728039AbgKTW3H (ORCPT ); Fri, 20 Nov 2020 17:29:07 -0500 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45FC8C0613CF; Fri, 20 Nov 2020 14:29:07 -0800 (PST) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94) (envelope-from ) id 1kgEtJ-00Bdb8-DL; Fri, 20 Nov 2020 23:28:29 +0100 Message-ID: <9b722328efd90104d0c0819f530c296213c19450.camel@sipsolutions.net> Subject: Re: [PATCH net-next] net: don't include ethtool.h from netdevice.h From: Johannes Berg To: Jakub Kicinski , davem@davemloft.net Cc: netdev@vger.kernel.org, andrew@lunn.ch, mkubecek@suse.cz, linux-rdma@vger.kernel.org, linux-wireless@vger.kernel.org Date: Fri, 20 Nov 2020 23:28:28 +0100 In-Reply-To: <20201120221328.1422925-1-kuba@kernel.org> (sfid-20201120_231813_295757_85C2724D) References: <20201120221328.1422925-1-kuba@kernel.org> (sfid-20201120_231813_295757_85C2724D) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Fri, 2020-11-20 at 14:13 -0800, Jakub Kicinski wrote: > linux/netdevice.h is included in very many places, touching any > of its dependecies causes large incremental builds. > > Drop the linux/ethtool.h include, linux/netdevice.h just needs > a forward declaration of struct ethtool_ops. > > Fix all the places which made use of this implicit include. > include/net/cfg80211.h | 1 + Sounds good to me, thanks. Will still cause all wireless drivers to rebuild this way though. Maybe I'll see later if something can be done about that. Acked-by: Johannes Berg Thanks, johannes