[lkml]   [2018]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [13/21] powerpc: Add missing prototype for arch_dup_task_struct
On Sun, 2018-02-25 at 17:22:28 UTC, Mathieu Malaterre wrote:
> In commit 55ccf3fe3f9a ("fork: move the real prepare_to_copy() users to
> arch_dup_task_struct()") a new arch_dup_task_struct was added without a
> prototype declared in thread_info.h header. Fix the following warning
> (treated as error in W=1):
> CC arch/powerpc/kernel/process.o
> arch/powerpc/kernel/process.c:1609:5: error: no previous prototype for ‘arch_dup_task_struct’ [-Werror=missing-prototypes]
> int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
> ^~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> Signed-off-by: Mathieu Malaterre <>

Applied to powerpc next, thanks.


 \ /
  Last update: 2018-03-14 10:33    [W:0.333 / U:2.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site