Received: by 10.223.176.46 with SMTP id f43csp17500wra; Tue, 23 Jan 2018 15:15:59 -0800 (PST) X-Google-Smtp-Source: AH8x227+ocYckpeezMT3qzhZhx6uMKw4fGLaF1A3FF2YAMXoxB9iLNElmUan6g7qvWRuNuNKNGRI X-Received: by 10.36.151.6 with SMTP id k6mr6288559ite.94.1516749359217; Tue, 23 Jan 2018 15:15:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516749359; cv=none; d=google.com; s=arc-20160816; b=mi4KTll99m5AoZ9rV2da1ynt9JL86qakRkm/uXpV7EdWI2ywWxabbIyh3XQUMl5LCg WDvVfp5jDx/kMkGSrl4tezV0oCLbSHpcrWcEd89bMmW8SpgjTUyCopiU6bTOCTlua0j1 ogWucuF9jbgLSUpd/6SMPMeHr1Nh0OJ2hXLa8dUWMG3NXBJwZ2ENLMThAz/2u6Q9xJy9 OjpZH2yZ5p02zcNIQ4JUsSN1hGpMSwSrpeG9sg2PAsbRibc7stNzzSRc684yBl8o/TiL gTtGvkbvCXySwCZiPghhbOKfXsNBu+pZfw0eH7tnuyqYCaLQKcNefj4kxdjh85C9ASzK 8wTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=KVy5jmkCRntonmUZYKmty9RADfh/rjswirQGHPYnsWY=; b=rK21vcf9kO52TGx2rC7Y8Cf71U/+gKxLmY190BxwUZEs2mqx2KsaU430LjIW9+N/0A 7L0R6z4Gpl4/urVE1PAv+KqBIwC71iav4HstpbIkf12JyS8hNGW6uOEstI9srXkYnFET Jdh1tQAQabmKJxqgXh/aRvLv3FYmq/AnczsamAMR8lvgf42aMYiSsfy533rV8s7NnpuX XaJrMvydYK7Y/aTGFo63g8UubiOwwkcUb4405bLLf+jo8dtbaGJLGlISqhqQ41HpRmU+ AUI3y66MJMjETjuNIH6gyIyEkwK0u6/FcV/fnRAIwgfOdVxh8uchmEZrjHXvqU73ZlFy 9gSA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k64si5707299ioe.158.2018.01.23.15.15.45; Tue, 23 Jan 2018 15:15:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932410AbeAWXPX (ORCPT + 99 others); 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 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 871FC4D2F8; Tue, 23 Jan 2018 23:15:22 +0000 (UTC) Received: from ovpn-120-34.rdu2.redhat.com (ovpn-120-34.rdu2.redhat.com [10.10.120.34]) by smtp.corp.redhat.com (Postfix) with ESMTP id A805C18516; Tue, 23 Jan 2018 23:15:21 +0000 (UTC) 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 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 23 Jan 2018 23:15:22 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk 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 > > /* >