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 X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28161C433E0 for ; Mon, 3 Aug 2020 17:22:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 076CC22B40 for ; Mon, 3 Aug 2020 17:22:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728527AbgHCRWm (ORCPT ); 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