Re: where is device_get_parent function defined

From: Gary Jennejohn <gary.jennejohn_at_freenet.de>
Date: Tue, 22 Sep 2009 18:38:31 +0200
On Tue, 22 Sep 2009 08:37:26 -0700 (PDT)
Barney Cordoba <barney_cordoba_at_yahoo.com> wrote:

> So all they need now is an open to turn off the recursive directory
> warnings....
> 

I saw no warnings at all when I did the grep.  The only ouput from grep
was the name of the file.

Must be something weird on your machine.

> Of course a section in the man page telling you the source module would
> make way too much sense to be adopted by any of the free software groups...
> 

It generally isn't relevant where a function is located.  Man pages
are supposed to document the required syntax and not the layout of
the source tree, which can change at any time.

FreeBSD has generally excellent man pages for kernel functions.  Linux,
on the other hand, has virtually no kernel documentation at all, so the
only way to figure out how a routine works is to examine the code.

I can speak authoritatively on this because I make my living developing
drivers for Linux.

---
Gary Jennejohn
Received on Tue Sep 22 2009 - 14:38:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:55 UTC