Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1097520ybk; Wed, 20 May 2020 21:38:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2PeYRjmtnu6RHD1hsi0d6OcyUb7FtPppCEcdDdB4DJh+NEITEgml+P4AbMdKlTCjvQVvx X-Received: by 2002:a50:eb84:: with SMTP id y4mr6143824edr.374.1590035918181; Wed, 20 May 2020 21:38:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590035918; cv=none; d=google.com; s=arc-20160816; b=G/8J1A5BdpIrIM0abFscCay79LjEXEpkEW8VnGXWPac6zCqezrFc/M+wltRjIc1yBw ige0wKe/DMEyvejYDVlJcjsPilgNzwnUGhM73iv9AVvTcnh1pi3lCeTwm48anpI8j+qS Whh8Kl7ULyeku/4YlUnmG/pAtLjGQxjy/HsQOCF/n4OFPUeAWY6NO9Y+hTcuPuVTzBvy IJFjYOWQq8LxDSdvGlcaK5P4B64spPQIlKz+Yd1NfFWlQykARv26qdK0pjmHunToiNlW MBCNe8XrZYdukNLWBN8K5xk5UQ2WpODsq2enbc/NTS3SXk/wv5QxST8tRxHPPThyEZjI tvIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date:from :dkim-signature; bh=eT+xRG/v2TF4nGrc1FOaU6f7rS0qB1ZWjEBefkEwxkA=; b=Ixn7S7q7+ZrAc85NRHSK7+V7Ljs//1crDDiU9YRgvvfwB+t5ED32dpE3WvbWEEe4bQ eoSo4AScppkpKlo7XxkSbscsENf5MuYRZb53DyD83Bj7vG+x9SLcyVvCgi6ax5SAanNm e1VNAKErtQYXD/wBRonRELFbbIneM5PbNFwE1w/zrUbxrYS/nYd+Ffk3gQ6p3OcvA4ae v+vQJW79I0XUqlpEPjd1J1LJtbj57811qU3svc6OV9MkmW47oEC9p8HklcWnCMqWCnZ+ semZdJsZWbZVfs/6Hgj8GnzjOnA19SLi09K52c7wQnliN6pWSdXDA3hPc5T3w1OaoNKm qbCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Q0wILMXN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r26si2753230edi.376.2020.05.20.21.38.15; Wed, 20 May 2020 21:38:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Q0wILMXN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726923AbgEUEgc (ORCPT + 99 others); Thu, 21 May 2020 00:36:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726394AbgEUEgc (ORCPT ); Thu, 21 May 2020 00:36:32 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAEE9C061A0E for ; Wed, 20 May 2020 21:36:31 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id n18so2706348pfa.2 for ; Wed, 20 May 2020 21:36:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=eT+xRG/v2TF4nGrc1FOaU6f7rS0qB1ZWjEBefkEwxkA=; b=Q0wILMXN5wl22nrpcoEWsujQk97MNUyAxDuNg+JG4QAV4F2SLxacZnCTz3YgW/Ythc zhOnoeSPSUOmuLbibehiAbph/lIWY7ok/eZEUoUnxRQ3IpCGHToo1HLrTGFk109NgaKd PNUFzREtOa+2BSXhf8aiJrq7TM/RJ6xfeXAsjLQAwpgEpLwgT8x517Z2CrIXDXLG4e5G B+bw/8Y7YgPXsVDyJs49YdOwLwff87pz4lK+qWpW9bauQazdo0oVncEDmIeZr8Yk/ZnV nrQvvCS18GvRqNSUiggKUKMmHppmool/Mwl4TZZcJGoAaWbpHPZGDOEBkXSqwMdwjFl8 2j4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=eT+xRG/v2TF4nGrc1FOaU6f7rS0qB1ZWjEBefkEwxkA=; b=SCFmHq0za5sWAlzzQ5c9KnaPmmEE4zPRf5LNPecrDeeqYdJiY58q8AV5h+fqEH8Tz5 ItmZSq2UYZcFcBsvvuoVxWdRKZbW+x5HuHZOz/lWCgopz02W7zy+ooLnTB1OeYrXIFqO B33eQ0oLqdoXdmjx6He1kk7C4y4mKbb3U8z1W6yhVMepQUmYOOfxvVs0z0njpQO+7n0N FH3DZytfAnfewO3J9aOcMpLny96KVI18zCL/MRmiVeoSe29+2pX/NIFTxtJj1apLY0vn UC2K7fHzvFYh9FmgLYfG7CJI7JgerFxzso3M5a/hb5b+Pi4uBIO5xezHPQzOwiQbds6w hQsA== X-Gm-Message-State: AOAM531i45z+fjqVKbs+CiWctD/3Xf7Djvqmf0sOqhJYJUDUvhO2Y8Kk klMXY8R/fgjUpoL8YSVMUgg= X-Received: by 2002:a63:f856:: with SMTP id v22mr7349071pgj.64.1590035791231; Wed, 20 May 2020 21:36:31 -0700 (PDT) Received: from localhost ([2409:10:2e40:5100:6e29:95ff:fe2d:8f34]) by smtp.gmail.com with ESMTPSA id 25sm3168282pjk.50.2020.05.20.21.36.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 May 2020 21:36:30 -0700 (PDT) From: Sergey Senozhatsky X-Google-Original-From: Sergey Senozhatsky Date: Thu, 21 May 2020 13:36:28 +0900 To: Andrew Morton Cc: Joe Perches , Sergey Senozhatsky , Chenggang Wang , linux-kernel@vger.kernel.org, Petr Mladek , Steven Rostedt Subject: Re: [RFC PATCH 2/2] init: Allow multi-line output of kernel command line Message-ID: <20200521043628.GB755@jagdpanzerIV.localdomain> References: <2b3832fed9370f0f8dfd1ea33dddb1d05a36e265.1589916689.git.joe@perches.com> <20200520044127.GB938@jagdpanzerIV.localdomain> <20200520121000.GF520@jagdpanzerIV.localdomain> <19a8c717f8d9dc76f2b09e6dd19f3fbb71bf29c5.camel@perches.com> <20200520180028.8fc1b7890774c6f92a6c2623@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200520180028.8fc1b7890774c6f92a6c2623@linux-foundation.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (20/05/20 18:00), Andrew Morton wrote: [..] > I'm wondering if we shold add a kernel puts() (putsk()? yuk) which can > puts() a string of any length. > > I'm counting around 150 instances of printk("%s", ...) and pr_foo("%s", > ...) which could perhaps be converted, thus saving an argument. Can you point me at some examples? -ss