Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1239102

Re: [PATCH] misc: mic: replace kfree with put_device

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] misc: mic: replace kfree with put_device
Date 2015-10-04 14:00 +0200
Message-ID <qfQ7n-7Tm-1@gated-at.bofh.it> (permalink)
References <qe6zE-4i6-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <geliangtang@163.com>
> ---
>  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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] misc: mic: replace kfree with put_device Geliang Tang <geliangtang@163.com> - 2015-09-29 19:10 +0200
  Re: [PATCH] misc: mic: replace kfree with put_device Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-10-04 14:00 +0200
    [PATCH v2] misc: mic: replace kfree with put_device Geliang Tang <geliangtang@163.com> - 2015-10-05 02:40 +0200

csiph-web