Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6762894rwr; Tue, 9 May 2023 21:52:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6KadNDXOJG3peaT8pnMIOGF19o5OLp3tyd6uepyRpq0Ozs2yAYcZlo2pu1g+IzCYwGRzYO X-Received: by 2002:a05:6a20:6a0a:b0:f0:b6e3:90f2 with SMTP id p10-20020a056a206a0a00b000f0b6e390f2mr22206381pzk.13.1683694321266; Tue, 09 May 2023 21:52:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683694321; cv=none; d=google.com; s=arc-20160816; b=0vKxvQa6u36gqw0Vv+r5hyNy4WKfbhaYtqfSGX8nCOWbM0rWaybIOSt156XS/Y3VZD 1dv1i8c6+qzEFuUW68mVDdnBD2zP3nDhnNZOlc7qGiCcnH6jVgN+eq2J3wtnwmvWkJyC V/5ty3jnOqTFt39q+g4BZIW/8+q5migtgylIld4rJv0yV8OOzKNlLDwTdZdt+FFaJ9bN bvaJSeCm15DKcjjAP430fqe2xjpQCRqxbE62XfkhHHV7DgFMrCqaO3/Y6EUSsB4ESCIx GFW9+FM4dZryEHemQsOErbbFpE6kSGTYnsghI7zd66L6v/9RLpYKNUOZ/x6loj3dGLPZ gvQA== 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=EhMhj5d/G7n1EDqnhcO4ODQXL3YvB1dKGcoGs91Uegg=; b=sPx/MySJLk3vYKepJbFLRAYpes630g0d96X82I+EtnP3QTSYq9LIES1Tpg0JthR1jK HRZaEh+IlZLQRxohkYng3x1DkZUSAbLigFqIFDU6u9ww1AF4pUm1iYbuxDTOS2Q7tuCp R1ImhU2ELEgpFJ7JOtz0jTn3oFRSG12DXHp+e6+Uq0Q+0xcCzIbyHKfgojOlQW2dWYYU etdj6dtWach2ZrP9Ff1ywy9Dyvopi7kfcEhi5GoW/QY/QuGcQqlVJOw1JQ3sPFpSDQpd IBqWpzs0vH0SiJguOt6sV7GkagrROv1nT9Rsrp9WlJCr5kmLwYrfGU/tHgA2uFACL6w0 l+eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PVstt70v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bt20-20020a632914000000b0051909d663desi2941739pgb.481.2023.05.09.21.51.49; Tue, 09 May 2023 21:52:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PVstt70v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229524AbjEJEMq (ORCPT + 99 others); Wed, 10 May 2023 00:12:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjEJEMn (ORCPT ); Wed, 10 May 2023 00:12:43 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F7A3184 for ; Tue, 9 May 2023 21:11:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683691915; h=from:from:reply-to:subject:subject: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=EhMhj5d/G7n1EDqnhcO4ODQXL3YvB1dKGcoGs91Uegg=; b=PVstt70vpgZWOf2wFoCSoxUVs7bPSv49sndew8G8pBcUdCjbUeONZxfLZbkilvxfT+6Ywm NUx41Pky9LCmQowOUtOf9E/fk9Hse2tBfjtd4xEkBVCYSnJfCWPewAYxrtLG/mripCSLia TQp/DosWckVH94Le37E/8N6U0r37/n4= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-222-b1P_QNRuOCqoEZ1_-JsbBw-1; Wed, 10 May 2023 00:11:52 -0400 X-MC-Unique: b1P_QNRuOCqoEZ1_-JsbBw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BB3F529DD990; Wed, 10 May 2023 04:11:51 +0000 (UTC) Received: from localhost (ovpn-12-62.pek2.redhat.com [10.72.12.62]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B37A61121314; Wed, 10 May 2023 04:11:50 +0000 (UTC) Date: Wed, 10 May 2023 12:11:47 +0800 From: Baoquan He To: Simon Horman Cc: "James E.J. Bottomley" , Helge Deller , "Leizhen (ThunderTown)" , kexec@lists.infradead.org, linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] parisc: kexec: include reboot.h Message-ID: References: <20230508-parisc-kexec-include-reboot-v1-1-78a155a8a0a4@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/09/23 at 01:52pm, Simon Horman wrote: > On Tue, May 09, 2023 at 05:01:42PM +0800, Baoquan He wrote: > > On 05/09/23 at 09:01am, Simon Horman wrote: > > > Include reboot.h in machine_kexec.c for declaration of > > > machine_crash_shutdown and machine_shutdown. > > > > > > gcc-12 with W=1 reports: > > > > > > arch/parisc/kernel/kexec.c:57:6: warning: no previous prototype for 'machine_crash_shutdown' [-Wmissing-prototypes] > > > 57 | void machine_crash_shutdown(struct pt_regs *regs) > > > | ^~~~~~~~~~~~~~~~~~~~~~ > > > arch/parisc/kernel/kexec.c:61:6: warning: no previous prototype for 'machine_shutdown' [-Wmissing-prototypes] > > > 61 | void machine_shutdown(void) > > > | ^~~~~~~~~~~~~~~~ > > > > > > No functional changes intended. > > > Compile tested only. > > > > > > Signed-off-by: Simon Horman > > > > Acked-by: Baoquan He > > > > We may need to find out the places in all architectures and fix all of > > them. > > I did check. It seemed to be needed for riscv, m68k and parisc. > I've sent out patches for all three. But I may have missed something. That's great, thanks. I didn't notice the other two.