Re: [linux-usb-devel] [PATCH 1/2] usb_gigaset: suspend support

Previous thread: Re: Linux Security *Module* Framework (Was: LSM conversion to static interface) by Rob Meijer on Monday, October 29, 2007 - 3:04 pm. (37 messages)

Next thread: [PATCH 1/2] netdrvr/ibmlana: modularization cleanup by Jeff Garzik on Monday, October 29, 2007 - 3:33 pm. (4 messages)
To: Tilman Schmidt <tilman@...>
Cc: Andrew Morton <akpm@...>, <linux-kernel@...>, Greg KH <gregkh@...>, <linux-usb-devel@...>, Hansjoerg Lipp <hjlipp@...>, Karsten Keil <kkeil@...>, <i4ldeveloper@...>
Date: Monday, October 29, 2007 - 3:10 pm

Does this really compile? The .pre_reset and .suspend members are
pointers to functions with different prototypes; I don't see how you
can assign the same function to both pointers.

Alan Stern

-

To: Alan Stern <stern@...>
Cc: Andrew Morton <akpm@...>, <linux-kernel@...>, Greg KH <gregkh@...>, <linux-usb-devel@...>, Hansjoerg Lipp <hjlipp@...>, Karsten Keil <kkeil@...>, <i4ldeveloper@...>
Date: Monday, October 29, 2007 - 5:20 pm

Oops, you're right. Yes, it does compile, but with a warning
"initialization from incompatible pointer type" which I
foolishly ignored.

I'll produce a corrected version promptly.

Thanks,
Tilman

--=20
Tilman Schmidt E-Mail: tilman@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge=F6ffnet mindestens haltbar bis: (siehe R=FCckseite)

Previous thread: Re: Linux Security *Module* Framework (Was: LSM conversion to static interface) by Rob Meijer on Monday, October 29, 2007 - 3:04 pm. (37 messages)

Next thread: [PATCH 1/2] netdrvr/ibmlana: modularization cleanup by Jeff Garzik on Monday, October 29, 2007 - 3:33 pm. (4 messages)