Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp19751rdb; Wed, 23 Aug 2023 19:30:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEy3fedf7i6k5Am/6DMFtggQ2axCNazZ68VY5L2/Iirzbn6sQ3zkVXsUmoMkuPLEhtFOpr4 X-Received: by 2002:a05:620a:2fb:b0:76d:b289:4bb5 with SMTP id a27-20020a05620a02fb00b0076db2894bb5mr7336572qko.22.1692844258023; Wed, 23 Aug 2023 19:30:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692844257; cv=none; d=google.com; s=arc-20160816; b=XGBH7oijFsfOCDp9kBIJUp5qB4/0DF0AvT4FQgyrYJIm7f5CCK1XS1ws7alvK9s1MZ 7MNDrd2Z2mMj/uDBVs8jTECV1tWvJeWXVfR8YqdKjQj8XwNT8utsqQQ6bV6tf+tvQIFH AjI04723+6umQ8Wzoxzk8s3zIWq6FgV+OLIzajrnSAGrKlQ9x9zcwsrdwRxKPYbg+Hyi jcpqKoYsfXDpwOtk9Gux3mZF8VyYnbFGRK0wpIIjmm1/uxSo5m3U4BxgHrfFVvEvikjr NkLAktagrYCNu8sZK7zLh9RtSNWhicIqlsFTArzAqY7WBREgTCosLofaKbtZdQsN7s9O +L9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=zn9msDJwtWBvd0ulpRNQn1nj3AZDQsYOPsg8WAYk2cg=; fh=Zm2KGepvnPRdsTS3b8hrTSf4dCs6WFA/vjupwktL/bs=; b=WZ+wIch+9FH0QHaWxSfwCGaJbxIoD1I+YlEJq2v9ygv8stHuCxJdHtyoyXSXh6JcEM pp39ndVTOfdgmppKrabhRQ1MDPISBiwb0YFpFkpugCC20/NpFRJyhQhkCCzpQmSJ4Mmh wIoLfip6hEklQP/CxD3eBjit/4EzRcqRYF+y06d1KnFUX06HZg1jou34vCdasQV/+FrJ gFkzrwDpwU1VfHWcJ5+FKKY2lQrot73Tw0BzOpDullht7I0xa+2lbfRI0ufAgBincQse Ai0wJTmCMcYBOngahw40JGzqwHbAmkY0M4fQe0crp/sB1g8VI3cLwETtaLAHlvgBNg3G v/Fw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i69-20020a639d48000000b0056c3ee09b75si6343745pgd.563.2023.08.23.19.30.34; Wed, 23 Aug 2023 19:30:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234704AbjHWMER (ORCPT + 99 others); Wed, 23 Aug 2023 08:04:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234645AbjHWMDw (ORCPT ); Wed, 23 Aug 2023 08:03:52 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3644E63 for ; Wed, 23 Aug 2023 05:03:50 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4RW4cj44xXz4x2J; Wed, 23 Aug 2023 22:03:49 +1000 (AEST) From: Michael Ellerman To: Nicholas Piggin , Christophe Leroy Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Arnd Bergmann In-Reply-To: <0aa1141e18a84d926e199093204b37ec993f0c87.1692275185.git.christophe.leroy@csgroup.eu> References: <0aa1141e18a84d926e199093204b37ec993f0c87.1692275185.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH] powerpc/8xx: Remove init_internal_rtc() to fix no previous prototype error Message-Id: <169279175575.797584.8768847213468834876.b4-ty@ellerman.id.au> Date: Wed, 23 Aug 2023 21:55:55 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 17 Aug 2023 14:26:45 +0200, Christophe Leroy wrote: > A W=1 build of mpc885_ads_defconfig throws the following error: > > CC arch/powerpc/platforms/8xx/m8xx_setup.o > arch/powerpc/platforms/8xx/m8xx_setup.c:41:1: error: no previous prototype for 'init_internal_rtc' [-Werror=missing-prototypes] > 41 | init_internal_rtc(void) > | ^~~~~~~~~~~~~~~~~ > > [...] Applied to powerpc/next. [1/1] powerpc/8xx: Remove init_internal_rtc() to fix no previous prototype error https://git.kernel.org/powerpc/c/4531f128eac356144545b833908b6ffbc0292e16 cheers