Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2681910imm; Tue, 4 Sep 2018 08:21:22 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb5HPibx9vXaijR3UVteMCd52X7EzLn4yGDfvFXNtPYG/LeAUbthGEGwsLMUYPMqgBLBSUn X-Received: by 2002:a17:902:2f84:: with SMTP id t4-v6mr34300462plb.87.1536074482288; Tue, 04 Sep 2018 08:21:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536074482; cv=none; d=google.com; s=arc-20160816; b=g/EI5CnEqgswrIAaRc88wuT2pEv8IzxASYmGX11ed5jNGzrVrmCcf0sm4sTfPdYPuf f3ZSXff3zz5lIIdZsVI/cqiUUbyNxmMyNU9cpye53mVqiQtklafzmbD0y3uSewZmfv7e M38L6f3vFmTVSjCzO1k3XKmwDjCHMG0r9oUrrnjHtT/dXYObdrcZo/D0hN+CBuLJuFZH QskeiRslg7hAlpQLIY15xlin/BSER7kiG6UCfdBso0P5f5WZNtrkn64MVYf2q33uo+DC R2LBapcCR1BsWjpQP/Aa4vLe7RCx7FcXwXz9Sy5yhteeDvr994FHAvAr1ja12IpA1FX2 IwhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:message-id:subject:cc:to:from:date :arc-authentication-results; bh=yTuF3E42qJI+LGxHw2+10zQU12b1iHcMN32x6Av7BLs=; b=S89RccTf890XvU3H63NRxWGUmBzZQ+BvCNs2iFyPHsjM1gAh8Czolga8YNScZ9jklS pJgPNT6Kx9ItLFQlD0lcq7T/pvXe6iSl5LhW1SdbqO2w1HdVAr3+rdPcHkK34ktoXebO nmj0i9aXD+XCF4auVlBteVEo+hM+SkuQWOXgN8sd0TeA3rFg8yOCnEhHuPmyziE1I/ir 24ovjV/xcDm1zziuHm4uVx8Id9uNyLs7wM6BCYWpbMzI2wwLP485Dv6iSveu5S0tlc/K oXQL5t4K32URY8DVlPsUNEsydzFuosQ13vYVMpEGeel9RXwQsBuTaKX8iM2m25F2w7PG QZcQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d16-v6si21366052pfe.267.2018.09.04.08.21.06; Tue, 04 Sep 2018 08:21:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727665AbeIDTpF (ORCPT + 99 others); Tue, 4 Sep 2018 15:45:05 -0400 Received: from mga01.intel.com ([192.55.52.88]:15042 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727142AbeIDTpF (ORCPT ); Tue, 4 Sep 2018 15:45:05 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Sep 2018 08:19:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,329,1531810800"; d="scan'208";a="260602246" Received: from pl-dbox.sh.intel.com (HELO intel.com) ([10.239.13.138]) by fmsmga006.fm.intel.com with ESMTP; 04 Sep 2018 08:19:28 -0700 Date: Tue, 4 Sep 2018 23:32:04 +0800 From: kbuild test robot To: Kenneth Lee Cc: kbuild-all@01.org, Jonathan Corbet , Herbert Xu , "David S . Miller" , Joerg Roedel , Alex Williamson , Kenneth Lee , Hao Fang , Zhou Wang , Zaibo Xu , Philippe Ombredanne , Greg Kroah-Hartman , Thomas Gleixner , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, iommu@lists.linux-foundation.org, kvm@vger.kernel.org, linux-accelerators@lists.ozlabs.org, Lu Baolu , Sanjay Kumar , linuxarm@huawei.com Subject: Re: [PATCH 3/7] vfio: add sdmdev support Message-ID: <20180904153204.GJ17047@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180903005204.26041-4-nek.in.cn@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kenneth, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on cryptodev/master] [also build test WARNING on v4.19-rc2 next-20180831] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Kenneth-Lee/A-General-Accelerator-Framework-WarpDrive/20180903-162733 base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ :::::: branch date: 3 hours ago :::::: commit date: 3 hours ago >> drivers/vfio/sdmdev/vfio_sdmdev.c:106:30: sparse: symbol 'vfio_sdmdev_groups' was not declared. Should it be static? drivers/vfio/sdmdev/vfio_sdmdev.c: In function 'vfio_sdmdev_mdev_remove': drivers/vfio/sdmdev/vfio_sdmdev.c:178:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (sdmdev->ops->put_queue); ^~ drivers/vfio/sdmdev/vfio_sdmdev.c:179:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' sdmdev->ops->put_queue(q); ^~~~~~ Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation