From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2963FC74A5B for ; Fri, 17 Mar 2023 10:59:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8735E10EECC; Fri, 17 Mar 2023 10:59:46 +0000 (UTC) Received: from emeril.freedesktop.org (emeril.freedesktop.org [131.252.210.167]) by gabe.freedesktop.org (Postfix) with ESMTP id D6ED310EECC; Fri, 17 Mar 2023 10:59:44 +0000 (UTC) Received: from emeril.freedesktop.org (localhost [127.0.0.1]) by emeril.freedesktop.org (Postfix) with ESMTP id CECA3A9932; Fri, 17 Mar 2023 10:59:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Patchwork To: "Nicolin Chen" Date: Fri, 17 Mar 2023 10:59:44 -0000 Message-ID: <167905078482.12995.16005994211493825094@emeril.freedesktop.org> X-Patchwork-Hint: ignore References: <20230316121526.5644-1-yi.l.liu@intel.com> In-Reply-To: <20230316121526.5644-1-yi.l.liu@intel.com> Subject: [Intel-gfx] =?utf-8?b?4pyXIEZpLkNJLkNIRUNLUEFUQ0g6IHdhcm5pbmcg?= =?utf-8?q?for_vfio=3A_Make_emulated_devices_prepared_for_vfio_device_cdev?= =?utf-8?q?_=28rev3=29?= X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: intel-gfx@lists.freedesktop.org Cc: intel-gfx@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" == Series Details == Series: vfio: Make emulated devices prepared for vfio device cdev (rev3) URL : https://patchwork.freedesktop.org/series/114846/ State : warning == Summary == Error: dim checkpatch failed fe8988bb3336 iommufd: Create access in vfio_iommufd_emulated_bind() -:102: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "access->ioas" #102: FILE: drivers/iommu/iommufd/device.c:488: + if (access->ioas != NULL && access->ioas->obj.id != ioas_id) total: 0 errors, 0 warnings, 1 checks, 171 lines checked 4b86dcdf59ad vfio-iommufd: No need to record iommufd_ctx in vfio_device 8d19b7e53ba4 vfio-iommufd: Make vfio_iommufd_emulated_bind() return iommufd_access ID 88ed0037bcba vfio/mdev: Uses the vfio emulated iommufd ops set in the mdev sample drivers 2b9b283bfbed vfio: Check the presence for iommufd callbacks in __vfio_register_dev()