Re: [PATCH] HID: fix a potential bug in pointer casting
Jiri Kosina <[email protected]>
| Newsgroups | gmane.linux.usb.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 14 Nov 2007, Li Zefan wrote: > Don't directly cast list_head * to foo *, this works only when list is > the first member of struct foo, and we should not make the assumption > how members are ordered in the structure. Hi, applied to my tree, thanks! -- Jiri Kosina SUSE Labs ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel