From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Sender: rtc-linux@googlegroups.com Received: from mail.linuxfoundation.org (mail.linuxfoundation.org. [140.211.169.12]) by gmr-mx.google.com with ESMTPS id 2si1297254pfx.8.2017.03.16.23.11.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Mar 2017 23:11:52 -0700 (PDT) Date: Fri, 17 Mar 2017 15:11:37 +0900 From: Greg Kroah-Hartman To: Logan Gunthorpe Cc: kernel test robot , LKP , linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com, wfg@linux.intel.com Subject: [rtc-linux] Re: [rtc] 4cd8adb100: WARNING: CPU: 0 PID: 1 at lib/kobject.c:690 kobject_put Message-ID: <20170317061137.GA21612@kroah.com> References: <58cb6cce.GwD02K343UlZPrBA%fengguang.wu@intel.com> <72ddb00d-3eda-1a16-9c3b-10055dd4e730@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 In-Reply-To: <72ddb00d-3eda-1a16-9c3b-10055dd4e730@deltatee.com> Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , On Thu, Mar 16, 2017 at 11:23:26PM -0600, Logan Gunthorpe wrote: > Hey, > > I think I see the issue here: in a couple of error conditions, the RTC > code will not initialize and ask for the cdev. However, my change will > always call cdev_add and cdev_del even though the rtc code did not call > cdev_init. I'll have to add a guard around dev->devt in the new > cdev_device functions. I'll prepare another patch tomorrow. > > I also noticed that I neglected to remove the prototypes for the two RTC > function I removed. I'll fix that too. Ok, I'm just going to drop this series from my tree so that other patches in it can get pushed out to linux-next. Please resend the full series after you have fixed it up, and I'll be glad to queue it up again. thanks, greg k-h -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.