From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752529AbbGWMlj (ORCPT ); Thu, 23 Jul 2015 08:41:39 -0400 Received: from mail.tpi.com ([74.45.170.26]:33427 "EHLO mail.tpi.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752308AbbGWMld (ORCPT ); Thu, 23 Jul 2015 08:41:33 -0400 X-Greylist: delayed 1720 seconds by postgrey-1.27 at vger.kernel.org; Thu, 23 Jul 2015 08:41:33 EDT Message-ID: <55B0DA42.2050704@canonical.com> Date: Thu, 23 Jul 2015 06:12:50 -0600 From: Tim Gardner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [4.2-rc3] macintosh/ans-lcd.c: Missing include causes compile failure References: <20150723101844.9D3F0140D19@ozlabs.org> In-Reply-To: <20150723101844.9D3F0140D19@ozlabs.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/23/2015 04:18 AM, Michael Ellerman wrote: > On Mon, 2015-20-07 at 19:01:42 UTC, Tim Gardner wrote: >> From: Tim Gardner >> >> drivers/macintosh/ans-lcd.c:201:1: warning: data definition has no type or storage class >> module_init(anslcd_init); >> ^ >> drivers/macintosh/ans-lcd.c:201:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int] >> >> gcc version 4.9.3 (Ubuntu 4.9.3-1ubuntu1) > > Thanks Tim but Luis beat you to it: > > http://patchwork.ozlabs.org/patch/497138/ > > > I'll send the fix to Linus in the next day or two. > > cheers > No problem. It looks like a better fix then mine anyway. rtg -- Tim Gardner tim.gardner@canonical.com