Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4481461ybx; Mon, 4 Nov 2019 14:09:05 -0800 (PST) X-Google-Smtp-Source: APXvYqzOvF0RxSOUNf9l8E8H+x61eUXlp65SgElfaY2/+0on6ObrYUYdDtP9l1CejrWSfYLUC2N7 X-Received: by 2002:a17:906:5859:: with SMTP id h25mr26600815ejs.2.1572905345874; Mon, 04 Nov 2019 14:09:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572905345; cv=none; d=google.com; s=arc-20160816; b=GguZLnJfS+dhcLEc07uK6hgNwvtCeyxAzAzt8r+tuE+o9BaqoYu7WaUL5IsPvb645/ YZXLO+1t/gIyq0xu6JKRfcZkMXxzkcAMiSmbZnRS+e64ULjq21VvDulxeNOH4Zams4A6 aKxcVjlzMmrI/X3Sr/YdVDj3duZxruv2a+L1M1kEfRB6B2tqDd5/q7x+cG2yg+swDoNk /bcEp02adXCRsgylPhP9DieRsuwz0HtX1RbvEApZFYqYrvuQBcxaqSiyS56n3svk3o0q rntywiN4btR4HOI17Uz0rnSnG8QKpjx6E8iZy0cwaVJIsYTvkYz/R+eY4enqoQ4lVhlG n12g== 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=Wg9scFJ/GWQgnDpUzd2WZ4mY2gz3Rk1kFi9+qyp5/vA=; b=kTtzg2oV0JVs6eFXVKzreW6xfqcZjQTKRKb5ao1fgg95i/iFL58Ld2UvEftcbQhu3h lE6K3xF/P+pdtZQ/H49iYyhiWfPnekvkOzNpFUy2kXwN77KzGz5dodpeC3LlEDZKnjOt GLMwDRjKac+NDhPt5gD4NLG/gT6TdXkvP6rxZozoUtwkhr3Qmmf/7RGLNqjzS7wtyerX E0n4k+xoiII/80YkhIdMjDc2YdAYByhiWPKnIz4ZnIezNgc09TSN4ZhalyrP0UHK6Gyz QVrw96PDWojohxYXZvAJI715U1pOgxHxw3i1n1H0vRfldY90JZ/NAkKAAXanC/isijFd +lLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pccOTdbs; 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 s24si10494017ejz.252.2019.11.04.14.08.41; Mon, 04 Nov 2019 14:09:05 -0800 (PST) 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=pccOTdbs; 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 S2389221AbfKDWFQ (ORCPT + 99 others); Mon, 4 Nov 2019 17:05:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:36476 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388517AbfKDWFO (ORCPT ); Mon, 4 Nov 2019 17:05:14 -0500 Received: from localhost (6.204-14-84.ripe.coltfrance.com [84.14.204.6]) (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 C44D021744; Mon, 4 Nov 2019 22:05:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572905114; bh=quMH6BLAanqnkodOpRh/9pwNNiHQ946QHMuulLUv/x4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pccOTdbst18G4j7c/mg7OF2EcY+/eYJ75Mh36eEmL/5r1o8oOMEzMyh5okcJG1CUO cG/JmnUywXC7ryWkVkJbw5B39JblBmejVGe0UBrOILGGyrNiFltSF9wT2SRnS8Kclt Hy46batfynJv5rHbPbSGoJFjviXiQ/bRRGLjO+LI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Christophe JAILLET , Sasha Levin Subject: [PATCH 5.3 033/163] tty: serial: rda: Fix the link time qualifier of rda_uart_exit() Date: Mon, 4 Nov 2019 22:43:43 +0100 Message-Id: <20191104212142.662948272@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191104212140.046021995@linuxfoundation.org> References: <20191104212140.046021995@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 From: Christophe JAILLET [ Upstream commit 5080d127127ac5b610b57900774d9559ae55e817 ] 'exit' functions should be marked as __exit, not __init. Fixes: c10b13325ced ("tty: serial: Add RDA8810PL UART driver") Signed-off-by: Christophe JAILLET Link: https://lore.kernel.org/r/20190910041702.7357-1-christophe.jaillet@wanadoo.fr Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/tty/serial/rda-uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/rda-uart.c b/drivers/tty/serial/rda-uart.c index 284623eefaeba..ba5e488a03742 100644 --- a/drivers/tty/serial/rda-uart.c +++ b/drivers/tty/serial/rda-uart.c @@ -817,7 +817,7 @@ static int __init rda_uart_init(void) return ret; } -static void __init rda_uart_exit(void) +static void __exit rda_uart_exit(void) { platform_driver_unregister(&rda_uart_platform_driver); uart_unregister_driver(&rda_uart_driver); -- 2.20.1