[patch] use __u32 rather than u32 in userspace ioctls in usbdevice_fs.h

Mike Frysinger <[email protected]>
Newsgroups gmane.linux.usb.devel,gmane.linux.kernel
Organization wh0rd.org
Message-ID <[email protected]>
the trivial attached patch fixes ioctl defines in usbdevice_fs.h that are 
exported to userspace to use __u32 rather than u32
-mike

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
signature.asc (application/pgp-signature, 827 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.1 (GNU/Linux)

iQIVAwUARbyV3UFjO5/oN/WBAQIR0Q//W3KFFjReRdQ9nlTOptHRYiirkK7kqaTx
6bXUJQhCY198qct8bBnuzyEuKhwJvlHa+i7UgTaqbp4bJwIkxatiXoIxnM3bZl4g
txaoXmgXsMh+J3wAf/H2v+/3h2F6otKleuzLE2QHIuMv+fUnoYdZlTXiLOMPR9ds
wcX1NUnZj/HJRk+uoMZ+MzTvZYt+4+m5dVaIv2qNhaasGAl3WjhQ74kPAUqU/XJF
i1Yly7QsO03Wcbo5V2V8E8MLXKgRzhHxTNhTJVvQQ3B1nVkRFCiaMGcI8luNMlpc
UZYhwPt30DqYIp3vUCvLd43YXPU3vC74t98eAXXkcqOqyaPtT+qYi8dr9sNHtb3w
gL+dRVwAyl4K1pOFzb06OVmnD3APeeHMizQoelIaplbCofCssweEJ6nZpGjoIEKC
3aiQwCF7YaHGrGqcQAp7IgHnBYlFeV7/RCMBRGvTyxU+STMkB9AcH+Z5yFmyv2Ak
t+ms/E9Rm038KqaJ1LDkdSH6XVngLsgrlKfyIoalflf+3BbVVyfzD8lYEYdr1z+2
zodbMMrOZYwtT1In34ERHHBUWZC3/0jDHQbRlrodWPX6kKVzVL3vRR5DT2dpso50
p82G3u8qWGS5rwmyFvY4PIZ86oo+r5pn9GlpsdfzpCV6SDF+UqAkJ9/pkTAzg9TS
DruUXx8qN78=
=u5Bs
-----END PGP SIGNATURE-----
linux-use-__-types-in-usbdevice-fs-header.patch (text/x-diff, 896 B)
Use __u32 rather than u32 in userspace ioctl defines.

Signed-off-by: Mike Frysinger <[email protected]>

--- a/include/linux/usbdevice_fs.h
+++ b/include/linux/usbdevice_fs.h
@@ -159,9 +159,9 @@ struct usbdevfs_ioctl32 {
 #define USBDEVFS_SUBMITURB32       _IOR('U', 10, struct usbdevfs_urb32)
 #define USBDEVFS_DISCARDURB        _IO('U', 11)
 #define USBDEVFS_REAPURB           _IOW('U', 12, void *)
-#define USBDEVFS_REAPURB32         _IOW('U', 12, u32)
+#define USBDEVFS_REAPURB32         _IOW('U', 12, __u32)
 #define USBDEVFS_REAPURBNDELAY     _IOW('U', 13, void *)
-#define USBDEVFS_REAPURBNDELAY32   _IOW('U', 13, u32)
+#define USBDEVFS_REAPURBNDELAY32   _IOW('U', 13, __u32)
 #define USBDEVFS_DISCSIGNAL        _IOR('U', 14, struct usbdevfs_disconnectsignal)
 #define USBDEVFS_CLAIMINTERFACE    _IOR('U', 15, unsigned int)
 #define USBDEVFS_RELEASEINTERFACE  _IOR('U', 16, unsigned int)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.