Re: [PATCH] hci-usb bugfix
From: Alan Stern
Date: Mon May 10 2004 - 12:53:54 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/