Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753584Ab0AHPjF (ORCPT ); Fri, 8 Jan 2010 10:39:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752465Ab0AHPjD (ORCPT ); Fri, 8 Jan 2010 10:39:03 -0500 Received: from lazybastard.de ([212.112.238.170]:39013 "EHLO longford.logfs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752214Ab0AHPjB (ORCPT ); Fri, 8 Jan 2010 10:39:01 -0500 Date: Fri, 8 Jan 2010 16:21:22 +0100 From: =?utf-8?B?SsO2cm4=?= Engel To: Maxim Levitsky Cc: linux-kernel , linux-mtd , Alex Dubov Subject: Re: [PATCH 2/9] MTD: create lockless versions of {get,put}_mtd_device Message-ID: <20100108152119.GB31872@logfs.org> References: <1262963092.12577.14.camel@maxim-laptop> <1262963198.12577.16.camel@maxim-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1262963198.12577.16.camel@maxim-laptop> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 617 Lines: 22 On Fri, 8 January 2010 17:06:38 +0200, Maxim Levitsky wrote: > > + err = __get_mtd_device(ret); Function is called here, afaics not declared and defined... > [...] > +int __get_mtd_device(struct mtd_info *mtd) ...further below. Didn't gcc complain about this? Or am I missing something? Jörn -- Luck is when opportunity meets good preparation. -- Chinese proverb -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/