Re: where is usb_interface defined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 19, 2010 at 02:35:32AM +0530, Bond wrote:
> On Sun, Sep 19, 2010 at 2:23 AM, Bond <jamesbond.2k.g@xxxxxxxxx> wrote:
> 
> >
> >
> > On Sun, Sep 19, 2010 at 12:35 AM, Greg KH <greg@xxxxxxxxx> wrote:
> >
> >> I suggest you use a tool like 'grep', 'ack', 'cgvg', 'ctags', or
> >> 'cscope' for future questions like this.  They are all good at finding
> >>
> > I have used csope but what to search that I am not clear.
> >
> For example on that page
> you used a function dev_info
> http://www.kroah.com/linux/talks/ols_2005_driver_tutorial/mgp00010.html
> I used cscope and got at least 28 lines
> not sure if
> struct dev_info {
>         mdk_rdev_t      *rdev;
>         sector_t        end_sector;
> };
> is the structure you are pointing to.

dev_info() is a function, and the code uses it like that, why would you
be searching for a structure?

> I have read your book LDD first 5 chapters and still reading more.
> Is this dev in your presentation same as described in your book.

What "dev"?

Also note the age of that presentation, a much newer version can be
found on github, along with the code examples.

good luck,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux