From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932427AbeAWXPX (ORCPT ); Tue, 23 Jan 2018 18:15:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38198 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932273AbeAWXPW (ORCPT ); Tue, 23 Jan 2018 18:15:22 -0500 Message-ID: <1516749321.2957.44.camel@redhat.com> Subject: Re: [PATCH] c6x: fix platforms/plldata.c get_coreid build error From: Mark Salter To: Randy Dunlap , LKML Cc: Ingo Molnar , linux-c6x-dev@linux-c6x.org, Aurelien Jacquiot , Fengguang Wu Date: Tue, 23 Jan 2018 18:15:21 -0500 In-Reply-To: <2fe9d4b5-ad6b-8d64-9dc5-4440e23948fc@infradead.org> References: <2fe9d4b5-ad6b-8d64-9dc5-4440e23948fc@infradead.org> Organization: Red Hat, Inc Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-01-19 at 11:19 -0800, Randy Dunlap wrote: > From: Randy Dunlap > > Fix build error reported by the 0day bot by including the header > file for that macro. Thanks. I pulled this into the c6x tree. > > Fixes this build error: (should fix; not tested) > arch/c6x/platforms/plldata.c: In function 'c6472_setup_clocks': > arch/c6x/platforms/plldata.c:279:33: error: implicit declaration of function 'get_coreid'; did you mean 'get_order'? [-Werror=implicit-function-declaration] > c6x_core_clk.parent = &sysclks[get_coreid() + 1]; > > Reported-by: Fengguang Wu > Cc: Mark Salter > Cc: Aurelien Jacquiot > Cc: linux-c6x-dev@linux-c6x.org > Cc: Ingo Molnar > > Signed-off-by: Randy Dunlap > --- > arch/c6x/platforms/plldata.c | 1 + > 1 file changed, 1 insertion(+) > > --- lnx-415-rc8.orig/arch/c6x/platforms/plldata.c > +++ lnx-415-rc8/arch/c6x/platforms/plldata.c > @@ -19,6 +19,7 @@ > > #include > #include > +#include > #include > > /* >