From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756665AbbE2RIc (ORCPT ); Fri, 29 May 2015 13:08:32 -0400 Received: from mail-pd0-f179.google.com ([209.85.192.179]:34425 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753184AbbE2RIY (ORCPT ); Fri, 29 May 2015 13:08:24 -0400 Date: Fri, 29 May 2015 10:08:18 -0700 From: Brian Norris To: Arnd Bergmann Cc: Denys Vlasenko , linux-mtd@lists.infradead.org, Dan Carpenter , David Woodhouse , Artem Bityutskiy , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: use cfi-util in jedecprobe Message-ID: <20150529170818.GU27753@ld-irv-0074> References: <7230287.A5AxNMN3qP@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7230287.A5AxNMN3qP@wuerfel> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Fri, May 29, 2015 at 10:39:28AM +0200, Arnd Bergmann wrote: > A recent change to move cfi helper functions out of line > is causing build errors when cfi-util is a loadable module > and jedecprobe is built-in: > > drivers/built-in.o: In function `jedec_reset': > (.text+0x140694): undefined reference to `cfi_send_gen_cmd' > drivers/built-in.o: In function `jedec_probe_chip': > (.text+0x140794): undefined reference to `cfi_build_cmd_addr' > > This adds a 'select' for the module containing these functions > from the jedecprobe code, to ensure it is always reachable. > > Signed-off-by: Arnd Bergmann > Fixes: 4612c715a6ea6 ("mtd: cfi: deinline large functions") Already caught and fixed: http://patchwork.ozlabs.org/patch/477464/ Thanks!