From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 159E2C606C1 for ; Mon, 8 Jul 2019 15:29:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D362420645 for ; Mon, 8 Jul 2019 15:29:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562599752; bh=B5Ps5EHCwOMk/+GkMoCH5wo2EPVXUVjD2NyKOyU17y4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=iJKYS40AKFlCJQHechpKGkY28Qbjx7OiF7FhCSq6r8FEiUNdOSbhIKlcYPNYvKylX hI4Xuxst1Ey42EiRB73wTilwrplyDbUX9xltwEYiUzWv++E54JrhSWxV83fv+9WSAH zgVBcNsD+6TfZ0qmRSpPvSlhRvb9wGH5hb9jGQVc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389451AbfGHP3L (ORCPT ); Mon, 8 Jul 2019 11:29:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:57776 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389411AbfGHP3E (ORCPT ); Mon, 8 Jul 2019 11:29:04 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4938E20665; Mon, 8 Jul 2019 15:29:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562599743; bh=B5Ps5EHCwOMk/+GkMoCH5wo2EPVXUVjD2NyKOyU17y4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0XBariCJmDIRkbUryX93SWTqUw/kSWdMYMf2bcASRUBhI3yRF8kzKaLxd2qPCylvh cbW0fUsR7RfJbDA7mrKFUh1nxcqKmwcE7gJ44LnISqzzMaXoerNkjGjdaE0gqeDr8I 3G0dzA5RtZ71IXnH3eJZx+NxGyR2hDROWtLZJ2bw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Linus Torvalds , Sasha Levin Subject: [PATCH 4.19 63/90] tty: rocket: fix incorrect forward declaration of rp_init() Date: Mon, 8 Jul 2019 17:13:30 +0200 Message-Id: <20190708150525.585991491@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190708150521.829733162@linuxfoundation.org> References: <20190708150521.829733162@linuxfoundation.org> User-Agent: quilt/0.66 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 [ Upstream commit 423ea3255424b954947d167681b71ded1b8fca53 ] Make the forward declaration actually match the real function definition, something that previous versions of gcc had just ignored. This is another patch to fix new warnings from gcc-9 before I start the merge window pulls. I don't want to miss legitimate new warnings just because my system update brought a new compiler with new warnings. Signed-off-by: Linus Torvalds Signed-off-by: Sasha Levin --- drivers/tty/rocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/rocket.c b/drivers/tty/rocket.c index b121d8f8f3d7..27aeca30eeae 100644 --- a/drivers/tty/rocket.c +++ b/drivers/tty/rocket.c @@ -266,7 +266,7 @@ MODULE_PARM_DESC(pc104_3, "set interface types for ISA(PC104) board #3 (e.g. pc1 module_param_array(pc104_4, ulong, NULL, 0); MODULE_PARM_DESC(pc104_4, "set interface types for ISA(PC104) board #4 (e.g. pc104_4=232,232,485,485,..."); -static int rp_init(void); +static int __init rp_init(void); static void rp_cleanup_module(void); module_init(rp_init); -- 2.20.1