Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2370782rdh; Tue, 26 Sep 2023 23:51:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF2zgT+kUgoLCI8xbQqj3DlJyd3+HCNDRMU/+oWB1EFtPuI+qAyKmYYWd7eo5FpjTLUclJF X-Received: by 2002:a92:c544:0:b0:34f:b7b7:11a5 with SMTP id a4-20020a92c544000000b0034fb7b711a5mr1553101ilj.2.1695797475585; Tue, 26 Sep 2023 23:51:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695797475; cv=none; d=google.com; s=arc-20160816; b=gNd+86iRaVDLl08Zk+SSWRgHXuOevNRZKYP2lz7vyM9MEtoJ2k/A8S/KlixybH2uFO Em+dMe3JeiE1+jP8Mu/nJSfsd57BqwlQEdA8AQ9NN/U3+nw3QjzjLzDDUj5m5VnW67km mptoEGXffQTDahbosIGKB6CqxSpXa9JFpRixBpPvEOaaadJNef/iPjG3FrvqqRw/wTAW ELnWmHDOKMiLAzqPscYMsaqc4tlc68TINBzk5adpdXopMcfHe43b8ME16NP/uW2uqVTO QMftSSyWLvcEPXchVNgntOcIwNXNVnI3SXjG77YS+BY+0ovBQICaVaCmhey5emiuftBA cwhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:cc:to:from:date; bh=f2Ia/ArlY1//L7ezruri5J+OVzKHJP7RDXwnpFSlkos=; fh=YxaQX7GTjfBsN7A2Jl+A9yP6mmGOQanoqU6QROKhVaA=; b=aZQCNqD8QYvO2WrIuRseGA5QDD8S9n8zzWhxDT69pKftR5Zs+o/Kdx2ptO5LeAZd7d /jceVzGWTgtqCDPt7iUOdafEvsNsXNLsJJ0xgjwHQCXuyDnyrPc8Xeqv+PBr6XFL9s9n lkkjBp0BkK9GwWZnyIrvHCDohy3cB2iOcJsBYLYmfZKWrK1CgEICtWwhOzuASOXTAuKI tk2m7JVf2QXJg+9FzcxNCIpOz9T6ICvSnWA4DU84HO6cvCGSU2x8bQmK8L2xxugv5GtH i3XRFZILczBlbTugPzHR1DOIQ7Gc9ZBzTLiO7lLl+RnJTz6WnInYc/+LDbDGocKJRF6D gRQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id bs193-20020a6328ca000000b005526bd0c526si13996992pgb.641.2023.09.26.23.51.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 23:51:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id C96C08029117; Tue, 26 Sep 2023 23:44:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229906AbjI0Goe (ORCPT + 99 others); Wed, 27 Sep 2023 02:44:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230014AbjI0GoJ (ORCPT ); Wed, 27 Sep 2023 02:44:09 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A34BD180 for ; Tue, 26 Sep 2023 23:44:03 -0700 (PDT) Received: from chenguohua$jari.cn ( [182.148.12.64] ) by ajax-webmail-localhost.localdomain (Coremail) ; Wed, 27 Sep 2023 14:42:45 +0800 (GMT+08:00) X-Originating-IP: [182.148.12.64] Date: Wed, 27 Sep 2023 14:42:45 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: chenguohua@jari.cn To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] mm/vmstat: Clean up errors in vmstat.c X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.1-cmXT6 build 20230419(ff23bf83) Copyright (c) 2002-2023 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <676ec6fe.873.18ad5603269.Coremail.chenguohua@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwC3VUDmzhNlcum9AA--.616W X-CM-SenderInfo: xfkh0w5xrk3tw6md2xgofq/1tbiAQAHEWUSpy8ANwABse X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 26 Sep 2023 23:44:43 -0700 (PDT) Rml4IHRoZSBmb2xsb3dpbmcgZXJyb3JzIHJlcG9ydGVkIGJ5IGNo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