Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp698428rdg; Thu, 12 Oct 2023 20:01:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHL4Ikf+mcuJZk3VK7lDoUb59PAdYNdzLJK2jtP+oZiQyfsAEMVlIB5cxRjtxH9yzzjqJl3 X-Received: by 2002:a17:90a:7e12:b0:271:ae4f:dd12 with SMTP id i18-20020a17090a7e1200b00271ae4fdd12mr23987305pjl.26.1697166083489; Thu, 12 Oct 2023 20:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697166083; cv=none; d=google.com; s=arc-20160816; b=LoJ59j3/irv/cJWyHhFO2I4pTFMz4yyLNg0K+h1KOPWfSKe30YGv83l3G2clwX/YHd p1SkWm7VKUbRuZxB+ros1t4jDtG+jD89PVff3Lu+KRYwxVIGxEZsKC+KfKjqVN7FD86H naWRPXaOlV7hXDFg/cktxZFehvFl6Bas+DCQw0wzQrWjiVskqfjvy/X2dwp/cG04qwbZ f/8Ao4PsyJ2ubeWejDg+9IAD2fvr6yAZAAiZO/xrXnD3W6e3AXAPJnWCRp0R2CXNi53G 5Z0LEu6MV+dzkgdXkoliFcYuXkHLvzcL0gKabTJ/0s+rtiNDpp/uY0en4FBRIm14NrdG GGiA== 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=7WY4XfhiEFhGMiT2nWswbQH3ss2p4ASYCz7RN1ENpTA=; fh=Cbh7Z9eq4tQ+06+fDDmgtP+xCfnV6cSUMSx9xx4sGZs=; b=ICe+jocrt7rxE2HaiMo5wE0Xufr7lX/r7aHAn++TMFSFUSu2WL4mSlnEc162qUCop4 gYOeiTnMIHrS+12fmavPl3nOwWGkQgVm+SFIIEElowe38Gu8s21aNGb27j/ShvJwxbPy UW98Ei5aDf/7UBe+7uqdvoczSFfr/W2GVGz9FIzqfvuDKiV++7ys6zh8PxgGOEkt25hd 663tfnjr4uijX0t7suzfKfFdDX/musKahiCfTPuLcT6OC/Q3SebDwhNOG2DyxcofQMdP bX7BqhAX//NdOw8WeIyvtd7cIiTIcTxJ2Atz0Izip7gjOacScjjLgu74IfKnwKb9Vjyt g6fA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id y6-20020a17090a644600b0027ce6cd3144si3546760pjm.126.2023.10.12.20.01.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 20:01:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id B9762807BA3F; Thu, 12 Oct 2023 20:00:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229448AbjJMC76 (ORCPT + 99 others); Thu, 12 Oct 2023 22:59:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjJMC75 (ORCPT ); Thu, 12 Oct 2023 22:59:57 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5E0A791 for ; Thu, 12 Oct 2023 19:59:56 -0700 (PDT) Received: from chenguohua$jari.cn ( [182.148.14.172] ) by ajax-webmail-localhost.localdomain (Coremail) ; Fri, 13 Oct 2023 10:58:14 +0800 (GMT+08:00) X-Originating-IP: [182.148.14.172] Date: Fri, 13 Oct 2023 10:58:14 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: chenguohua@jari.cn To: tzimmermann@suse.de Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] iosys-map: Clean up errors in iosys-map.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: <14ac9e76.941.18b26f86290.Coremail.chenguohua@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwD3lD9Gsihl1NfBAA--.742W X-CM-SenderInfo: xfkh0w5xrk3tw6md2xgofq/1tbiAQADEWUnvzMAGQAFsB 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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 12 Oct 2023 20:00:09 -0700 (PDT) Rml4IHRoZSBmb2xsb3dpbmcgZXJyb3JzIHJlcG9ydGVkIGJ5IGNoZWNrcGF0Y2g6CgpFU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