Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp732471imm; Thu, 13 Sep 2018 06:59:58 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZjcyf5wGFWR3E9oDxMh/c9rVNKHZolDyc43WKhRImefhzlCSN+gtV3HfRUY4/lD7zb+AcM X-Received: by 2002:a62:12c7:: with SMTP id 68-v6mr7665700pfs.216.1536847198235; Thu, 13 Sep 2018 06:59:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536847198; cv=none; d=google.com; s=arc-20160816; b=ZZP6u8vmo73HAFnzAIggRxvVKgMW3d+g6aFOySeCxN4auRjaIVsz5Ly7h477e4r4Lc RdcUhx4Xg4GyiKMA+g2vm8oJ1cbsG2Ww/2b1AQ0Rrd+yr7FZ9OV7frlcUt0fyLvH3OcJ NPEUVQTFcFspglIWbS+M7zhzWcNJCF7s0tSOsnXk1hMX2JhFeTitkSKKGGE38riY5M4b FkaUmLUfnj2ofkAiYTa+cJlsTunpeJuyWgIxkcRgkl20GP0vtZWn8c9x2wkLEHX0zoK0 nnnvXsJWj4ZjwDTcpELW8D3zn6ohrM/H7X1ThSzSXYPiieEDSrwmUkVu0nx1xh4cF4aK rD0g== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=PP9IJ3fjUa/nyVDmFuBaGOvHyp5bkf7VSJoTbtnTObc=; b=RWgfS2e+JYXOsF/lCE0s0peUUBxZej2KPKSxCulKXPSHY00j5oqR66DP39TkMQj90o uixczcmHIfO390B6qkPVXzOzh6l0s/2VyVT7d9j4l8XRUtjdAU718q78hjHknmEbBr3h 165n9e0UlptDWSwrGSwYlte6TODxwgWtjmU1ptnwU6FttDQBbAoCxko3LBI/AUhUO+7J cSVgY+X9MjPUZ4T/bP6H1gkMHANoMfZIdke62j7MmNj+lp65k4k7SJyqL+YIPEoLGRkt v4b+IE6sWtJC+MTSlC0XMiQQhnp1C+ZZI4C4yIziVxcM960H6ocXGYDoiKMQIHGloj7q LrAw== 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 v190-v6si4250911pgd.128.2018.09.13.06.59.43; Thu, 13 Sep 2018 06:59:58 -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 S1731719AbeIMTJP (ORCPT + 99 others); Thu, 13 Sep 2018 15:09:15 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:34834 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731164AbeIMTJO (ORCPT ); Thu, 13 Sep 2018 15:09:14 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id B700DD0E; Thu, 13 Sep 2018 13:59:36 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Scott Wood , Kumar Gala , linuxppc-dev@lists.ozlabs.org, Sasha Levin Subject: [PATCH 4.18 124/197] powerpc/platforms/85xx: fix t1042rdb_diu.c build errors & warning Date: Thu, 13 Sep 2018 15:31:13 +0200 Message-Id: <20180913131846.505123144@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913131841.568116777@linuxfoundation.org> References: <20180913131841.568116777@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Randy Dunlap [ Upstream commit f5daf77a55ef0e695cc90c440ed6503073ac5e07 ] Fix build errors and warnings in t1042rdb_diu.c by adding header files and MODULE_LICENSE(). ../arch/powerpc/platforms/85xx/t1042rdb_diu.c:152:1: warning: data definition has no type or storage class early_initcall(t1042rdb_diu_init); ../arch/powerpc/platforms/85xx/t1042rdb_diu.c:152:1: error: type defaults to 'int' in declaration of 'early_initcall' [-Werror=implicit-int] ../arch/powerpc/platforms/85xx/t1042rdb_diu.c:152:1: warning: parameter names (without types) in function declaration and WARNING: modpost: missing MODULE_LICENSE() in arch/powerpc/platforms/85xx/t1042rdb_diu.o Signed-off-by: Randy Dunlap Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Scott Wood Cc: Kumar Gala Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Michael Ellerman Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/powerpc/platforms/85xx/t1042rdb_diu.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/arch/powerpc/platforms/85xx/t1042rdb_diu.c +++ b/arch/powerpc/platforms/85xx/t1042rdb_diu.c @@ -9,8 +9,10 @@ * option) any later version. */ +#include #include #include +#include #include #include @@ -150,3 +152,5 @@ static int __init t1042rdb_diu_init(void } early_initcall(t1042rdb_diu_init); + +MODULE_LICENSE("GPL");