Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7150197ybi; Mon, 8 Jul 2019 15:39:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqySyqxDWZwvfcRx+pi7Rg9J46rZ5XmjSRwghjB2zw970aLNwvXWGuwt+TuDeTJXJc/JzimP X-Received: by 2002:a17:90a:ab0d:: with SMTP id m13mr27452986pjq.84.1562625555286; Mon, 08 Jul 2019 15:39:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562625555; cv=none; d=google.com; s=arc-20160816; b=MRQRgbFzL9iKsJT0J+m/XE5GvNrMt1jOdP3D0lk4oTRh7dEh0jnzNebvsBWLo06L8N 8gH4AHseivhbH8gDOQyWTzZIMhP6VhWVW5NTEbETgPF9YHUNchOoJ1fP0ZljSk0Rf+g+ DpMUts5JVLcV9+25GFnw7s+KtAN+NJzdCRp9uRIQ98ZSbzcT3gydbD7sjYsNGky3smof rHBMeixzg+zza2Psoobie7IZPC4rZdJC23jLjYDoh0WeXhHLd6Kxc+eNn/FCtBvBez7f WoVTu+UqIs2z176My54K/u5wva+DzPGqsSDTjTiHjn+JH2PAvKt9bXG/8W/qshQ1ziXN 1/ww== 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=g0eAhjZGs/EFn60/Zmqg0q279Nubrz/2/4wtMsttAEg=; b=eWWXOq/H9SLqFWrnTAzikfTjyuCr5MQBllRYHBF3z6JMCLy02TmZWj6TVEY6RX98yM nuyNZ83V+aE87XmQI79T0ZYLbCnXB29yZHvYf5f8xSYzp/6Sa+QcFtrJjnAOuq3AWsBq 9vPgcqoy8mvIbf70yRoAGBiW/gq6bP1Vsm+A3KrLM3F8ux9OIC61WgS+7WEnD2pH8M6t UCFnC1I+z+c4ShTfKng5KDy03sHtOH7tM1cRslIzjBoYiswvaJXJ9Oh9mcVdvKIZ3dA+ eth0xTCRTh/KmNRZ39w3dYabM7hNMUGlk8Ht61MdSOQ0qhT1m82CgbpB/qarc7OzJmlb 4MyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0XBariCJ; 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 f33si716813pjg.81.2019.07.08.15.39.00; Mon, 08 Jul 2019 15:39:15 -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=0XBariCJ; 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 S1731983AbfGHP3L (ORCPT + 99 others); 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