Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1558871rdb; Wed, 20 Sep 2023 12:33:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3IThZ1uCwVPKD1x5gDucMJkhdmNR4fHP0oAJ5bohhZ2RW0dkhDHhqAhWH+x0NWY6W/UIW X-Received: by 2002:a05:6a21:192:b0:152:4615:cb9e with SMTP id le18-20020a056a21019200b001524615cb9emr5118473pzb.13.1695238429799; Wed, 20 Sep 2023 12:33:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695238429; cv=none; d=google.com; s=arc-20160816; b=ISAIYWJgfz9sYGB4oiYDNdHT3B1a9sJR0jWLQueZCxrZ37qISJAyVE+ani/ZXYQtdh xL0ESmW1zulaLAGf7GkzOJ0u0zUrN8mfwdzSN9XScqgECNP2EoS+6oBXIeZWjDPt1E7J 2vS7+Qe+3t5+2G8j3kJ4H6pee/4c2Bg9MA0vblnohWzefrRJWJbgc7llvP/ZMm+SsYba ixB5QhiXf6FWWI7DSTKt4iqmOdpa9DpiKWIYH8QeZLQ5lV5ztGmGhU8GFC26+O4fzbLw CwjEnFRoMvbh5Ssnq60PpDI+XFzSvmKGDhkImHNXJdZFLieWX/SHF3gcFGASFyYTXrlz ZbuA== 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=l5B9hsdGEfpu9et9HD7ee07vfPP6fjNNgHA7kbGtnVk=; fh=pPFeLZDzy//Ube5BNk07cpr60bY08sLX+UHEcRPN3uM=; b=z8qPbxA05kx5cBCNY3JWWqmUkCdiZTTRqCvqPxadwjPEmBPrDUG6lQc38+Hfhh+jMG fJtTH4uKFdzSNWRhioHQJm0kEKHMRdAYgyyPLaz7Nbhwy/ZWfO136EKyKsjYNNhgoEa5 D4a1pXAB3ZX9LXKh+p0BEtRcI+hfiQZUKo8DrCXzKrsYw9UAa6yHy+CFGmQMlsKAG6Ie xFAi0bIrv1Lcz8+5SEsCTyRJH9dT3xl91+AVPOh+aHblgfRC5uj45QhK5gVCLirpQwNG SLxalCJgFNvJavU2i6PpNZ7aqFZsuGummtUQ8NqV3lmq9COE9lDyGyVSn3ZSaee4wRgi b3JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=q2jYWo+p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id q29-20020a638c5d000000b0056532c9f429si4240031pgn.110.2023.09.20.12.33.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 12:33:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=q2jYWo+p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 20F7080698F7; Wed, 20 Sep 2023 03:17:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233999AbjITKRe (ORCPT + 99 others); Wed, 20 Sep 2023 06:17:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233864AbjITKRd (ORCPT ); Wed, 20 Sep 2023 06:17:33 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FE17AC; Wed, 20 Sep 2023 03:17:27 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id D1DAB1FEFB; Wed, 20 Sep 2023 10:17:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1695205045; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=l5B9hsdGEfpu9et9HD7ee07vfPP6fjNNgHA7kbGtnVk=; b=q2jYWo+pznGXJhooC+vqWhYp96bNPF1k1XicAUeR0ltEjeblU3wdnICbMhvj+oYGe2TTm2 RYKLeegWZvqst67JvWRrzb2T2WudEePlvDVnYO1RKiLR/LrIgZbBCRgxC1xne7MqZ9HGco Sd/X/bR2mQWbTrNUKG8FIVDT+MKeZB0= Received: from suse.cz (pmladek.tcp.ovpn2.prg.suse.de [10.100.208.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id D66CC2C142; Wed, 20 Sep 2023 10:17:24 +0000 (UTC) Date: Wed, 20 Sep 2023 12:17:24 +0200 From: Petr Mladek To: Tony Lindgren Cc: Greg Kroah-Hartman , Jiri Slaby , Sergey Senozhatsky , Steven Rostedt , John Ogness , Andy Shevchenko , Dhruva Gole , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH v2 1/3] printk: Constify name for add_preferred_console() Message-ID: References: <20230912110350.14482-1-tony@atomide.com> <20230912110350.14482-2-tony@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230912110350.14482-2-tony@atomide.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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 (fry.vger.email [0.0.0.0]); Wed, 20 Sep 2023 03:17:34 -0700 (PDT) On Tue 2023-09-12 14:03:43, Tony Lindgren wrote: > While adding a preferred console handling for serial_core for serial port > hardware based device addressing, Jiri suggested we constify name for > add_preferred_console(). The gets copied anyways. This allows serial core > to add a preferred console using serial drv->dev_name without copying it. > > Note that constifying options causes changes all over the place because of > struct console for match(). > > Cc: John Ogness > Cc: Petr Mladek > Cc: Sergey Senozhatsky > Cc: Steven Rostedt > Suggested-by: Jiri Slaby > Signed-off-by: Tony Lindgren Makes sense: Reviewed-by: Petr Mladek I assume that this patch would via Greg's tree together with the rest of the patchset. Please, tell me if you would prefer to queue this via printk tree. Best Regards, Petr