Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3803546ybi; Mon, 29 Jul 2019 12:57:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqyn5UnqlMtYJTqZnZuMW8Sg7/qUvB15Te1Q9Gy7mSxYePRymRJxrkghTl2FWfzhRi6apm7W X-Received: by 2002:a63:30c6:: with SMTP id w189mr102318483pgw.398.1564430260952; Mon, 29 Jul 2019 12:57:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564430260; cv=none; d=google.com; s=arc-20160816; b=oH44XLppBSueXlYz1LCxmZJJaM9nraRflASOSshW0BFlv4Y3y4oXdWOhpZKq8pXJ3y CatWoy2wM7bz3yu/XxTgY4TIlNVn2RmDzYX+H0m314FAmau7qHNLCVvbj8XXTMKZnzQS ee1IC9d9NHBZD2QHmvZbZWIqBYJBnAA452DEeeJ7JxAg+lK9TeBNzj0/3KgeWTT+iv5G IGmvavrJ8O8fwOHG51QuTxKDjkiKoaEUqZQO468EipGZOtSZbheLE+v+V6Jiq3nTyjyZ /7WCmWFCZeZvnAj4g1oYtOGdPZI5S7xD68SENQMpGbmpbJQFwFxC/aW0CjMSEW+Lm9iD EOmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=JBiPH5qcZVd5e3rRqCayE/gy2x8wx57gnDxycSaliM8=; b=l9bSuLVy+028TSUoqLxhTB4en/oAncsrDg86FMxayt0agwE4RyBZLT6Jo/8+q+XoNa GslWxICwHBLJO91r/v4BDiK26RaMy3aeP8fgC/6GItcgWC6RvP+PVPwCrA22RST/Um+w GB25DbxWFFbBWLazyWOiSTyPObDU7w8S9Q/4i3D3Y2bSEaveD+QrLzHPtm3qpwTCLthc vmXb1OSYh2NGuehibrlPxbM/tGFa5ZqlNInf7q8bhYM8pkpjJQCCegJ5nNkidyVxjuE/ ViQVRKxylXhScLN7orXzwlORV1hefKQ0ZI3s9cTMaFlh510+WLthVxStAmv/SCQJylkQ O+Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hQJrTs6V; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e5si11432695pgl.536.2019.07.29.12.57.25; Mon, 29 Jul 2019 12:57:40 -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; dkim=pass header.i=@kernel.org header.s=default header.b=hQJrTs6V; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391058AbfG2T4U (ORCPT + 99 others); Mon, 29 Jul 2019 15:56:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:49172 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404323AbfG2T4Q (ORCPT ); Mon, 29 Jul 2019 15:56:16 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 213F0204EC; Mon, 29 Jul 2019 19:56:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564430175; bh=QokPj/8tokDdsipMSdBPf+71ZL0m1+BCD/04tFVb1S8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hQJrTs6Voxio6Wj85KZGe+suOLiesExpGV8tKZ9tdr91RFdoQg9WWGz5x16oJkxck vRuLqg9bt0Vfcg6iSZjfQqBxykljzzvbZN+oJhkzVWAfQvbsk6Q8Et8Nw9RGB7LTq9 Li3XIk8SzsHp6AoKo2VNcWPlJX4LsAlS4ta51ZmE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Joerg Roedel Subject: [PATCH 5.2 204/215] iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA Date: Mon, 29 Jul 2019 21:23:20 +0200 Message-Id: <20190729190815.448954818@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190729190739.971253303@linuxfoundation.org> References: <20190729190739.971253303@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joerg Roedel commit 201c1db90cd643282185a00770f12f95da330eca upstream. The stub function for !CONFIG_IOMMU_IOVA needs to be 'static inline'. Fixes: effa467870c76 ('iommu/vt-d: Don't queue_iova() if there is no flush queue') Signed-off-by: Joerg Roedel Signed-off-by: Greg Kroah-Hartman --- include/linux/iova.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/iova.h +++ b/include/linux/iova.h @@ -236,7 +236,7 @@ static inline void init_iova_domain(stru { } -bool has_iova_flush_queue(struct iova_domain *iovad) +static inline bool has_iova_flush_queue(struct iova_domain *iovad) { return false; }