Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3373920imm; Fri, 25 May 2018 04:45:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrpbp2xFgK4OSPn6ScaR+ET7RauWt1MLuuZuX82nVPh949vnqjWoDXEbBo1N5je9EyosVa8 X-Received: by 2002:a63:7253:: with SMTP id c19-v6mr1763547pgn.423.1527248754318; Fri, 25 May 2018 04:45:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527248754; cv=none; d=google.com; s=arc-20160816; b=da9Hkoz2BhNYnjDuIsPF9+ZtX5tmDaskuUBM277WXrw62lK/BN5A8ClwMMMYnxDPue UuxHRKe5hrpy1H8/HZgLnZt21uqHMRKadKx+zzYsYlrLUYkNtUGf2a7KazpVmQ5zwngN 9OZLul2KFl8kMQTdl7t9ZaR4uliCdxOsH6aKbZSbAafKAfNHwzpM5NtzMoH5Jmcqgrk0 PyDoR7JvNMbCQCG30L+cF/IWnkbISZtbdu+gyaa2/WMjRbjyH/m70/w3Q21UdhSUNpVP yvtr2WpyN+QpXMkiphohnyyV4T2qw/lMLa5Oed70L0S15ctYmtad6pLwl0N+J7RlPRsO 7r6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to:arc-authentication-results; bh=EMuFlM8HzczvmVin86F3N5NWme2CbXFsGlQEnuFf5NM=; b=uTzTMC7v0sUchhZ3xYlsP9zQybizNddyxAj/X0jhY9VhEA99mbZzw4VqV9JXClznIZ 4n3R6b937OZ7r16hAw7wPSpa99zqNYLJIygXvhxbJUXsXccEgEwzSS3FDJSiw9C2EpkQ JXvpN/WXfJ7XTBUPvLkwBnlS4v7KrtYwDFqTxzHw+zO69/BEE+GHuIXeW5FH8ZwlRHHr NDm5njAhd2i184Wr6ic31PXvs3181VE4qtEzsidu8Bw2bhBRyccYl2fZcj2+JfMCR6/t eA9Ij9Pdx4d00MZ13Bpi+yCg5EbW09OhQo1/EMARljxgaqPZMDVTSwkLitO0edRg3OEj OHqg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b84-v6si25759664pfb.189.2018.05.25.04.45.39; Fri, 25 May 2018 04:45:54 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966612AbeEYLlj (ORCPT + 99 others); Fri, 25 May 2018 07:41:39 -0400 Received: from ozlabs.org ([203.11.71.1]:37551 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966591AbeEYLlg (ORCPT ); Fri, 25 May 2018 07:41:36 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 40skqM1f95z9s3X; Fri, 25 May 2018 21:41:34 +1000 (AEST) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: bd13ac95f954570e01fba5a6caf771da754ac0e3 In-Reply-To: <20180404201028.27621-1-malat@debian.org> To: Mathieu Malaterre From: Michael Ellerman Cc: Mathieu Malaterre , linux-kernel@vger.kernel.org, Paul Mackerras , linuxppc-dev@lists.ozlabs.org Subject: Re: [v3,19/19] powerpc/tau: Synchronize function prototypes and body Message-Id: <40skqM1f95z9s3X@ozlabs.org> Date: Fri, 25 May 2018 21:41:34 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-04-04 at 20:10:28 UTC, Mathieu Malaterre wrote: > Some function prototypes and body for Thermal Assist Units were not in > sync. Update the function definition to match the existing function > declaration found in `setup-common.c`, changing an `int` return type to a > `u32` return type. Move the prototypes to a header file. Fix the following > warnings, treated as error with W=1: > > arch/powerpc/kernel/tau_6xx.c:257:5: error: no previous prototype for ‘cpu_temp_both’ [-Werror=missing-prototypes] > arch/powerpc/kernel/tau_6xx.c:262:5: error: no previous prototype for ‘cpu_temp’ [-Werror=missing-prototypes] > arch/powerpc/kernel/tau_6xx.c:267:5: error: no previous prototype for ‘tau_interrupts’ [-Werror=missing-prototypes] > > Compile tested with CONFIG_TAU_INT. > > Suggested-by: Christophe Leroy > Signed-off-by: Mathieu Malaterre Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/bd13ac95f954570e01fba5a6caf771 cheers