Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1673680pxp; Thu, 17 Mar 2022 14:11:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHJIcnq3VMUsxlwoUm2bCwdGtbdcC6jXh8W0/4QJ3mPX7AMyxS5S1jbCz8N0li+RrpLFXS X-Received: by 2002:a17:902:c189:b0:153:9f00:bafd with SMTP id d9-20020a170902c18900b001539f00bafdmr7014163pld.171.1647551477787; Thu, 17 Mar 2022 14:11:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647551477; cv=none; d=google.com; s=arc-20160816; b=HOdTgZqLptepfqPuOjtWAaAY6uN4PxHrhGwUxriWea9k3obBxP/PhgXQoL3t30JjUh 2saOJibhfd4ev0idqsFQif+GcO5+Kc4BS9BjoREkSFA/WLAy3xQzLYHFegomh8VP6w3m OAK+wOw3F7PuFQyP9KcODXjm6mTR6szBcx1kzLfxgkMA1bpXqJDb0/hJLWXHqA6C9Cju IxJnLQhyoypjDdNJl6b/JlDye1XTwakWrMxwxSVaozVDrs1AU/bwPjAB/UzUcz/jgu+H 1mEJTkE76N60cd8E+Tt2Z+e80bhIlPv9eW2tcfUd+xb6mZ06vt6JmcwWtUu2XJymW8CV brQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ROV+N7/7nL9ebCMUk84kLWbG+brDW++VtuozCZVdtkw=; b=KOKqAmuczO21iu8k3MvH2R/DEVlr5kZcSmJWLpvILBlCCUIgoUx5II7Qjy71D9W7lN HhjNx8nlChfYJ+oW5U2nw7dr1klgztCpeBCnbSr5AbGViri4OjJ/IzquZbeMKMsTGV4e hDHyxxrNg4lbGxYqNzZDmeGhvpe7Zcmmc3Oiijcs5Fr1fTv0w6Ct5eHDOcUrtJZ4awV/ eEsn6vzScfugZINsWk+yyNHCdKa/LbRjaVQvAY8LZe03LqXkxVJUakXIeYsDujbr/0BH uTNE/87K1PhXK1q0wxzdhelNkzno5jKzuryVzwKyWSQVAckkvezWsefX+WsF+d0r0Yam wAYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="Jqch/btF"; spf=softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id z7-20020a056a00240700b004f39ab039d6si5943044pfh.47.2022.03.17.14.11.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 14:11:17 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-crypto-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=@infradead.org header.s=casper.20170209 header.b="Jqch/btF"; spf=softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 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 F1E68D8F49; Thu, 17 Mar 2022 13:41:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229926AbiCQUmh (ORCPT + 99 others); Thu, 17 Mar 2022 16:42:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229898AbiCQUmd (ORCPT ); Thu, 17 Mar 2022 16:42:33 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBDB3C6EE6; Thu, 17 Mar 2022 13:41:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description; bh=ROV+N7/7nL9ebCMUk84kLWbG+brDW++VtuozCZVdtkw=; b=Jqch/btFqW+CCJM0MuFijvZBnR bKqVKg8MJPsG7xgEbyq8GpqXB7A8dE9YvSejZgGKMwlrFERInyVW/NwSKf4kQ/UA6psueuXc8llbi tXp3gLO4A62BpBOiR5EK3lKKSfjt468nR9YWHbd0+I9WP14Gea0xgxgt+KOMxkIpTtW+MOsIHvwgj hM+KtvJ/9csmz19wnZcmlJxpYZuCql/Ep3kcCjBTlQo66UU7MNW7TyDClTi6xfWHMMGkptDRxOs/s kZkV9zPnBYwNqiK7nc3Q5CI7k99U6h5ic0GJ7k9j/2cf6pf3fSTuSgb5ZJ6Kw6nbakmqXx6kZ8nsy H+5jNfRw==; Received: from [2601:1c0:6280:3f0::aa0b] by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nUwvV-007InG-0P; Thu, 17 Mar 2022 20:40:53 +0000 Message-ID: Date: Thu, 17 Mar 2022 13:40:36 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 2/9] virtio_console: eliminate anonymous module_init & module_exit Content-Language: en-US To: Amit Shah , linux-kernel@vger.kernel.org Cc: "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 References: <20220316192010.19001-1-rdunlap@infradead.org> <20220316192010.19001-3-rdunlap@infradead.org> From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 On 3/17/22 08:47, Amit Shah wrote: > On Wed, 2022-03-16 at 12:20 -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 >> >> Fixes: 31610434bc35 ("Virtio console driver") >> Fixes: 7177876fea83 ("virtio: console: Add ability to remove module") >> Signed-off-by: Randy Dunlap < >> rdunlap@infradead.org >>> >> Cc: Amit Shah < >> amit@kernel.org >>> >> Cc: >> virtualization@lists.linux-foundation.org >> >> Cc: Arnd Bergmann < >> arnd@arndb.de >>> >> Cc: Greg Kroah-Hartman < >> gregkh@linuxfoundation.org >>> >> --- >> drivers/char/virtio_console.c | 8 ++++---- >> 1 file changed, 4 insertions(+), 4 deletions(-) > > Reviewed-by: Amit Shah > > I don't think the Fixes-by really applies here, though - we don't > really want to push this into stable, nor do we want any automated > tools to pick this up because of that tag.. Yeah, I'm fine with that. thanks. -- ~Randy