From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936227AbcIROoP (ORCPT ); Sun, 18 Sep 2016 10:44:15 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:39076 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935524AbcIROoO (ORCPT ); Sun, 18 Sep 2016 10:44:14 -0400 Subject: Re: [PATCH] avr32: fix 'undefined reference to `___copy_from_user' To: Hans-Christian Noren Egtvedt References: <1474124194-17763-1-git-send-email-linux@roeck-us.net> <20160918094643.GA25728@samfundet.no> Cc: =?UTF-8?Q?H=c3=a5vard_Skinnemoen?= , Linux Kernel , Al Viro From: Guenter Roeck Message-ID: <41b00457-58e5-610d-22d4-89a9d6fffa3a@roeck-us.net> Date: Sun, 18 Sep 2016 07:44:10 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160918094643.GA25728@samfundet.no> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Authenticated_sender: linux@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: linux@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: linux@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/18/2016 02:46 AM, Hans-Christian Noren Egtvedt wrote: > Around Sat 17 Sep 2016 13:09:17 -0700 or thereabout, Guenter Roeck wrote: >> On 09/17/2016 09:52 AM, Håvard Skinnemoen wrote: >>> On Sat, Sep 17, 2016 at 7:56 AM, Guenter Roeck wrote: >>>> avr32 builds fail with: >>>> >>>> arch/avr32/kernel/built-in.o: In function `arch_ptrace': >>>> (.text+0x650): undefined reference to `___copy_from_user' >>>> arch/avr32/kernel/built-in.o:(___ksymtab+___copy_from_user+0x0): undefined >>>> reference to `___copy_from_user' >>>> kernel/built-in.o: In function `proc_doulongvec_ms_jiffies_minmax': >>>> (.text+0x5dd8): undefined reference to `___copy_from_user' >>>> kernel/built-in.o: In function `proc_dointvec_minmax_sysadmin': >>>> sysctl.c:(.text+0x6174): undefined reference to `___copy_from_user' >>>> kernel/built-in.o: In function `ptrace_has_cap': >>>> ptrace.c:(.text+0x69c0): undefined reference to `___copy_from_user' >>>> kernel/built-in.o:ptrace.c:(.text+0x6b90): more undefined references to >>>> `___copy_from_user' follow >>>> >>>> Fixes: 8630c32275ba ("avr32: fix copy_from_user()") >>>> Cc: Al Viro >>>> Signed-off-by: Guenter Roeck >>> >>> Right, gmail loves HTML. Let me try this again... >>> >>> Acked-by: Havard Skinnemoen > > Acked-by: Hans-Christian Noren Egtvedt > >>> Thanks! >>> >> You are welcome ... I'll wait until tomorrow to see if Al wants to send this >> patch and the patch for the openrisc failure to Linus; if I don't hear back, >> I'll do it myself. > > Thanks, I have no other fixes for AVR32. But let me know if you want me to > push it through linux-avr32. > I have another related fix (for openrisc), so let me just send both. I'll do that in an hour or so. Thanks, Guenter