Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2356213rdh; Tue, 26 Sep 2023 23:12:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHZykK0A0RAJ194oQvhxPT0ANtA/LxAdfSS7DzsRhmPKWdof3dhpR7dmd89dI2jJquk8E7V X-Received: by 2002:a5b:a44:0:b0:d3c:ccb:2c8 with SMTP id z4-20020a5b0a44000000b00d3c0ccb02c8mr1136140ybq.29.1695795169493; Tue, 26 Sep 2023 23:12:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695795169; cv=none; d=google.com; s=arc-20160816; b=gwC+kFkAI7sE1nhwNV1yeuwpRRLr2Hvx0Sq2jaftyWjy1QU2tGnZeCjVvyEM2wRzvw Ynmc74aBkGRBCrxhE2iAsgssPe0d3kdUtpnfn/tpaiFnOayvBFGgmS63bujCCIhE5Aww RajRszG75GFE1iXJM/Ydmeg9+VqpovHyjs5PvOSHFz3YdwKDpYWGj8x37cWVLvuS6faD bcj4CwNgxYafITK7Yx1Y72xnQiEb4OaVj8VvbIglKiZXPczOgu5u3ffSm63f9feNOqCm 720x2NPz4mkdYB3DHV3EtQf7ph4v+9h4Le/frVMX2c/RMnVhl/NfHnmNiiGZj8onuFH5 RkKw== 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=65N70qRg04er7z6+RG11T2QC9Nuj40QnAJDPe9C6P+M=; fh=mfMFP3g2f/0BZJkwfiZUdJUiIsTm76IrFqJE3D9WpiE=; b=ZP6LKgqV7C4R0IpORVJwdFM1Km0xPaOrTDqu2RSmtE93EnG/3Dgcm9dJV4z/6w9Q/J 0YUCq1NpvAjgGqBGWjK/oO7IRNSu9lpd8NVjqVHUtTAqfRSAt7Tl/DrXoiSd2ZSOEaHy HiqA9g+k5yc1rzxaMq/4JhTn72JjK++TCZzSpFL05tnCsJSAkeGbs3nPV+dRELKywTP3 gwnNgcs+FGFjMITa7UBqvXZ1KinLUIHC/6oOymoS04QNVB0cDwpAPL469UIiLLJgehOy g8sFLMPV2xEIgtDL4lDydQZjEpGTthAZ2YDou9hq24tlX8kyDpbF2uI1XtL3/R2YmFRd /d+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id bv124-20020a632e82000000b0056da0ae25cfsi14229448pgb.196.2023.09.26.23.12.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 23:12:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 5EA728097165; Tue, 26 Sep 2023 22:57:48 -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 S229546AbjI0F5l (ORCPT + 99 others); Wed, 27 Sep 2023 01:57:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjI0F5j (ORCPT ); Wed, 27 Sep 2023 01:57:39 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2AD9DF4 for ; Tue, 26 Sep 2023 22:57:35 -0700 (PDT) Received: from chenguohua$jari.cn ( [182.148.12.64] ) by ajax-webmail-localhost.localdomain (Coremail) ; Wed, 27 Sep 2023 13:56:08 +0800 (GMT+08:00) X-Originating-IP: [182.148.12.64] Date: Wed, 27 Sep 2023 13:56:08 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: chenguohua@jari.cn To: rafael.j.wysocki@intel.com Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] pnp: Clean up errors in pnp.h 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: <13c70c43.85d.18ad53580c7.Coremail.chenguohua@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwC3VUD4wxNlp+O9AA--.612W X-CM-SenderInfo: xfkh0w5xrk3tw6md2xgofq/1tbiAQAFEWFEYxtJMwAJs7 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 22:57:49 -0700 (PDT) Rml4IHRoZSBmb2xsb3dpbmcgZXJyb3JzIHJlcG9ydGVkIGJ5IGN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