Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3375657imm; Fri, 25 May 2018 04:47:46 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpQWHt/CaWxhHOZrYyTJcP9Dq/7eYWWk+xRQuUbf8OgF5Cuo02WW/MJB+iTR8EuYHokE0tF X-Received: by 2002:a63:715d:: with SMTP id b29-v6mr1659387pgn.325.1527248866115; Fri, 25 May 2018 04:47:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527248866; cv=none; d=google.com; s=arc-20160816; b=rZSMSuLW77wjp4NNxy87jdLJNIGITtVq3L0CnhCRJWru4LgglMeUtjNE11hBR4yq6d DGzfuiso2NhlH4tDrBq0IMnEpKXqSUx0GA+6E07sDdDLpuWb/SDRUnQ6MQXct9eheBTe TmehKkzhC1BE/u+jExAU4IlKRUh1Xi04Xa9z4HJNI1GVr8KVey4IZlZV7rP1KsCfbuIw iWXQ0PlN/IfkhCrshor6vwIbcOEMByr48ftS7i/z7Y/LTm+hur2bwPyTUZHM8WSkAODE DIu0VmtH9jNTNpxBzMYTLZGYL85NVoBr5KsiKF933RKb2Z2UzDv9r7r3/sMmFMkb8YcB RzMg== 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=OXcw3XbQpGnmydF+4i935NVpi7grfdaZodYPnNFnklg=; b=O84Fm5LKDW8ZJfOBrdAyCxpn9A/mL+yBXB05bcqfVe+f0SOqrpsEhBFfKo7Rowl0ih c4JbxaVpEnpYw/knhlQ39/SJAJbSPay2CQmIKz/O/u7DMA4qBWIUqSd+gAqC4qzvJlHW PPfloVMOyAmQb3gtOxFc8ly9cGgiFLidh/Nio0yhjFQRDDEVAgMlAE/4PqLnXlJbGySn 4rObVzPC4/6QDbg4l1ccVfuqz+DJCkt/kQvym22aZpYFjVNiqjhdSMotCuJ7o8J5kubP cl4US/1X6yciOXD8wS/DMB3wQASQYqAur2HRfke6fsa5myFFUnU26TCBk9ehVczZsnS1 YMtg== 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 y12-v6si22325281pfl.283.2018.05.25.04.47.31; Fri, 25 May 2018 04:47:46 -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 S966762AbeEYLqH (ORCPT + 99 others); Fri, 25 May 2018 07:46:07 -0400 Received: from ozlabs.org ([203.11.71.1]:60253 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966505AbeEYLla (ORCPT ); Fri, 25 May 2018 07:41:30 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 40skqD3Yvlz9s2k; Fri, 25 May 2018 21:41:27 +1000 (AEST) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: f0e0b86638e9df6731b1d61c71ae180224664107 In-Reply-To: <20180404200911.27506-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, 05/19] powerpc/chrp/setup: Remove idu_size variable and make some functions static Message-Id: <40skqD3Yvlz9s2k@ozlabs.org> Date: Fri, 25 May 2018 21:41:27 +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:09:11 UTC, Mathieu Malaterre wrote: > Remove variable declaration idu_size and associated code since not used. > > These functions can all be static, make it so. Fix warnings treated as > errors with W=1: > > arch/powerpc/platforms/chrp/setup.c:97:6: error: no previous prototype for ‘chrp_show_cpuinfo’ [-Werror=missing-prototypes] > arch/powerpc/platforms/chrp/setup.c:302:13: error: no previous prototype for ‘chrp_setup_arch’ [-Werror=missing-prototypes] > arch/powerpc/platforms/chrp/setup.c:385:16: error: variable ‘idu_size’ set but not used [-Werror=unused-but-set-variable] > arch/powerpc/platforms/chrp/setup.c:526:13: error: no previous prototype for ‘chrp_init_IRQ’ [-Werror=missing-prototypes] > arch/powerpc/platforms/chrp/setup.c:559:1: error: no previous prototype for ‘chrp_init2’ [-Werror=missing-prototypes] > > Suggested-by: Christophe Leroy > Signed-off-by: Mathieu Malaterre Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/f0e0b86638e9df6731b1d61c71ae18 cheers