Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp271061imn; Wed, 3 Aug 2022 03:13:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR7+jw+lW/b8LzmHWN9001dkJnG/b113KXgV0G/3b5gsB0oITU+PGQVB7BRi420SC8ixm1Pm X-Received: by 2002:a17:90b:3ec1:b0:1f5:15a6:aaf5 with SMTP id rm1-20020a17090b3ec100b001f515a6aaf5mr4142615pjb.123.1659521588383; Wed, 03 Aug 2022 03:13:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659521588; cv=none; d=google.com; s=arc-20160816; b=fd7GYDrHLUM6AxRh+wkuVV57W4niH++L14E2jwE01+xK5LessRxYkrO0w3kKf6gSqM KcbHKyroY8ajaUZV110KJoBWmbNa0f7M+OnjmoQ5EcWcwCNZhZaWbmZd57esMKwnNuoS CR8U/6AP81/94TF0tNVVJGZ6tZyDb9BYIqnVwrvb81lS0aiohVPupgiX9WGWd1k5qXgi p2oPZTjPHwUTlwx9oy3BbP1M0c1xRgt3FI3GapBOQI4WlFNjLYigFTVQQugj2Gj3+ZwW FXVGDJ5jMf3glZKbBP2R8bsWtW4g23LPZKWH5xisjrJ2TKMQ2tzfL+oxnIUqntoF5diC krHQ== 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=wC3/PO//oorDVUr2wMWH5HeOq129lBqXeyqiPu4d5kY=; b=rNwBcLosnK+q7aQnmtf0lGfC5Y6e6TAeVmMdgCYJREB01KK0PNlIAeMjMTZZrWkn8s ElEHb4HLPcJaTbVOza4COAqzQzaxJHpRgFLl1jlUoASH06MX/pLpWpH36puAZoVwLtUG 8Ie+YqdGI4NJghMSUXYCCHJ2LzR1mHViNen4bmbnNiLStTJin303Cqhf33GQXaVEGDSQ nLoP0RTxxRE7TwY4v0ZC5YUwOOup2RGVJGGc0Lm7gLf9uYGcF4YGWx/Zq165BBGayGDM TpZ+Zc7gLOg2/mWPTCTj07BT43gKWSP6O09XFw107gNWPKk2UpX3hopXjQX1rhtTajUv 5jdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="LLug/YxO"; 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 u5-20020a170902e5c500b001586190b7c1si2150528plf.528.2022.08.03.03.12.53; Wed, 03 Aug 2022 03:13:08 -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="LLug/YxO"; 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 S235269AbiHCJV5 (ORCPT + 99 others); Wed, 3 Aug 2022 05:21:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235286AbiHCJVy (ORCPT ); Wed, 3 Aug 2022 05:21:54 -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 ESMTP id 89F1458B7F for ; Wed, 3 Aug 2022 02:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1659518512; 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=wC3/PO//oorDVUr2wMWH5HeOq129lBqXeyqiPu4d5kY=; b=LLug/YxOpuUiLdJGsPupsn5dSMcEWoCe7s20Trd/dqEHtlWypP3uofpuUJNuOo412PGLUn M8GgsTDqn6ma2bpPA5R7AgUXvgrWPl9ikwGtBfq/wvYB/MH1H0t2L76rNSLp/X1X/vVFQj uhLkdXBoDmRdqMYmZ4ioCgaV7loK5PY= 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-638-pfCCUwv0NiOp6IpbbF09sw-1; Wed, 03 Aug 2022 05:21:47 -0400 X-MC-Unique: pfCCUwv0NiOp6IpbbF09sw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 20B4D1C06ED1; Wed, 3 Aug 2022 09:21:46 +0000 (UTC) Received: from localhost (ovpn-13-216.pek2.redhat.com [10.72.13.216]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5FB4E2026D4C; Wed, 3 Aug 2022 09:21:44 +0000 (UTC) Date: Wed, 3 Aug 2022 17:21:41 +0800 From: Baoquan He To: "Guilherme G. Piccoli" Cc: akpm@linux-foundation.org, pmladek@suse.com, kexec@lists.infradead.org, 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, Arjan van de Ven , Cong Wang , Sebastian Andrzej Siewior , Valentin Schneider , Xiaoming Ni Subject: Re: [PATCH v2 02/13] notifier: Add panic notifiers info and purge trailing whitespaces Message-ID: References: <20220719195325.402745-1-gpiccoli@igalia.com> <20220719195325.402745-3-gpiccoli@igalia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220719195325.402745-3-gpiccoli@igalia.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 07/19/22 at 04:53pm, Guilherme G. Piccoli wrote: > 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. */ > + LGTM, Reviewed-by: Baoquan He > #define NETLINK_URELEASE 0x0001 /* Unicast netlink socket released */ > > /* Console keyboard events. > -- > 2.37.1 >