From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754605AbbK3TDx (ORCPT ); Mon, 30 Nov 2015 14:03:53 -0500 Received: from down.free-electrons.com ([37.187.137.238]:45437 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754104AbbK3TDw (ORCPT ); Mon, 30 Nov 2015 14:03:52 -0500 Date: Mon, 30 Nov 2015 20:03:50 +0100 From: Alexandre Belloni To: Geliang Tang Cc: Alessandro Zummo , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] rtc: fix module reference count in rtc-proc Message-ID: <20151130190350.GI22136@piout.net> References: <9d57abe4fe1acdbc4a63496142ea4b78f152e621.1446868545.git.geliangtang@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9d57abe4fe1acdbc4a63496142ea4b78f152e621.1446868545.git.geliangtang@163.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/11/2015 at 12:00:21 +0800, Geliang Tang wrote : > rtc-proc.c is not built as a module. Thus, rather than dealing with > THIS_MODULE's reference count, we should deal with rtc->owner's > reference count. > > Signed-off-by: Geliang Tang > --- > drivers/rtc/rtc-proc.c | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > Both patches are applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com