From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751539AbbJDL5O (ORCPT ); Sun, 4 Oct 2015 07:57:14 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:47577 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751315AbbJDL5O (ORCPT ); Sun, 4 Oct 2015 07:57:14 -0400 Date: Sun, 4 Oct 2015 12:57:11 +0100 From: Greg Kroah-Hartman To: Geliang Tang Cc: Ashutosh Dixit , Sudeep Dutt , Nikhil Rao , linux-kernel@vger.kernel.org Subject: Re: [PATCH] misc: mic: replace kfree with put_device Message-ID: <20151004115711.GA3539@kroah.com> References: <154270a1ca7f8efb0f3da3300f31d27fde1bf504.1443545551.git.geliangtang@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <154270a1ca7f8efb0f3da3300f31d27fde1bf504.1443545551.git.geliangtang@163.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 30, 2015 at 12:58:22AM +0800, Geliang Tang wrote: > Handle a failed device_register(), replace kfree() with put_device(), > which will call mbus_release_dev() or scif_release_dev(). > > Signed-off-by: Geliang Tang > --- > drivers/misc/mic/bus/mic_bus.c | 2 +- > drivers/misc/mic/bus/scif_bus.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Due to the recent changes in this driver, this patch doesn't apply anymore. Can you please refresh it and resend? thanks, greg k-h