lkml.org 
[lkml]   [2004]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] hci-usb bugfix
On Mon, 10 May 2004, Marcel Holtmann wrote:

> Hi Alan,
>
> actually I don't see a reason for using both patches, because I can't
> follow the point from Oliver that I've assumed a certain order of
> disconnect.

I can't follow his point either. Maybe he forgot that when the main
interface is disconnected the driver will release the SCO interface as
well.

> However is it the best practice to claim additional interfaces with the
> private pointer set to NULL?

The private pointer can be set to anything at all, since it's private.
If your driver doesn't need to use it, then set it to NULL. Nobody else
will try to access the pointer when your driver has claimed the interface.

Alan Stern

-
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/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.071 / U:0.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site