[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130520022016.GA2945@kroah.com>
Date: Sun, 19 May 2013 19:20:16 -0700
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Chen Gang <gang.chen@...anux.com>
Cc: Ming Lei <tom.leiming@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [Consult] Why need we call device_remove_file() firstly before
call device_unregister() ?
On Mon, May 20, 2013 at 10:12:41AM +0800, Chen Gang wrote:
> I mean that if no reply by any other members within a week, I will know
> it is correct that "we need not call device_remove_file() firstly before
> call device_unregister()" (at least, one member's reply supports this
> conclusion).
>
> I find this 'question' when discussing a patch with another members in
> linux-kernel@...r.kernel.org, I have read the related code and also have
> searched with google, but can not find the result, so I want to consult
> it in linux-kernel@...r.kernel.org.
Asking random questions on lkml, and relying on the fact that no one
else happens to say anything, is not any judge as to if the answer is
correct at all.
In fact, just asking questions on lkml has a very low chance of ever
getting a correct answer, given that the people that usually do know the
answer to these types of things are usually:
1) not reading lkml because they are busy doing real work
2) annoyed by questions that are easily answered by themselves by
either:
a) reading the code
b) writing a simple example module and testing it out yourself
Good luck,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists