Message ID | 20210308122720.062508474@linuxfoundation.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1672659jai; Mon, 8 Mar 2021 04:35:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJzuzoMee2EJppt/Pc90EfU8JAWG7Wi4sMUSsd908Upl29Lzz0Y30L8Slm6LyaVXdgKSNFg5 X-Received: by 2002:a17:906:c09:: with SMTP id s9mr14765012ejf.539.1615206951578; Mon, 08 Mar 2021 04:35:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615206951; cv=none; d=google.com; s=arc-20160816; b=wEtg1xr4Vc7tseeoxPJ3ai7QCcdX93Q687V5lvNEypCVjhdQWIarlSf00jVg7Fr2VJ J7vrdmr7hLhE73OARzyQOyF8uQNVInlTMeaw403R44erOkxi2voi0zN7ZS+Q3C8iiEEe yWEQoCAN46BrhvAaPQbTuqUgoJpAvndIivHkwp7R3stC3Fkx3cD56FnTMDfIhB+gYB12 Q2tAt5tPRx065NJnQb/djcSa677kjtWYo5ek7NLIW3Db5d1W7ZW9WOPmNbp6COBgYYKS A/AJz6RODd+BnVA0JSN3N+NR0UVLJegj+LN5r3SVzfbT66UQB7nD6EvMQS41OQSd5lRE jfjg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bVuV99UDH0Uc6Fajpn3FL5ACcGlrbDmP9zEkdQLatMM=; b=uBffgH6Nwr7gCTupLO48F7F+R6hqKyySrpJf6fvgDdCZqft+hAi1azee1ZT2nbfLtE d+pOgER46vEsoN9KmvHr+Rek3ndIjg9QhfoX2acR+8eQHnRQTF4H/DRd555nl05wxMk7 WvngrSCVb250bvQOwI1N63ZYpjkmUjGYMAkwDlx9esAKZp8z4BNlD0hCb572q3yGzKZT j/I5Yy2J/BcMeuq3dJXi6bhzZ7AEl3Qa7N6Axj1UT4LNafEpOpgqdnraXW5AHArQ1v9P NNy9TltpJDk2mrluY0itRk+maIvgREPYUofAcLG9c0S6/774WXEfP6q3YHGKJMCLJi1I XpmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oYCZkk0I; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t16si5490958edc.448.2021.03.08.04.35.51; Mon, 08 Mar 2021 04:35:51 -0800 (PST) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oYCZkk0I; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229637AbhCHMfR (ORCPT <rfc822;semen.protsenko@linaro.org> + 13 others); Mon, 8 Mar 2021 07:35:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:43756 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229950AbhCHMes (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 8 Mar 2021 07:34:48 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D9D5D651C9; Mon, 8 Mar 2021 12:34:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615206887; bh=ym8wd/Ubr9g/GbZG3aJ84RYjH82G13HigPDID7JJF6c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oYCZkk0Iefqrm74tNw0WNV+NkgMGWHjWsJXnKMR1pPCIgcBlbmLxKsNVpg2Cb036G Bc1pOn+rWE70wk9TBJ7fNdajyA+zrh6Vf5WhEYvol3x25KMF8fUVzcmZSmNndrq8vg kuIFWMaI3StGiKKd/W9X7Qmjp/T/UUKtC0gXmMPs= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, kernel test robot <lkp@intel.com>, Catalin Marinas <catalin.marinas@arm.com>, Jing Xiangfeng <jingxiangfeng@huawei.com> Subject: [PATCH 5.10 40/42] of: unittest: Fix build on architectures without CONFIG_OF_ADDRESS Date: Mon, 8 Mar 2021 13:31:06 +0100 Message-Id: <20210308122720.062508474@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210308122718.120213856@linuxfoundation.org> References: <20210308122718.120213856@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/drivers/of/unittest.c +++ b/drivers/of/unittest.c @@ -874,6 +874,9 @@ static void __init of_unittest_dma_get_m struct device_node *np; phys_addr_t cpu_addr; + if (!IS_ENABLED(CONFIG_OF_ADDRESS)) + return; + np = of_find_node_by_path("/testcase-data/address-tests"); if (!np) { pr_err("missing testcase data\n");