Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4338619ybi; Tue, 30 Jul 2019 00:12:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqx25LLgzbTW0JCJuCz0u2KNGzxjd2Dz6J03X5f15joxnRHK6y71JFHjBmTt5aUOkCvf0crb X-Received: by 2002:aa7:8e17:: with SMTP id c23mr40629411pfr.227.1564470771424; Tue, 30 Jul 2019 00:12:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564470771; cv=none; d=google.com; s=arc-20160816; b=J7J9tgjyOsKx8tXlyYA2V4446VKekLRJBOCPRTVTYDT6a4B8SNLZRBtFQesTGAlQry fbEP93WVSbmjSzD0Z2pdT+Cbo54iM4qNDUlNwye1wpKuHBifhAiuhF+2GyOO4Vrm4a4H mHxFSJTRK/0O3RImhJd0dhaEbnjzhPSD1nRP5yotMxnHqUlOCjHCMH97vIiToxQQEgVy iJvvFIyMKkppZ4HUiIxkbQWFKarL6nw4jYsjFdjZP89wp6ZpedSoVJVyVdEAMdRxO9TO WRbr+GQGPT+kZblojyaIfTP5NM4ST3a/l1Y+bkLuSmtXcGx/3yogC9E22Lt11A98jwDz ceTg== 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=5FJQyUe25DtUnBUUvMbMo5vw2TI+MmX0ChU2XAmwf+A=; b=R/xO2NDMwWjpivS5T2rsyC+XcxkFKxYnfj7T4XSsFGuoMo1m3qDiWPuMkYWD4QcmHp AZDg1JifMfcSGMXkAaakOFU0bcHVV1m1cJsjhdUuUNUoR80O1cwBhZxlmnpgwjC0zYp5 GsjxcJFv2IQOuF8XAcaA3ZxQQ2Mg9CbO6h0+Re6goGa9l4686+Q3MlOVj2/iii6VXFVB GdGmkdD4Xt2KbxDSbnLyZTVDjEvwVldXwYu3uTB5OtjLYEqBdTshTjWRRT/l488b+Lk6 MidAcLz+f5W4odYeIb4um0Gj0GXLsXu+nvn64rZxDFrj1TY50LpDM7xYNyWnI+s8uTmA 6bfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QstDM+oP; 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 i4si25802917pgj.558.2019.07.30.00.12.36; Tue, 30 Jul 2019 00:12: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=QstDM+oP; 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 S2391035AbfG2T5V (ORCPT + 99 others); Mon, 29 Jul 2019 15:57:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:47182 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404060AbfG2Tyb (ORCPT ); Mon, 29 Jul 2019 15:54:31 -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 4FD832054F; Mon, 29 Jul 2019 19:54:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564430070; bh=hM3Cw06sG+uY9q8n7DVamsw6wKd9UJaB/2X3M9tvu20=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QstDM+oPVmkYE+ltiX84k6DTKUVlvSWalygPy6zLR+Eh2waE/nJC+fTxOxZI8dYEj jD0eFgXNO/Nyfe6LE3Psol4XSP+roFiRraqIlq0hXkFPRcLHH/QusL4qmWo2nWZq2i cfKE8Y0coph4v7EFtn/8lTAJWvx97K4fzvmx/O84= 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 5.2 186/215] fpga-manager: altera-ps-spi: Fix build error Date: Mon, 29 Jul 2019 21:23:02 +0200 Message-Id: <20190729190812.422865445@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: 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 @@ -40,6 +40,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.