Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751660AbdFINSx (ORCPT ); Fri, 9 Jun 2017 09:18:53 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:59985 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751527AbdFINSt (ORCPT ); Fri, 9 Jun 2017 09:18:49 -0400 X-Auth-Info: 9JDf4qsVNiDB4mfXYgGgDhkJYl3pxw11kf0LyYBxgVU= Date: Fri, 9 Jun 2017 15:18:40 +0200 From: Anatolij Gustschin To: Greg Kroah-Hartman Cc: Alan Tull , linux-kernel@vger.kernel.org, linux-fpga@vger.kernel.org, Moritz Fischer , delicious.quinoa@gmail.com, Joshua Clayton Subject: Re: [PATCH 06/10] fpga manager: Add altera-ps-spi driver for Altera FPGAs Message-ID: <20170609151840.2ea43706@crub> In-Reply-To: <20170609095112.GA24855@kroah.com> References: <20170605190741.10508-1-atull@kernel.org> <20170605190741.10508-7-atull@kernel.org> <20170609095112.GA24855@kroah.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 480 Lines: 17 On Fri, 9 Jun 2017 11:51:12 +0200 Greg Kroah-Hartman gregkh@linuxfoundation.org wrote: ... >I get the following build error with this patch: > >ERROR: "__spi_register_driver" [drivers/fpga/altera-ps-spi.ko] undefined! it is due to enabled COMPILE_TEST and disabled CONFIG_SPI. >So I'll just ignore this whole series, can you fix these issues up and >resend? would "depends on SPI || (COMPILE_TEST && SPI)" in Kconfig be a proper fix for this? Anyone an idea? Thanks, Anatolij