Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp649271imu; Fri, 11 Jan 2019 06:47:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN4xhKeBWBCrsyaQiGM401HToYNAfcBISCFRiMqPDxgLW599fTDrFtEo24fTy0jUljAQWz4W X-Received: by 2002:a17:902:6909:: with SMTP id j9mr14457649plk.196.1547218067562; Fri, 11 Jan 2019 06:47:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547218067; cv=none; d=google.com; s=arc-20160816; b=ilf4ymp7jhCNHPOto7DBJOlEGmE5pcssl6yZF02DY4+8IuFJLfMY+4R/aMrJdL5M+D 7nNLqM+JN2gSYufYe4OHxq6hAEkGn89AAVzkwQqB+60qs/ergZddoMn6+72wL04wQIEo qtTNQN5jVEbLDH/sDdR9mq4dERPCcgfOFzp731mFOZh85tfUR/TgxWy7xduMlc+510Cx Mn+mHs9Cu28b2oWB7e/PlbGGSbhooj4p5SA6paQ9MOSajXkN7jnRy/lBOS8E4C7hcYxk SVY/iRV7vKJxceLjw+xHN0uNLEKYT6Ml3pLJra8uGyk+zhl977nrx6tyfXJfhx5twtRP bRVA== 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=ke69N1cdZeK67RKkdtJn2GYnBnZNz5o4b+jxLvVOPdU=; b=YKwH5L2ya0e8zswTw6EExhgMOvC/RjfvPr9KocAEXOpUXtx5YW1YKsaqMS3bP1SpS4 Kw3Oy3T1nB7r2iFASIbY+XNfpXP7AmGjITGQQPlEL/LDe/9xB4pB8LEcWKbIt5LEgFya 3+dv6W/ssGuNe5+2/LSiEHTJpXyRAw+ZUS11nxtZKh/gJL/iWhx9Xqh9613Cr/hcUepS Q2ArZ6ZaSe4KnKK9sc4g5WOv2u4mqX2+3denrQ1m/giNnGjy2LomoJJN8jGRxo0CAvEt ETtrPtrDoNQS36jZBNhC1BtnVKAImH8CJLR5OlxOaoe4hFeNBvgJ8IX3vW/fcMnOdh6X 7VCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=okFVmic0; 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 o8si12038443plk.28.2019.01.11.06.47.32; Fri, 11 Jan 2019 06:47:47 -0800 (PST) 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=okFVmic0; 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 S2404559AbfAKOoL (ORCPT + 99 others); Fri, 11 Jan 2019 09:44:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:37074 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404550AbfAKOoI (ORCPT ); Fri, 11 Jan 2019 09:44:08 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.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 6D5EA206B6; Fri, 11 Jan 2019 14:44:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547217847; bh=m+BDDSNKDi3petwEPL/zp8eE5VM6jeQdz77FJ9KUJAk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=okFVmic05eOMqYkbmmKSUVyP0aOYhzv3Rp43zc8LcJ1avnuROSKAk6lqV6mduqXbO 8sa6Jp7+K0dHTWqrwNeJR7Zu+H2J4jkWf8iy/LZYWrQARmZrRVu+VSeDQyoP89vxuF 1NZBbnHlRXMxar+tT8XjRMIEhNF6UQepuRffy8vo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Christophe Leroy , Kees Cook , Michael Ellerman Subject: [PATCH 4.20 62/65] lib: fix build failure in CONFIG_DEBUG_VIRTUAL test Date: Fri, 11 Jan 2019 15:15:48 +0100 Message-Id: <20190111131104.292995789@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190111131055.331350141@linuxfoundation.org> References: <20190111131055.331350141@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore 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 4.20-stable review patch. If anyone has any objections, please let me know. ------------------ From: Christophe Leroy commit 10fdf838e5f540beca466e9d1325999c072e5d3f upstream. On several arches, virt_to_phys() is in io.h Build fails without it: CC lib/test_debug_virtual.o lib/test_debug_virtual.c: In function 'test_debug_virtual_init': lib/test_debug_virtual.c:26:7: error: implicit declaration of function 'virt_to_phys' [-Werror=implicit-function-declaration] pa = virt_to_phys(va); ^ Fixes: e4dace361552 ("lib: add test module for CONFIG_DEBUG_VIRTUAL") CC: stable@vger.kernel.org Signed-off-by: Christophe Leroy Reviewed-by: Kees Cook Signed-off-by: Michael Ellerman Signed-off-by: Greg Kroah-Hartman --- lib/test_debug_virtual.c | 1 + 1 file changed, 1 insertion(+) --- a/lib/test_debug_virtual.c +++ b/lib/test_debug_virtual.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #ifdef CONFIG_MIPS