Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4479125ybx; Mon, 4 Nov 2019 14:06:46 -0800 (PST) X-Google-Smtp-Source: APXvYqycMVNyIFXkWZZJZFEhaijwLLLs77opIvbEbAM2Ol6fcsaCGvq/bzNQeeYjsIMj2llEtIrA X-Received: by 2002:a05:6402:205c:: with SMTP id bc28mr14704618edb.124.1572905206416; Mon, 04 Nov 2019 14:06:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572905206; cv=none; d=google.com; s=arc-20160816; b=EM3QzmJQbyOEfYkbnFqHL8mct/iw57jOT4w8yocIp31w0UkKV9gR8G4llu9FlOXNpK 0ssuFSlgv0RygePIHAuU49oodgkKOTfiRzKoFhaw1lOoLe05RFdPpG5dWsQ26Fj3v+1U LRHXgz8yuY3CjLSjv9Hmb2j9CZVNmFEiG80/ofo8QOb2MYRkPdbwBDNoS7RZsDoeWA65 pVQoXaObBo6aacjJ+Ht/L1B30G5z81GYTBaef33xUVF4KrXg4Dicq00vUiLD3zUpITgG wT96t6s2lSjMUiy0XHh/+BHl9h7CUTSXWdn0sqBJG03/w+XwhtC+eqciOD4ZpUgftdHO K3eQ== 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=9OvkOddQI8VBnnLKfi6WRB8kXVwdxR8lQoqooRM5Y2w=; b=DR5PYV9fE9k+/Odk2tPHgpqDygqhNhc1T/hWWU7fsBhey1MRFDoFryvbmkKNlbMJ+C d3aY9VTGt6HhUzfLKCv5OyO29w4rU5/wcV4r22NAlAuEkvHPNTjY5gQd8UZJW3nWlUEi q857GN3IX26ngErdNh+EVYUWMZJusN05eCLhm09qUMFCmWYjrC4GZZQvZXj27e47jjM4 pxsCVnoAbnufwEWLAN9x5tkC/bthCHQATJYdoKLo2bZ3qaTgKCH0rqETQilk9hVxTHen QrdY+4JxhTamhhDhwNWo5ISDhaJu/1h1F+CJBezt6E8CxoauCQ1UzGzqNUVl59KrtKEB B8pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=U7H2bOa4; 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 b18si7593177edc.390.2019.11.04.14.06.23; Mon, 04 Nov 2019 14:06:46 -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=U7H2bOa4; 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 S2388378AbfKDWFM (ORCPT + 99 others); Mon, 4 Nov 2019 17:05:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:36436 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389811AbfKDWFL (ORCPT ); Mon, 4 Nov 2019 17:05:11 -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 B9281217F4; Mon, 4 Nov 2019 22:05:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572905111; bh=a7lsjfD5XOqATd/HHMEqnA12kAyKJex2d6w/wuLsBQY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U7H2bOa4Eq7IUMJvFLhg3WhO72A+NnoOmPR+qO6WIQE598eftmTJGPig4dTdFD7Ij wbDRnwGjs7GrkcMjoPHDPWw6iNSMAYkVw32bxngKiF4OfsolzoYYSfK+qmuEGhD7U+ xTvRJOMCI0M6lMy9GUYNFnNutRAawPOE8faUm/pA= 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 032/163] tty: serial: owl: Fix the link time qualifier of owl_uart_exit() Date: Mon, 4 Nov 2019 22:43:42 +0100 Message-Id: <20191104212142.607391192@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 6264dab6efd6069f0387efb078a9960b5642377b ] 'exit' functions should be marked as __exit, not __init. Fixes: fc60a8b675bd ("tty: serial: owl: Implement console driver") Signed-off-by: Christophe JAILLET Link: https://lore.kernel.org/r/20190910041129.6978-1-christophe.jaillet@wanadoo.fr Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/tty/serial/owl-uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/owl-uart.c b/drivers/tty/serial/owl-uart.c index 29a6dc6a8d23c..73fcc6bdb0312 100644 --- a/drivers/tty/serial/owl-uart.c +++ b/drivers/tty/serial/owl-uart.c @@ -742,7 +742,7 @@ static int __init owl_uart_init(void) return ret; } -static void __init owl_uart_exit(void) +static void __exit owl_uart_exit(void) { platform_driver_unregister(&owl_uart_platform_driver); uart_unregister_driver(&owl_uart_driver); -- 2.20.1