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=-15.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham 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 46DB2C433DB for ; Tue, 12 Jan 2021 00:41:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EE51022CF8 for ; Tue, 12 Jan 2021 00:40:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405147AbhALAZO (ORCPT ); Mon, 11 Jan 2021 19:25:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:38630 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404222AbhALADS (ORCPT ); Mon, 11 Jan 2021 19:03:18 -0500 Received: from gandalf.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 4911C22CA2; Tue, 12 Jan 2021 00:02:37 +0000 (UTC) Date: Mon, 11 Jan 2021 19:02:35 -0500 From: Steven Rostedt To: Liu Peibao Cc: mhiramat@kernel.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] init/main.c: fix strings split across lines Message-ID: <20210111190235.3e81770f@gandalf.local.home> In-Reply-To: <20201230060424.29097-2-liupeibao@163.com> References: <20201230060424.29097-1-liupeibao@163.com> <20201230060424.29097-2-liupeibao@163.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 30 Dec 2020 14:04:23 +0800 Liu Peibao wrote: > Fix warning found by checkpatch.pl. > > Signed-off-by: Liu Peibao > --- > init/main.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/init/main.c b/init/main.c > index 6feee7f11eaf..1e492de770c8 100644 > --- a/init/main.c > +++ b/init/main.c > @@ -1470,8 +1470,7 @@ static int __ref kernel_init(void *unused) > !try_to_run_init_process("/bin/sh")) > return 0; > > - panic("No working init found. Try passing init= option to kernel. " > - "See Linux Documentation/admin-guide/init.rst for guidance."); > + panic("No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance."); Sorry, we don't add changes to the kernel that checkpatch warns about. checkpatch should only be run on new code. Please do not submit any patches on existing code because checkpatch warns about it. -- Steve > } > > /* Open /dev/console, for stdin/stdout/stderr, this should never fail */