Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4770168imw; Tue, 19 Jul 2022 12:56:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v4z9s6rjmGGxpL5RfXw9l5rtMyXReOOTDwNLUNrwR7FgWTGZ443ANIHy5+7KiarmM3kiN0 X-Received: by 2002:a17:902:b702:b0:16c:4e4f:94f9 with SMTP id d2-20020a170902b70200b0016c4e4f94f9mr34694527pls.78.1658260614930; Tue, 19 Jul 2022 12:56:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658260614; cv=none; d=google.com; s=arc-20160816; b=lhzQ1VFNwKIAqARHswUWd8R7k9fs4AJ3NnPnRqFiiVtZFscKpHFHPPaBLZsAu4jLdq AmUI3DL3dwXkzYsAIFnl76wqqErS8sM76mt2WSQKvVEfrOiYDgXXPXP3wPddW8I66kBL YJpPwJ9Ks/SiWetQD8xuK5CxmZBLEu4Ru/fguLSmVQbb8tYAEOpLNMvDg6+GRRzIUMuo 3ecU5rncrjhmSY+8w/qCi1ciEFg15t5Z9XSM+xPpNplP9NHKaTATThO/X5abNt4lu8BD 3HN6qQCkjl0S/pGE2BsV4Pk3A2EJhUZbsSdqdcIslaNWpB7in5q38JELPn8dQ5tdMS1L g4RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3rxB/UEQDioe8tj+x/rzEwHpuAm3l78UTczMcwO7Lj8=; b=N0D1mnpefXNS7h6SWks4AM+8A19aKY1WIH5y9Mksg+Ky9l1y3jw4s6PUCsvTOjh30b DW9Qx5EQEL/ETUGvb8+WcTwTprXY1gtPMhflwOTq1HzvbvdxOF2+ppR4SQa+rOjb2+wy LBc8ZB9/yUqukCdqlH88ybKrliP21qeAkriZv+YQsnkMGUfu8ounY+BPuHQqs8y58aKM G7zXe2WzMLNQPKwy7lgKTmHRTSZZp6o7l4BcBhGsoVpQpX3ZFLPKst6zKFiFIeS5d0O8 InKyBUOAksA5cep1HyAxj2p8x3p26LWByryCAxJDPyoqepQxDoa+hLSg+6xiAnMDjhzG /MlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=BMbWa228; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a8-20020a170902ecc800b0016bb9574bfesi22260304plh.256.2022.07.19.12.56.39; Tue, 19 Jul 2022 12:56:54 -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=fail header.i=@igalia.com header.s=20170329 header.b=BMbWa228; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236055AbiGSTzD (ORCPT + 99 others); Tue, 19 Jul 2022 15:55:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230205AbiGSTzA (ORCPT ); Tue, 19 Jul 2022 15:55:00 -0400 Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0F9A558EE; Tue, 19 Jul 2022 12:54:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=3rxB/UEQDioe8tj+x/rzEwHpuAm3l78UTczMcwO7Lj8=; b=BMbWa2281Y3+8j1D5ISoaBfKfJ lKZ+9NwyO9eXkPcu+HG6uMIqPy7I90KTCPe/nEVzersnJuLvfPflrapfuudEK2lnNW5AhrfbHjVLN O2R46WZx8UQ+m/bLCB1GT7xEi62UICA9TlBvSgQDrI0Jt+AHnhvUMtm1E60+wdah9paDNiSkPG8DD ITaE7Xu9/ZI6ebFtbLIDrqY7Wq6bO5rKi+wh2NDk1X+cMi4ld77qdcagW64yDasL1H4CIkB81m7Eg wfe1mi4C0qlWTcBEJoKrOeeLgzAW0TbAqVEcbQKMAjCNG94b5JWo9AwWdXG3R753kjIomlPUyXDJw zMIuI/Qw==; Received: from 200-100-212-117.dial-up.telesp.net.br ([200.100.212.117] helo=localhost) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1oDtIx-006fDW-KE; Tue, 19 Jul 2022 21:54:52 +0200 From: "Guilherme G. Piccoli" To: akpm@linux-foundation.org, bhe@redhat.com, pmladek@suse.com, kexec@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, netdev@vger.kernel.org, x86@kernel.org, kernel-dev@igalia.com, kernel@gpiccoli.net, halves@canonical.com, fabiomirmar@gmail.com, alejandro.j.jimenez@oracle.com, andriy.shevchenko@linux.intel.com, arnd@arndb.de, bp@alien8.de, corbet@lwn.net, d.hatayama@jp.fujitsu.com, dave.hansen@linux.intel.com, dyoung@redhat.com, feng.tang@intel.com, gregkh@linuxfoundation.org, mikelley@microsoft.com, hidehiro.kawai.ez@hitachi.com, jgross@suse.com, john.ogness@linutronix.de, keescook@chromium.org, luto@kernel.org, mhiramat@kernel.org, mingo@redhat.com, paulmck@kernel.org, peterz@infradead.org, rostedt@goodmis.org, senozhatsky@chromium.org, stern@rowland.harvard.edu, tglx@linutronix.de, vgoyal@redhat.com, vkuznets@redhat.com, will@kernel.org, "Guilherme G. Piccoli" , Arjan van de Ven , Cong Wang , Sebastian Andrzej Siewior , Valentin Schneider , Xiaoming Ni Subject: [PATCH v2 02/13] notifier: Add panic notifiers info and purge trailing whitespaces Date: Tue, 19 Jul 2022 16:53:15 -0300 Message-Id: <20220719195325.402745-3-gpiccoli@igalia.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220719195325.402745-1-gpiccoli@igalia.com> References: <20220719195325.402745-1-gpiccoli@igalia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 Although many notifiers are mentioned in the comments, the panic notifiers infrastructure is not. Also, the file contains some trailing whitespaces. Fix both issues here. Cc: Arjan van de Ven Cc: Cong Wang Cc: Sebastian Andrzej Siewior Cc: Valentin Schneider Cc: Xiaoming Ni Signed-off-by: Guilherme G. Piccoli --- V2: - no change. include/linux/notifier.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/linux/notifier.h b/include/linux/notifier.h index aef88c2d1173..d5b01f2e3fcc 100644 --- a/include/linux/notifier.h +++ b/include/linux/notifier.h @@ -208,12 +208,12 @@ static inline int notifier_to_errno(int ret) /* * Declared notifiers so far. I can imagine quite a few more chains - * over time (eg laptop power reset chains, reboot chain (to clean + * over time (eg laptop power reset chains, reboot chain (to clean * device units up), device [un]mount chain, module load/unload chain, - * low memory chain, screenblank chain (for plug in modular screenblankers) + * low memory chain, screenblank chain (for plug in modular screenblankers) * VC switch chains (for loadable kernel svgalib VC switch helpers) etc... */ - + /* CPU notfiers are defined in include/linux/cpu.h. */ /* netdevice notifiers are defined in include/linux/netdevice.h */ @@ -224,6 +224,8 @@ static inline int notifier_to_errno(int ret) /* Virtual Terminal events are defined in include/linux/vt.h. */ +/* Panic notifiers are defined in include/linux/panic_notifier.h. */ + #define NETLINK_URELEASE 0x0001 /* Unicast netlink socket released */ /* Console keyboard events. -- 2.37.1