From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93255C433F5 for ; Fri, 30 Sep 2022 15:19:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229615AbiI3PTE (ORCPT ); Fri, 30 Sep 2022 11:19:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229548AbiI3PTC (ORCPT ); Fri, 30 Sep 2022 11:19:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA6AE15D981 for ; Fri, 30 Sep 2022 08:19:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5099A62393 for ; Fri, 30 Sep 2022 15:19:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30C74C433B5; Fri, 30 Sep 2022 15:19:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664551140; bh=PQdOm9OXxxOtiMHQCADH0GQqPKkZ3cX9rxS541ZZi4s=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=MV6MsdJ+5MoYaVLPu4FxweoWochAM+rSs+6/ev+/fsp1Ht6z9fMjAoGQgoKgOhlZW jQU4ch7Iz0q+OHiMGALXGajiEKD5Nk3wezsfZ82Ou9evcepPhaGsC4KG15iNWIc67l beAjEeRgDjpX8wAdH73+E4EiYWipVSJi0Dlfu7PaLAVQT+qNuQ0yGF5F1f9Uc8lkux WNvTwsYkcW+Kwkh2v1Qo5cKHDGdaHYwQKDw2AsvMI7oVsezygtROXCEsnErI1Ylf/9 tmMl56vFEH6cCMaVKFR+fyAGdIOfpI5x7WAdjtql1iULJ5JXVLNlHV2/JqyzulyFfu qa3yDXQCjdBzQ== Date: Fri, 30 Sep 2022 08:18:59 -0700 From: Jakub Kicinski To: Guillaume Nault Cc: Nicolas Dichtel , Hangbin Liu , netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Paolo Abeni , Ido Schimmel , Petr Machata , Florent Fourcot , Nikolay Aleksandrov , David Ahern Subject: Re: [PATCHv5 net-next 2/4] net: add new helper unregister_netdevice_many_notify Message-ID: <20220930081859.5f1e4ad3@kernel.org> In-Reply-To: <20220930142910.GB10057@localhost.localdomain> References: <20220930094506.712538-1-liuhangbin@gmail.com> <20220930094506.712538-3-liuhangbin@gmail.com> <20220930142910.GB10057@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, 30 Sep 2022 16:29:10 +0200 Guillaume Nault wrote: > Declaring it in net/core/dev.h should be enough. Yes, please. And while you're touching __dev_notify_flags() its declaration can be moved to dev.h, too.