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 7FBD6C83F2C for ; Tue, 5 Sep 2023 16:19:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241456AbjIEQKF (ORCPT ); Tue, 5 Sep 2023 12:10:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354661AbjIENU3 (ORCPT ); Tue, 5 Sep 2023 09:20:29 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 426A9A8 for ; Tue, 5 Sep 2023 06:20:26 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 5CF6F6732A; Tue, 5 Sep 2023 15:20:22 +0200 (CEST) Date: Tue, 5 Sep 2023 15:20:22 +0200 From: Christoph Hellwig To: Petr Mladek Cc: Christoph Hellwig , rostedt@goodmis.org, john.ogness@linutronix.de, senozhatsky@chromium.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, Yunlong Xing , enlinmu@gmail.com, yunlong.xing23@gmail.com Subject: Re: [PATCH] Revert "printk: export symbols for debug modules" Message-ID: <20230905132022.GA26718@lst.de> References: <20230905081902.321778-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 05, 2023 at 11:54:37AM +0200, Petr Mladek wrote: > Yeah, I did not have a good feeling about this patch. > > I accepted it because there was an intention to upstream > the module, see > https://lore.kernel.org/all/CAAfh-jM0B2Cn579B0CkCrW44pJGGvjs112K+oMuViib+jDKafg@mail.gmail.com/ > > I think that it was bad decision. We should not export > symbols when there is no in-tree user. I think raw address to the printk buffer is a bad idea even for an in-tree module.