Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp888591rdf; Tue, 21 Nov 2023 22:23:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IGeLj7r1JKX0sHhOFeHkEYX76qC4Dtp5ISCrnLEIcpDvwuw4WwAODKvMVtRu83dYDjTD66J X-Received: by 2002:a0d:dd04:0:b0:5ca:b35d:965 with SMTP id g4-20020a0ddd04000000b005cab35d0965mr1277805ywe.20.1700634205978; Tue, 21 Nov 2023 22:23:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700634205; cv=none; d=google.com; s=arc-20160816; b=vlAVx4TbhdW0HsX6RRdw1KiZd4PzrX6F5yFrSvS0g2H7Z+x0MVCCdKPu69b61KbOy9 BwsCdZC5buCHM59WTPhr8gzt/XvcD0eOViOH7fcQGnSQuxh1+pX7PdVppR62qCssCjT0 Cjrj2IcysjiWKxj9XDPbJZvqiQjjo6GsVfvg225nYyo5OU2ZB/EOIR8Umf27CEyiFU4Q HQrM0k0EoTKmfxSuUVoxzWWVKuiG69iUj2UfTaPW3wO+Sf9yB8THzW7lh7vn4LFgxK78 WayBJERdBTMYJGlsClhbye+Q8IJMoTKApESoDRmw9zyWnH+pUCToXXFR1/MFNpaKC2vq PdxQ== 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:dkim-signature; bh=06Vqq8EhUrdViA3myfqrfqfV2ZEKzL9/h3Td4Ln4TFU=; fh=40+TGzva0NcwzIvtx2Kwg+nPQQvnk6Ad5NLcVD1uCnc=; b=qKnvTm0ZGkwLH5CVl2kmEJ2QwfC8rEdO1qm5KspgWpwiijBKkeUn9aZJij8mOY1Pxc 6y6LtqhZg/9IV1ZhauD6pFeMETH8S3/fcPmSXFSR4lhpxRq1aMapwqQbvxWwv7BUnYsf 4QEhe12FiL3wRKmam2jNhJ3NQUROZ+m1olT2ve6rj9POijHtccME7gOjCzwHlqVYwtWv 0ccDHRTa1G5iysAJ1+6XQ6rVPVgCGvydmxynM4m/6bFlzm86vnEyx4fd0W0bbMFlVeG7 KFWqhMkPjlEENWsBAzuZSsmT3i6JJva7peIoFXoW48P9A/OKRNUi4w0aajlwaYgVfGZp 095w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@atomide.com header.s=25mailst header.b=iluFk+PP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id fj31-20020a056a003a1f00b0068fe12b361dsi12158543pfb.249.2023.11.21.22.23.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 22:23:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=fail header.i=@atomide.com header.s=25mailst header.b=iluFk+PP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 56299806138E; Tue, 21 Nov 2023 22:22:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229931AbjKVGWR (ORCPT + 99 others); Wed, 22 Nov 2023 01:22:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjKVGWQ (ORCPT ); Wed, 22 Nov 2023 01:22:16 -0500 Received: from mail5.25mail.st (mail5.25mail.st [74.50.62.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E65F3BB; Tue, 21 Nov 2023 22:22:12 -0800 (PST) Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id 530B060852; Wed, 22 Nov 2023 06:21:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1700634132; bh=IzPNJc1JTuqWO45Rxq17COGNEUpGUDxnGho6xDUJ+xg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iluFk+PPWWXytS2xsj6IFeEAF0d3poODgAFNhyUdnh5cBXFUZJeQs6F98rCPaKd/t 1DZc8N13h9WuIsLgza/COJTwTaAOqT5Z/6kc1+vqy9mQylJs2W78sfWfVMwMUVXgrU x7oQvxK5zbGZaVNIHDZ2jMBNZqPelr0JzaLq+4YA3JrQLUgqQ/70hMnA0M2VjpB9X2 qAVNwBgxYH8Y7qMNG1IEblbe84+mDPprjjeZzDb3soZr1invzcyaSV2sXnKfBUbNBo fQ6Sbc12ghN2wzpd+jrozrvxdrDoaTV/kuBoZzprC5hKoMKAPPrMbarZe4dTZTtuxr LnBaY/S83yLOw== Date: Wed, 22 Nov 2023 08:21:38 +0200 From: Tony Lindgren To: Andy Shevchenko Cc: Greg Kroah-Hartman , Jiri Slaby , Petr Mladek , Steven Rostedt , John Ogness , Sergey Senozhatsky , "David S . Miller" , Dhruva Gole , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH v3 1/3] printk: Save console options for add_preferred_console_match() Message-ID: <20231122062138.GD5169@atomide.com> References: <20231121113203.61341-1-tony@atomide.com> <20231121113203.61341-2-tony@atomide.com> <20231122061800.GC5169@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231122061800.GC5169@atomide.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,T_SPF_PERMERROR 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 21 Nov 2023 22:22:19 -0800 (PST) * Tony Lindgren [231122 08:18]: > * Andy Shevchenko [231121 17:53]: > > On Tue, Nov 21, 2023 at 01:31:55PM +0200, Tony Lindgren wrote: > > > +int __init console_opt_save(char *str) > > > > str is not const? Hmm... > > Nice yes it can be const char *str here. Hmm maybe with the third patch > also console_setup() can use const char * now.. Will check. Nah console_setup() uses __setup(). Tony