Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp554460rwb; Mon, 26 Sep 2022 02:46:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7BAnf0OmQryy2BIgQkn2C+uNt22jcAeorBlWRy9bz5hjYyVNwVybOdHh6aTcaNF1gAqXHg X-Received: by 2002:a63:d615:0:b0:43c:a0a2:1192 with SMTP id q21-20020a63d615000000b0043ca0a21192mr6404243pgg.267.1664185585845; Mon, 26 Sep 2022 02:46:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664185585; cv=none; d=google.com; s=arc-20160816; b=jHeOawPUXm/2gOEcVCTWYgZ/rtMDuRMOkcjtnl8jQrqKwOX/SEtQcO9eoi+qIWdPpk c0ZcdVhkJQnHMAOdzgRMV+D2jLXA0pJ1OAQug0qBtYfahmabcngJVsurnoPZaz2Udvt7 ThtXpyFmdi6Iado0z+A2R3deDmSGypvE4YKJms+CXY8Hy285HZsaNlmD102Wqxu3U5mM tZou6dxUihBiTNdoJe76MUgGncmgeD7M6I+Lgh1E88+b5b7cQHagQz44rCI3q9PB4qmg Sn4z6Y2Hh5F8uoZLsaBmYswQtIyY5BPtOTbuuWtH9qm1GGKzLnusS6rv97XCLR940t8J Fp9w== 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 :message-id:date:subject:cc:to:from; bh=rJ8CNqkOKVBeU0aRsq5KDKCDErEEcwN0M3fbUT+P8QE=; b=Dp8HTA7xGkngeTuwYc49pQvVpWm1a0kMbrxsUAtMP8TwiIxSy3o3L3PvXo35KwGJj4 cKdjIEw76mYdENAaaJBldkxBHddrAritpjT06NODN08Qbv7rB4+IBW3A1gd2+08myKCl 0mdnCYyyx1VMd7L/AIVT3asublmE8+6Ocd3JmC/V8d4U7wJQAK8HHWRUf7agA7p0ynPe KT1dtTBSMfyJIl0HAws2kiD2iHbe2g+kh8ENamWU0jBJjkRbe+nMUPOI+hp0Vr4vSY4T TkSnJM7kp052eb3+pLEDQ8M4s4iTadX0LwyXpxHSKvvo9N593GGur8GZddpHufuIf/US WzqQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f38-20020a631f26000000b004386a1ebe70si17815791pgf.43.2022.09.26.02.46.12; Mon, 26 Sep 2022 02:46:25 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233444AbiIZJg2 (ORCPT + 99 others); Mon, 26 Sep 2022 05:36:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234305AbiIZJgY (ORCPT ); Mon, 26 Sep 2022 05:36:24 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF0C5237C2 for ; Mon, 26 Sep 2022 02:36:22 -0700 (PDT) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.56]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Mbcyk2TwhzHqFL; Mon, 26 Sep 2022 17:34:06 +0800 (CST) Received: from kwepemm600005.china.huawei.com (7.193.23.191) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 26 Sep 2022 17:36:21 +0800 Received: from huawei.com (10.69.192.56) by kwepemm600005.china.huawei.com (7.193.23.191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 26 Sep 2022 17:36:20 +0800 From: Longfang Liu To: , , CC: , , , Subject: [PATCH v3 0/5] Fix some bugs and clean code issues Date: Mon, 26 Sep 2022 17:33:27 +0800 Message-ID: <20220926093332.28824-1-liulongfang@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm600005.china.huawei.com (7.193.23.191) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 Modify two code bugs inside the driver, update the format of the driver's log and comments, and delete an unused macro definition. Changes in v3: - Remake patchset based on vfio/next branch. - Add new reviewer. Changes in v2: - Remove a wrong patch. - Remove some unnecessary changes. Longfang Liu (5): hisi_acc_vfio_pci: Fixes error return code issue hisi_acc_vfio_pci: Fix device data address combination problem hisi_acc_vfio_pci: Remove useless function parameter hisi_acc_vfio_pci: Remove useless macro definitions hisi_acc_vfio_pci: Update some log and comment formats .../vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 36 ++++++++++--------- .../vfio/pci/hisilicon/hisi_acc_vfio_pci.h | 7 ++-- 2 files changed, 22 insertions(+), 21 deletions(-) -- 2.33.0