Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp31073rwb; Fri, 19 Aug 2022 16:12:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR7JxXma6b+OIVhk1dbyvk3Aeu4VNWingPisj6DpmeFlO9qda0CN3fGzS2gGu3IeWfiJrHRp X-Received: by 2002:a17:906:4fd3:b0:733:8be:24f8 with SMTP id i19-20020a1709064fd300b0073308be24f8mr6365150ejw.767.1660950722139; Fri, 19 Aug 2022 16:12:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660950722; cv=none; d=google.com; s=arc-20160816; b=lzHgbh2Y+zjksoEhL4ygVcbnMv/YgFfMj7onhjNIHw+z7qHXPDf04UGydWg7hgAh2u OS2+iIMQRlP/pv3nsZT7MhUA4C5roJ4OD/Tm49c+q6MoFxHuEVKoHefxSKOUY5rxaPOG wr2RSKhzBw96/5KSZcoswVTRPVLAoZxc5ySlHWy0tprfH+VOuKqe+UTv3DP5vjyE9nmI cVUtHJ/rzegvYnfkCAsvDYzNPECqkPruEgoDhy1xST6vsM03K5bTXyCSYERoj0jFDpW2 03qcCX9dGcDBlqpAgY5wMW6RGiHjtkgru2SR4DJGInMeFOCa9XpVh+z0ahCjiv+Ihjgk rtbA== 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=6/bnVK8C59Zdi0xRlMVaj0E9n3r0rDyiTtpOzSklScI=; b=VoFrtwER1fugCdJiAzvCLfW8u+c98KIIqCcbY3KEwOwNJZ2UnaJf0S4aj+RT6+TPH9 N5/R5Fz8nVCPRllcaj9+UBYtlnB9GCNK4Qi8a+/UvRZuTHiOFB+LihYy2XbWDjpOgGdW OAXnq9bZK0zwL1d0Z5rwwnIlbvWZf98qDSkvnuY3ORGGwgCQFYbqGSx+wbZFXs0a1C+v XPthYXuexwZfvOrusFjmdeX8cJt0c4TlB+muf0c/T2mtIBJpDVGzrJFgZeTRoOJSRLkA vTmk0xoq8qBmrjx/82EV9sxIP3U28adnGOoWjRvkdfFZN3ifFwIGnqtjyTBRbIIQ+Fge T6uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=YDFmAyxw; 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 hj1-20020a1709069fc100b0073b8c5f9fcbsi4000050ejc.61.2022.08.19.16.11.35; Fri, 19 Aug 2022 16:12:02 -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=YDFmAyxw; 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 S240939AbiHSWUM (ORCPT + 99 others); Fri, 19 Aug 2022 18:20:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240351AbiHSWTy (ORCPT ); Fri, 19 Aug 2022 18:19:54 -0400 Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED0A311231B; Fri, 19 Aug 2022 15:19:48 -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=6/bnVK8C59Zdi0xRlMVaj0E9n3r0rDyiTtpOzSklScI=; b=YDFmAyxwqCNKkk/EO7h/cdG+Vb Bikhb+/65tLMaFYHZ5lUs066mD5fF2Jc5SsJXm9Jcw9L4T3OGqDryMv1WCbGTOtyOu5pHtabgOk3m WDNVbwsKhzb9co3ZkSrqKNoE4GMHNELEJ72Y2Xdlp548ephFdzxA2eaG+EfEiBboPp1hwXjOfhnIm Ahl/KUo4ULnE5OgnP6kDLFk3nbldsaQAj+5d4NvKCbr6MATTMnWNw1GJm3TS53LpgSUvtvhIESW6m MzVfyEK5JdHfZV43mQ+egvPqzyvlWsdJJRO0OGCY3bnthoW6eLVHJl82GiTM8iJPd5eeSV3riIZR/ 3PUd/dvA==; Received: from [179.232.144.59] (helo=localhost) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1oPAL4-00Cau4-La; Sat, 20 Aug 2022 00:19:40 +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, xuqiang36@huawei.com, "Guilherme G. Piccoli" , Arjan van de Ven , Cong Wang , Sebastian Andrzej Siewior , Valentin Schneider , Xiaoming Ni Subject: [PATCH V3 02/11] notifier: Add panic notifiers info and purge trailing whitespaces Date: Fri, 19 Aug 2022 19:17:22 -0300 Message-Id: <20220819221731.480795-3-gpiccoli@igalia.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220819221731.480795-1-gpiccoli@igalia.com> References: <20220819221731.480795-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, 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 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 Reviewed-by: Baoquan He Signed-off-by: Guilherme G. Piccoli --- V3: - Added Baoquan review tag - thanks! V2: - No changes. 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.2