Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2221642pxa; Mon, 3 Aug 2020 10:23:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNMXoLu9LfixuXHNDTb/zg3gYCeZ61CrK+0nejBbnpYWSPo+Zg6V625t0+/KxJcDv5hNrh X-Received: by 2002:a50:e848:: with SMTP id k8mr8263873edn.192.1596475421640; Mon, 03 Aug 2020 10:23:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596475421; cv=none; d=google.com; s=arc-20160816; b=OX6JE3vtrd4xGuadf3KwLC1nwwDYxjddDSqOtgcNNvVzXrcWsrv4zYDvtUNoAz0WQ3 3irePbrB4BKaP8SZ96V3csMS9/bGWUYJuAnKDw63iIPBWh48VF8GtOQfnOFdOQ+vnP6k QJdP6C/XOPQevrnfsIAVtQmhGIb6D488lMG87lTeM8aEiDoKr2KW3lD1ExuawFfJrbAJ ODqr7YkvrMwmbbcb5T4XWGDmzojfHTSI9j+l8BRkXTg7TPCCpL4oazvp5tAPpnb8FZQY bJe3GwsyfydBARO8aa7+17cNuELHEjQ8VplDjanOQbGMYrZ4KgbWSyPAHUWCO3eTo7CJ zo2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=gbZc482rZDQkJloSImwlRsKyrN/tO0NYsT8C5qGJyRc=; b=wgI5ZeLgEvMo0qjLgyBP/N6eKJhcKSeZmKSzyY5BuWTsZM3DcHL8Mev6OJoQZwe/8W TNI5tumKYyRWM0WyBkx1u2ZBKdFTWZ8NJxvbME0AAvKaLeB1SRNdkdGEHMcRXlxXd7Bd tliZ3EUZ5zAWBAe7B+YftAumDgmr2XiZz5A0xZJXtSV3tIm2c2YBIHcft29NPOnwcSJZ bPNy4ALjEaNF9b/giwuDNMJC74aPd9k4V2bJ/FqgYudVh5nByEOBWNataNgDB0+zzgu/ q7UfKdbzrkySgXeuPIGCU6AkkIBNWWa0pOMNW86qCDBVc836vTaOkWsMWrsbm4z94i5o VOww== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w10si10386316ejb.303.2020.08.03.10.23.18; Mon, 03 Aug 2020 10:23:41 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728442AbgHCRWm (ORCPT + 99 others); Mon, 3 Aug 2020 13:22:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:45480 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728107AbgHCRWl (ORCPT ); Mon, 3 Aug 2020 13:22:41 -0400 Received: from oasis.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7850F20792; Mon, 3 Aug 2020 17:22:38 +0000 (UTC) Date: Mon, 3 Aug 2020 13:22:38 -0400 From: Steven Rostedt To: Arvind Sankar Cc: Masami Hiramatsu , Kees Cook , Ingo Molnar , Frank Rowand , Randy Dunlap , Namhyung Kim , Tim Bird , Jiri Olsa , Arnaldo Carvalho de Melo , Tom Zanussi , Rob Herring , Andrew Morton , Thomas Gleixner , Greg Kroah-Hartman , Alexey Dobriyan , Jonathan Corbet , Linus Torvalds , linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 08/22] bootconfig: init: Allow admin to use bootconfig for init command line Message-ID: <20200803132238.1e40aa37@oasis.local.home> In-Reply-To: <20200803152959.GA1168816@rani.riverdale.lan> References: <157867220019.17873.13377985653744804396.stgit@devnote2> <157867229521.17873.654222294326542349.stgit@devnote2> <202002070954.C18E7F58B@keescook> <20200207144603.30688b94@oasis.local.home> <20200802023318.GA3981683@rani.riverdale.lan> <20200804000345.f5727ac28647aa8c092cc109@kernel.org> <20200803152959.GA1168816@rani.riverdale.lan> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 3 Aug 2020 11:29:59 -0400 Arvind Sankar wrote: > > + /* parse_args() stops at '--' and returns an address */ > > + if (!IS_ERR(err) && err) > > + initargs_found = true; > > + > > I think you can drop the second IS_ERR, since we already checked that. Masami, Can you send this with the update as a normal patch (not a Cc to this thread). That way it gets caught by my patchwork scanning of my inbox. Thanks! (/me is currently going through all his patchwork patches to pull in for the merge window.) -- Steve