Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758871Ab3DDJg7 (ORCPT ); Thu, 4 Apr 2013 05:36:59 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:41902 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758844Ab3DDJg6 (ORCPT ); Thu, 4 Apr 2013 05:36:58 -0400 MIME-Version: 1.0 In-Reply-To: <20130403160811.GA21383@kroah.com> References: <1364957903-10341-1-git-send-email-ming.lei@canonical.com> <20130403030403.GA26913@redhat.com> <20130403053534.GA8091@kroah.com> <20130403160811.GA21383@kroah.com> Date: Thu, 4 Apr 2013 17:36:55 +0800 Message-ID: Subject: Re: [PATCH] sysfs: check if one entry has been removed before freeing From: Ming Lei To: Greg Kroah-Hartman Cc: Dave Jones , linux-kernel@vger.kernel.org, Sasha Levin Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 631 Lines: 18 On Thu, Apr 4, 2013 at 12:08 AM, Greg Kroah-Hartman wrote: > > Then make it a WARN() call, like David said, to give us a chance to get > the report from a user so we can fix it. If the machine crashes after > that, fine, but hopefully we will get a oops report out of it. OK, got it, and console might not be available at that time. Thanks, -- Ming Lei -- 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/