Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1790692rwb; Fri, 23 Sep 2022 19:33:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4w+F8X5rAW2f59XthIQydgBB+Sbo/stXMrvJwsEjSM0IxK4Cs4dn3cxbueNz0zqx63aC4E X-Received: by 2002:a63:3f42:0:b0:43b:2e65:6fbf with SMTP id m63-20020a633f42000000b0043b2e656fbfmr9991146pga.468.1663986831519; Fri, 23 Sep 2022 19:33:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663986831; cv=none; d=google.com; s=arc-20160816; b=byWOKq82H/E1wYKzEerBrDpzt8bzqfq6iREfd2kiBBOXTqtZnvWX/+MLAvdk0gn7OL 97zZu/oXPj7vkH2U7USSZassVPCaN6cvsiNiNA3PkLlyDB6U8kfmGavWJxZoPx2Spz/h k/Nk3QJF62u/4fjBm++x2GaiFUXz7hsbgah1uB4149CgId37IA3yczme1t6fzgsxwd1K 1oVKQ5pUgLL2RLGtKqY15MKr6wwuan3EiTgZrW78ECrRjPzOEvf6Fkie22KVc9kT/ZZW 7INBnmYVdNvVTiYwBgGIiGvB7ttnFmyYWsXcoFDwcGSHO807ghCD/X2lWcO2+MkdUj1/ 4p/g== 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=fQq8LEHWnCKOuG199aKVXslwMrcuMbwBj8gm7AJzYY0=; b=KC95hl7ogzwCeIvxmmhEuTLIU54gZISpYBC++niV68Fs0RibIbLozHSDUVPfGjdP0s bZecGjR8MkFxRw1H6jKmjHWGVbjffS9vW+YMIt/kSoIS8+xeN4EWCbsRX39FcQw/LQpr T3TZtTbnYa5gIgxqGskxr19MTAfyfAgUp1qx5htUZv2x02Pa9x6Xrr0vjIc336N5UJy/ oDNXhxn2phiqe2OEYG5keXYr2KkAZq+aQ79YF9M1zuUNx4K+/eoUTR5moFjsgBHFzAX5 qlM2yhE5Vv8DD9BEoXTlLd8ykTFmRB4+8yHc5bDHySKMwbvSBfrYbkG/4ULJmdaGE8a0 90gg== 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 u21-20020a170902a61500b001730984c2e7si4290374plq.306.2022.09.23.19.33.37; Fri, 23 Sep 2022 19:33:51 -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 S232621AbiIXCXl (ORCPT + 99 others); Fri, 23 Sep 2022 22:23:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229733AbiIXCXj (ORCPT ); Fri, 23 Sep 2022 22:23:39 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F5D7132D61 for ; Fri, 23 Sep 2022 19:23:38 -0700 (PDT) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MZCQJ6phxzWh0y; Sat, 24 Sep 2022 10:19:36 +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; Sat, 24 Sep 2022 10:23:36 +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; Sat, 24 Sep 2022 10:23:35 +0800 From: Longfang Liu To: , , CC: , , , Subject: [PATCH v3 0/5] Fix some bugs and clean code issues Date: Sat, 24 Sep 2022 10:20:44 +0800 Message-ID: <20220924022049.12022-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: dggems704-chm.china.huawei.com (10.3.19.181) 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 latest 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