Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp993211pxp; Wed, 16 Mar 2022 23:46:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzT6176PCZ5Je7vrDChRhWLvRXlvMsPJXpKMRXeTeUeDZAKXcwLZlFwDRRQPDh3ZWumOjGE X-Received: by 2002:a05:6a00:1a56:b0:4f7:c17b:28da with SMTP id h22-20020a056a001a5600b004f7c17b28damr3277231pfv.50.1647499601750; Wed, 16 Mar 2022 23:46:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647499601; cv=none; d=google.com; s=arc-20160816; b=0ajsRzf1QYliZsZOShak6pJJ9AJdql3UxntUziNt5S1YKYhy8+lzx/4UYhjl+zr0ew D8AQYVXZfoRZJBnyR57bMxIVvfd16CqeBK7hKDdHFsRz/hXR1VUtU+FNeEdgtMuoAUPN 83rSkdRHXUSbGu/XvJTOBTVp+cRCfqV6rCtB+EX2e0dqHaZwUs/ox0QU9ED6iimkrUSP VZ8zhv1Id+SyvzvACzK53Ux49keNsvvoJ81ssKQWibDN5Bi4HXEU8CjbksvpWxHcG0Xa dzoZczcX6jQmKv3ExTuJDTJBQN1bf0YaIhILIRaNq1vzNARhEjNUKBG3i2gJrGeotFQf vA+Q== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=5100McVDKccvj5u9e2vr0O183vtbyJuLbL9pwze0bPY=; b=EUAYACHdF6bbMI2lXGkxRLEZ6gM1ezemulkkt4jhUP0C6xOQwrnrfdy/UbnDHlBMDe LZj65/39vN1SqfWyPEgqUDrspWZ5ee37mPFGZVtpP8zisr/sKGGiK/vsplJz/pWB2/sb c52CRNbqTWhJDW4aLPppRWy6UrCXo8dmE4QMpQ4kBc5axxfftkBCi4Z4zCiRisi5j8kw +C20C6/Z5/RwtC39R2/D4P7yd8/SNayI3MkF00e0pQ1gkWzQsUkRHhGYLOzDpLmzbu/r NBTUgdtpqzTa1+pN7fVrquQvXf8415cgBOeZ+NQ/Wm7O6SC0byHGHWjbh8eTqJNbyFLF YNuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ijtUhERX; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id f8-20020a637548000000b003816043efecsi1250149pgn.481.2022.03.16.23.46.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 23:46:41 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ijtUhERX; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B096F2E1AAC; Wed, 16 Mar 2022 22:31:32 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229464AbiCQDfb (ORCPT + 99 others); Wed, 16 Mar 2022 23:35:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229602AbiCQDf0 (ORCPT ); Wed, 16 Mar 2022 23:35:26 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3D815EBCF; Wed, 16 Mar 2022 20:34:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647488041; x=1679024041; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=fvSysYrUKMfGk8/VVxHhcMOBMFAuiZiHLOX32nrDtbU=; b=ijtUhERXG3Cy/OyvJ+RNLnnZ5+yQSuWExjPEYB6Uya4KUqOLlGBlfy4n VokXRrEApHQCN8C9fgZVoqSGqMVIDMlzdK1vJpDj4d60B5c8GD7YINXuQ /ap/w+IUoRT0L8EUC2eRakgNkOtMwpgefpIGaHH8IzbYT5p1++4a1q/+q uMZbG7GFB7Jh7y7Mgds5Cjj6g2JZ0DqL7RdfVsVhPCTfHWM8FAXdXtjZ9 qk+aw/9gi3GGCXlsWJeSu8EcHsvVsDLnbEeVqJj8gPQ8i+iVOdgT26ZUE wOmnRv5brtQ/iJ88qhIomSeXO8CfnfHLexCjAAOWxuHyBuTlS3KopbNyx w==; X-IronPort-AV: E=McAfee;i="6200,9189,10288"; a="238935622" X-IronPort-AV: E=Sophos;i="5.90,188,1643702400"; d="scan'208";a="238935622" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2022 20:32:55 -0700 X-IronPort-AV: E=Sophos;i="5.90,188,1643702400"; d="scan'208";a="613867506" Received: from mbhanuva-mobl.amr.corp.intel.com (HELO localhost) ([10.212.30.158]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2022 20:32:54 -0700 Date: Wed, 16 Mar 2022 20:32:54 -0700 From: Ira Weiny 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 0/9] treewide: eliminate anonymous module_init & module_exit Message-ID: References: <20220316192010.19001-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220316192010.19001-1-rdunlap@infradead.org> X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Wed, Mar 16, 2022 at 12:20:01PM -0700, Randy Dunlap wrote: > There are a number of drivers that use "module_init(init)" and > "module_exit(exit)", which are anonymous names and 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. I'm not fully sure about the Fixes tags but I don't see that it hurts anything. For the series: Reviewed-by: Ira Weiny > > Example 1: (System.map) > ffffffff832fc78c t init > ffffffff832fc79e t init > ffffffff832fc8f8 t init > ffffffff832fca05 t init > ffffffff832fcbd2 t init > ffffffff83328f0e t init > ffffffff8332c5b1 t init > ffffffff8332d9eb t init > ffffffff8332f0aa t init > ffffffff83330e25 t init > ffffffff833317a5 t init > ffffffff8333dd6b 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 > calling init+0x0/0x73 @ 1 > initcall init+0x0/0x73 returned 0 after 6 usecs > calling init+0x0/0x73 @ 1 > initcall init+0x0/0x73 returned 0 after 4 usecs > calling init+0x0/0xf5 @ 1 > initcall init+0x0/0xf5 returned 0 after 27 usecs > calling init+0x0/0x7d @ 1 > initcall init+0x0/0x7d returned 0 after 11 usecs > calling init+0x0/0xc9 @ 1 > initcall init+0x0/0xc9 returned 0 after 19 usecs > calling init+0x0/0x9d @ 1 > initcall init+0x0/0x9d returned 0 after 37 usecs > calling init+0x0/0x63f @ 1 > initcall init+0x0/0x63f returned 0 after 411 usecs > calling init+0x0/0x171 @ 1 > initcall init+0x0/0x171 returned 0 after 61 usecs > calling init+0x0/0xef @ 1 > initcall init+0x0/0xef returned 0 after 3 usecs > > Cc: "Michael S. Tsirkin" > Cc: Jason Wang > Cc: Paolo Bonzini > Cc: Stefan Hajnoczi > Cc: Jens Axboe > Cc: Amit Shah > Cc: Arnd Bergmann > Cc: Greg Kroah-Hartman > Cc: Eli Cohen > Cc: Saeed Mahameed > Cc: Leon Romanovsky > Cc: Pablo Neira Ayuso > Cc: Jozsef Kadlecsik > Cc: Florian Westphal > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc: "James E.J. Bottomley" > Cc: "Martin K. Petersen" > Cc: Felipe Balbi > Cc: Michał Mirosław > Cc: Sebastian Andrzej Siewior > Cc: Krzysztof Opasiak > Cc: Igor Kotrasinski > Cc: Valentina Manea > Cc: Shuah Khan > Cc: Shuah Khan > Cc: Jussi Kivilinna > Cc: Joachim Fritschi > Cc: Herbert Xu > Cc: Thomas Gleixner > Cc: Steven Rostedt > Cc: Ingo Molnar > Cc: Karol Herbst > Cc: Pekka Paalanen > Cc: Dave Hansen > Cc: Andy Lutomirski > Cc: Peter Zijlstra > Cc: Borislav Petkov > Cc: "H. Peter Anvin" > Cc: netfilter-devel@vger.kernel.org > Cc: coreteam@netfilter.org > Cc: netdev@vger.kernel.org > Cc: linux-block@vger.kernel.org > Cc: linux-crypto@vger.kernel.org > Cc: linux-rdma@vger.kernel.org > Cc: linux-scsi@vger.kernel.org > Cc: linux-usb@vger.kernel.org > Cc: nouveau@lists.freedesktop.org > Cc: virtualization@lists.linux-foundation.org > Cc: x86@kernel.org > > patches: > [PATCH 1/9] virtio_blk: eliminate anonymous module_init & module_exit > [PATCH 2/9] virtio_console: eliminate anonymous module_init & module_exit > [PATCH 3/9] net: mlx5: eliminate anonymous module_init & module_exit > [PATCH 4/9] netfilter: h323: eliminate anonymous module_init & module_exit > [PATCH 5/9] virtio-scsi: eliminate anonymous module_init & module_exit > [PATCH 6/9] usb: gadget: eliminate anonymous module_init & module_exit > [PATCH 7/9] usb: usbip: eliminate anonymous module_init & module_exit > [PATCH 8/9] x86/crypto: eliminate anonymous module_init & module_exit > [PATCH 9/9] testmmiotrace: eliminate anonymous module_init & module_exit > > diffstat: > arch/x86/crypto/blowfish_glue.c | 8 ++++---- > arch/x86/crypto/camellia_glue.c | 8 ++++---- > arch/x86/crypto/serpent_avx2_glue.c | 8 ++++---- > arch/x86/crypto/twofish_glue.c | 8 ++++---- > arch/x86/crypto/twofish_glue_3way.c | 8 ++++---- > arch/x86/mm/testmmiotrace.c | 8 ++++---- > drivers/block/virtio_blk.c | 8 ++++---- > drivers/char/virtio_console.c | 8 ++++---- > drivers/net/ethernet/mellanox/mlx5/core/main.c | 8 ++++---- > drivers/scsi/virtio_scsi.c | 8 ++++---- > drivers/usb/gadget/legacy/inode.c | 8 ++++---- > drivers/usb/gadget/legacy/serial.c | 10 +++++----- > drivers/usb/gadget/udc/dummy_hcd.c | 8 ++++---- > drivers/usb/usbip/vudc_main.c | 8 ++++---- > net/ipv4/netfilter/nf_nat_h323.c | 8 ++++---- > 15 files changed, 61 insertions(+), 61 deletions(-)