Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1658485pxp; Mon, 21 Mar 2022 02:02:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOofqo7o5WMQSb3912zfikA92NKdMiDs3D4DIiPKrbJw30eLL27RVZhbj8TtohadoH9qO8 X-Received: by 2002:a17:906:b1d0:b0:6cd:fa02:b427 with SMTP id bv16-20020a170906b1d000b006cdfa02b427mr19306961ejb.99.1647853369066; Mon, 21 Mar 2022 02:02:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647853369; cv=none; d=google.com; s=arc-20160816; b=pIhwCqhjcfuStXWHPjbkA1EYAMB408P3OdziJIHNSP9kHKARp4QSA5UgnJHA5JexZf J26ON/3RxXz0+IiIPm278aOSEzXodfk/hqm832zR6Wr2o2kI9r0EZRSpx8Efq04ZlMDH h0ASCLi8Uaevm3ee1qeQSvian1RcxHDi0+vdnlN4siQIdYKRemayB7Ht9wDs7M04GkNE iesr5agU7uUHWGZzCXq9W/iIQztL10E/rEqcr25kdUuLhrYCx7xc9lg64CXxd+ZWraeW X+8MEUtEFrtKvl7HinKx3DTGQCA7c3DyX+Q5Hxgls89uGWz/wjLyHSuLL0GXQYlBHqvH 1gAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=0SVbP1GpwEGQJFm7Bq+2Gc628/1DdIHbQoAWt/FIaEs=; b=JG5Jo7EUA0nRsSacuEvMupFnjFnfQy/jyT0KkGBqSZzemNGrI0S3JjQddarSovOAwS t9E6M3DrAne8BFrfA2HkRTJ/Dhk+OKGhJC9MQ9Pg0XPpKbLoQEuV5vFVmapL/OP+hf6Z MHIOW2Ahw8WzFePVdytYF+TXemJnof1Wh519hCh3Aok0mMV9pRrmn3GkAdg8xMskekXu nMuduk56xgWEVWyXM2iK1PKJwP8EBKNLvn7aLiqwhOOVa09Bfz+lZ5zjL9pjGwY8mnPW eVrNt5qSYjkd9XjoHua6uumERiSeWYgC8my7nVawH/Wa+xz/tG+MDUx7ymGSYZJB3JpH LPOA== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 29-20020a17090602dd00b006df76385b95si7031699ejk.53.2022.03.21.02.02.20; Mon, 21 Mar 2022 02:02:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244298AbiCSWin (ORCPT + 99 others); Sat, 19 Mar 2022 18:38:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236144AbiCSWim (ORCPT ); Sat, 19 Mar 2022 18:38:42 -0400 Received: from mail.netfilter.org (mail.netfilter.org [217.70.188.207]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1CF98167DF; Sat, 19 Mar 2022 15:37:21 -0700 (PDT) Received: from netfilter.org (unknown [78.30.32.163]) by mail.netfilter.org (Postfix) with ESMTPSA id D559660743; Sat, 19 Mar 2022 23:34:44 +0100 (CET) Date: Sat, 19 Mar 2022 23:37:16 +0100 From: Pablo Neira Ayuso To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, netfilter-devel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 4/9] netfilter: h323: eliminate anonymous module_init & module_exit Message-ID: References: <20220316192010.19001-1-rdunlap@infradead.org> <20220316192010.19001-5-rdunlap@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220316192010.19001-5-rdunlap@infradead.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, 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 [ trimmed off Cc list ] On Wed, Mar 16, 2022 at 12:20:05PM -0700, 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 Applied to nf-next, thanks.