Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3794561ybi; Mon, 29 Jul 2019 12:45:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqxeaSGhFi2NIpSShUU+9mzx/9AN4+H/wpKkssN5tnKwaRse94wqDZ7TVJqf0ScBgZXClkdm X-Received: by 2002:a17:902:8d97:: with SMTP id v23mr108885196plo.157.1564429552001; Mon, 29 Jul 2019 12:45:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564429551; cv=none; d=google.com; s=arc-20160816; b=p/VdDHsJPpr69TZ3PMGWoNxOJZnzYDOMnTEpsdHn332o11K/R828biEcHYBWcLhc8Z XZGLnPBErRc8jKI8XodQtkzOp6P4hiDRzGoKht0aopYuwQpRQvFTMPefZODU+U0sL/EO ALSPnmvQxT7sBDI0A7KsdIliL9NhEHCwdtN9hTag7AubztqulRvUGWAqm/RY+JZsUlmn 33QaMJ6kRc6kdBgbGLp0LzW0vdCWekscMUO79OK4Wr5nA5GqD7dp1hjTSQc915NMfney lVHoIODtOIJ1QySrcBTf4YJp24YZBa64pMarHL1jef02+lB5zsbMOiITlIWgHA9wlN6s Q6OA== 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=e0SPbn9jawXAn1gUGfHaRcr6/gGm6JtC9pIW4u2aRC8=; b=G3XumGlqIb7iSiuHPR3yXvagDyv4Ta9yshVzQXD1kpUSiUx/hl2UG7sFQD8o+dlHDc rPoa4lhBhjY5aewvEo8+/e/huuUdWWxiToaxWNlFU8uINeWPuxdC1l8t6AF+kbQsHFOM 9dBPTL2keiRpIwXiZIs3z1XveM+qSTPmOEetu3rov0ua1Tx7ixKWblRMYLpDLXkYw543 1vT3S5zjZt3yQ5j5GOSRSJYHE9d4cqWVImu05u9WuNpLoZgALARxy+M4mBT4P5fTKKBB O2wQc61XTTSHHPApQJDdkiTqkA6pnaiODLy9M01ekk5u+owL/L8gCYvRxbCyDP/Ky2w8 93eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DA25LkEQ; 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 m15si27498413pff.267.2019.07.29.12.45.37; Mon, 29 Jul 2019 12:45:51 -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=DA25LkEQ; 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 S2389266AbfG2ToY (ORCPT + 99 others); Mon, 29 Jul 2019 15:44:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:32914 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389782AbfG2ToV (ORCPT ); Mon, 29 Jul 2019 15:44:21 -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 43C742054F; Mon, 29 Jul 2019 19:44:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564429460; bh=YigfFDnmjzRzlG0TXoyYJNv0M+tq3HrAyYwfziZy7w4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DA25LkEQC+pqjb7Wh5TdxS63nH0ifhPszCi8rKXlB8YhstRYLZyG31A0yaKQh0Ml6 kVNWdM+tkQ3CiEi8WSIKQuSnEmmK/wd9rsPLU7QuGD1DiTMoN6ZBu1zX6DtgySrAWv O1dk0WWG/gVHx8XVCaZhN5PbFK36bAiBks5vsrDU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hulk Robot , YueHaibing , Moritz Fischer Subject: [PATCH 4.19 104/113] fpga-manager: altera-ps-spi: Fix build error Date: Mon, 29 Jul 2019 21:23:11 +0200 Message-Id: <20190729190720.313071536@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190729190655.455345569@linuxfoundation.org> References: <20190729190655.455345569@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: YueHaibing commit 3d139703d397f6281368047ba7ad1c8bf95aa8ab upstream. If BITREVERSE is m and FPGA_MGR_ALTERA_PS_SPI is y, build fails: drivers/fpga/altera-ps-spi.o: In function `altera_ps_write': altera-ps-spi.c:(.text+0x4ec): undefined reference to `byte_rev_table' Select BITREVERSE to fix this. Reported-by: Hulk Robot Fixes: fcfe18f885f6 ("fpga-manager: altera-ps-spi: use bitrev8x4") Signed-off-by: YueHaibing Cc: stable Acked-by: Moritz Fischer Link: https://lore.kernel.org/r/20190708071356.50928-1-yuehaibing@huawei.com Signed-off-by: Greg Kroah-Hartman --- drivers/fpga/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/drivers/fpga/Kconfig +++ b/drivers/fpga/Kconfig @@ -39,6 +39,7 @@ config ALTERA_PR_IP_CORE_PLAT config FPGA_MGR_ALTERA_PS_SPI tristate "Altera FPGA Passive Serial over SPI" depends on SPI + select BITREVERSE help FPGA manager driver support for Altera Arria/Cyclone/Stratix using the passive serial interface over SPI.