commit | c1d35dfa0f7d75ba14c442143a9ad8e232d3edfb | [log] [tgz] |
---|---|---|
author | Ivo van Doorn <ivdoorn@gmail.com> | Mon Jun 16 19:57:11 2008 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Jun 26 16:49:16 2008 -0400 |
tree | 9266a9be1068c66b6c80f0f5a73e47af88acd584 | |
parent | d74f5ba473b915e5d4ea1ed391984bb62d9de8b1 [diff] |
rt2x00: Fix sparse warning on nested container_of() Sparse produces warnings about nested contain_of() statements, this means that lines like: interface_to_usbdev(to_usb_interface(rt2x00dev->dev)); will upset sparse. Add a new macro to rt2x00usb.h which will convert to device structure to the usb_device pointer in 2 steps to prevent this sparse warning. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>