Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7148713ybi; Mon, 8 Jul 2019 15:37:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqzW1FgozanizoP0raKe5VaslzALI9NqygfciLwonuSEqepZtzw+0AhmBSKGCVmAod7HtBf8 X-Received: by 2002:a17:902:684:: with SMTP id 4mr27940443plh.138.1562625437779; Mon, 08 Jul 2019 15:37:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562625437; cv=none; d=google.com; s=arc-20160816; b=0SycKuK8uUjDBvlewCVW6xbxHh34Pd1gB+Rv5Xx+Ed2cHqVb6LN4p+tNJhP7KMOahv AMIxBMKJ7AUAwC2JxpZEtxXMKgkS3Ah+mVbfw4KMDig7M0lf6aLLz/rW8vJIQo9J3Q8s 6YAK64hDiaFe2fu5QidjJg/u5Cr0uJlqrr+MT6NpZXyQOBsDda87pwwlBN2gPO0XeZiS 0xYNk/MlF6Y7OWSvyVTlJTjUVDt+Rnxd+r/Qpo7YklHJq8FK5S85HUIiuOcfaD2LkRhl Ev4TEoGrLr6tMD5rNNA2DyHxdhsbJ0Pj0jqq6Wui8zetQYt2wGVViLmu/W3Yjf2IlhVm k+aw== 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:dkim-signature; bh=f2FZwyRDN29endf2NV0le55XE9Xz/1u0V/jmg38VbUQ=; b=eRZvKauAQ8m/bQQzZ7omiUPwM5kQYHe8o7at/PfUw2y1MjlzQ6v4m8xWhGVYoGVjRa 6G4509zMOCAiP+LuRS9wxku7CTDgt0po7D0bAH29ZzLXTYw63UxfVfvxNjOlIWG897K6 uJEMQdq4rfva2TfOZ1+xlM17Ma8Fwzi0vGj/rasWkwtyYRuodmt/4WYKY8XoIXh0b5VQ LkluJXHtAdwqIQHpy2KKQRO35wFkw54ZE5CgR22KVlfhabkiqJcGjyhWk1ISUw3P8fVf AbTJKMgMvwASJoD+VD39tyqsAw3qh+1k5bS59vgfbdlpFnXZB8f+rtGSQbvHMuwac8TT is7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cPKvA7nf; 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 i5si675523pjk.57.2019.07.08.15.37.02; Mon, 08 Jul 2019 15:37:17 -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; dkim=pass header.i=@kernel.org header.s=default header.b=cPKvA7nf; 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 S2388676AbfGHPZs (ORCPT + 99 others); Mon, 8 Jul 2019 11:25:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:53184 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388649AbfGHPZl (ORCPT ); Mon, 8 Jul 2019 11:25:41 -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 71B3A20665; Mon, 8 Jul 2019 15:25:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562599540; bh=64V9h1K9sOO1/vFNR+nqekbcBPvH68uwg+pEVDOf8Yc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cPKvA7nf1nLXFV8mRgNeUarJZ/0aleZka6iOwuej5FtH7Z9WbohroRIMTIwgxrrNH 1JXIp2rh5CCNyQrpDRgK0fbvOs1318j5wCdL6TctpRava+I/REkhHJfvpOBeC9n5lO Ry9pvr7m1qaVs7wzifXoZb8HEZpuqqUPEjh2zXLA= 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.14 48/56] tty: rocket: fix incorrect forward declaration of rp_init() Date: Mon, 8 Jul 2019 17:13:40 +0200 Message-Id: <20190708150523.944446224@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190708150514.376317156@linuxfoundation.org> References: <20190708150514.376317156@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 070733ca94d5..32943afacffd 100644 --- a/drivers/tty/rocket.c +++ b/drivers/tty/rocket.c @@ -279,7 +279,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