Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp994770pxp; Wed, 16 Mar 2022 23:49:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2tEr2JQfWVzcYG3CeKV52p4FsOWddLIFT1IsBFZCeWLKImrj7kO1ktYGRkAckUbeEWnvH X-Received: by 2002:a17:90a:bd04:b0:1bf:951d:5bf2 with SMTP id y4-20020a17090abd0400b001bf951d5bf2mr14099874pjr.18.1647499798800; Wed, 16 Mar 2022 23:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647499798; cv=none; d=google.com; s=arc-20160816; b=Bg5L9bThGkTIMWbjw61Kqyu5NaESutSo7z+iuM6WMOWcsToxSMcpzm7DkjTM6TXUV+ T6d171XKLRXpUQlRu4wDKfegt2gBqbHDieU+KCrlj3nGoZEZvtnh3qVkajNqnFI+xZUz KN6C+sAynj+4bC0sskAKXA3GH9wnWL0CGKVPd80ln0E5b5OgEi5O2Wi9dtkthAHK1trb 6eo7H1f0RV/YBPRpZXPDXpIhH+Q8EXi8x029N5JpW3Atn58Ecr/9fQnjNkbPNpGzr4zQ vyXX5J9Q9M5vCvJU2sHZCNvXjbLVrNCU01nOEqnT+DMH0aifnBrZ7XtPKkDX9kvuKLoc PTjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Lq45Ita0DR4TDQSAe7ToLzzpjAH5luC3v/MYyE+pG+k=; b=G3LkWhTz0XzZ5nEcSGHImJPfKfvV53hx17UiA1/E8pzKIFloKDshTNL/G4n3qpLOHb xuyUpJjitMvf/WLJhOQ2fenXilGRas3Y8pt4wm95rg04A9mx8RZ61+s84rY1hUVCs5Yo WuBj1a8zrguCxxvWtOSfGeKPdGKBuKldOHeIm47HhHPnPVCHD755v+aPhPS6rmQ4+zpp 54aZ9P9Knt++517sZmnLCp6FzMVoF/YvOvoogghSlu52dDpo/WjwQ5qeH0e42dDupkpd a9BDHTH/Ol9pmOe1mmvpUVgMV3o8MiCcFpHVZA4rnu4AjbVxF6u8iy5mg6LrryI4TUKm Zk8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h20-20020a17090aa89400b001c361252184si1634509pjq.141.2022.03.16.23.49.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 23:49:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1FE781BB794; Wed, 16 Mar 2022 22:35:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229506AbiCQFgH (ORCPT + 99 others); Thu, 17 Mar 2022 01:36:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbiCQFgG (ORCPT ); Thu, 17 Mar 2022 01:36:06 -0400 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:12e:520::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EA391A94B3; Wed, 16 Mar 2022 22:04:19 -0700 (PDT) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1nUh2L-0002UJ-Gp; Thu, 17 Mar 2022 04:42:53 +0100 Date: Thu, 17 Mar 2022 04:42:53 +0100 From: Florian Westphal To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, "Michael S. Tsirkin" , Jason Wang , Paolo Bonzini , Stefan Hajnoczi , Jens Axboe , Amit Shah , Arnd Bergmann , Greg Kroah-Hartman , Eli Cohen , Saeed Mahameed , Leon Romanovsky , Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , "David S. Miller" , Jakub Kicinski , "James E.J. Bottomley" , "Martin K. Petersen" , Felipe Balbi , =?utf-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , Sebastian Andrzej Siewior , Krzysztof Opasiak , Igor Kotrasinski , Valentina Manea , Shuah Khan , Shuah Khan , Jussi Kivilinna , Joachim Fritschi , Herbert Xu , Thomas Gleixner , Steven Rostedt , Ingo Molnar , Karol Herbst , Pekka Paalanen , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Borislav Petkov , "H. Peter Anvin" , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-block@vger.kernel.org, linux-crypto@vger.kernel.org, linux-rdma@vger.kernel.org, linux-scsi@vger.kernel.org, linux-usb@vger.kernel.org, nouveau@lists.freedesktop.org, virtualization@lists.linux-foundation.org, x86@kernel.org Subject: Re: [PATCH 4/9] netfilter: h323: eliminate anonymous module_init & module_exit Message-ID: <20220317034253.GI9936@breakpoint.cc> References: <20220316192010.19001-1-rdunlap@infradead.org> <20220316192010.19001-5-rdunlap@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220316192010.19001-5-rdunlap@infradead.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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-crypto@vger.kernel.org Randy Dunlap wrote: > Eliminate anonymous module_init() and module_exit(), which can lead to > confusion or ambiguity when reading System.map, crashes/oops/bugs, > or an initcall_debug log. > > Give each of these init and exit functions unique driver-specific > names to eliminate the anonymous names. > > Example 1: (System.map) > ffffffff832fc78c t init > ffffffff832fc79e t init > ffffffff832fc8f8 t init > > Example 2: (initcall_debug log) > calling init+0x0/0x12 @ 1 > initcall init+0x0/0x12 returned 0 after 15 usecs > calling init+0x0/0x60 @ 1 > initcall init+0x0/0x60 returned 0 after 2 usecs > calling init+0x0/0x9a @ 1 > initcall init+0x0/0x9a returned 0 after 74 usecs > > Fixes: f587de0e2feb ("[NETFILTER]: nf_conntrack/nf_nat: add H.323 helper port") > Signed-off-by: Randy Dunlap Acked-by: Florian Westphal