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 8B115C77B73 for ; Tue, 6 Jun 2023 16:19:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233975AbjFFQTV (ORCPT ); Tue, 6 Jun 2023 12:19:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238347AbjFFQTI (ORCPT ); Tue, 6 Jun 2023 12:19:08 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7289A1723; Tue, 6 Jun 2023 09:18:42 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 8EAA380AE; Tue, 6 Jun 2023 16:18:41 +0000 (UTC) Date: Tue, 6 Jun 2023 19:18:40 +0300 From: Tony Lindgren To: Dan Carpenter Cc: Andy Shevchenko , Greg Kroah-Hartman , Jiri Slaby , linux-serial@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] serial: core: don't kfree device managed data Message-ID: <20230606161840.GL56720@atomide.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org * Dan Carpenter [230606 15:01]: > On Tue, Jun 06, 2023 at 05:55:16PM +0300, Andy Shevchenko wrote: > > > > I'm okay with the above, but it seems at the same time we need to limit the > > messages: > > > > dev_err_once(port->dev, "uart_add_one_port() called before arch_initcall()?\n"); > > > > Yeah. I would prefer if that was only printed as a debug message. > -EPROBE_DEFER is supposed to be a normal part of the process. Debug here should do the trick yeah. Regards, Tony