/* * Copyright (c) 2007 Jiri Kosina */ /* * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * You should have received a copy of the GNU General Public License along with * this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef _UAPI_HIDRAW_H #define _UAPI_HIDRAW_H #include <linux/hid.h> #include <linux/types.h> struct hidraw_report_descriptor { __u32 size; __u8 value[HID_MAX_DESCRIPTOR_SIZE]; }; struct hidraw_devinfo { __u32 bustype; __s16 vendor; __s16 product; }; /* ioctl interface */ #define HIDIOCGRDESCSIZE _IOR('H', 0x01, int) #define HIDIOCGRDESC _IOR('H', 0x02, struct hidraw_report_descriptor) #define HIDIOCGRAWINFO _IOR('H', 0x03, struct hidraw_devinfo) #define HIDIOCGRAWNAME(len) _IOC(_IOC_READ, 'H', 0x04, len) #define HIDIOCGRAWPHYS(len) _IOC(_IOC_READ, 'H', 0x05, len) /* The first byte of SFEATURE and GFEATURE is the report number */ #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len) #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len) #define HIDRAW_FIRST_MINOR 0 #define HIDRAW_MAX_DEVICES 64 /* number of reports to buffer */ #define HIDRAW_BUFFER_SIZE 64 /* kernel-only API declarations */ #endif /* _UAPI_HIDRAW_H */ 'sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&id=2fb78e89405f4321b86274a0c24b30896dd50529'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/net/ipv6/exthdrs.c?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/ipv6/exthdrs.c?h=nds-private-remove&id=2fb78e89405f4321b86274a0c24b30896dd50529'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/net/ipv6/exthdrs.c?h=nds-private-remove&id=2fb78e89405f4321b86274a0c24b30896dd50529'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/ipv6/exthdrs.c?h=nds-private-remove&id=2fb78e89405f4321b86274a0c24b30896dd50529'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/ipv6/exthdrs.c'> <input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='2fb78e89405f4321b86274a0c24b30896dd50529'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/commit/?h=nds-private-remove&id=2fb78e89405f4321b86274a0c24b30896dd50529'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net?h=nds-private-remove&id=2fb78e89405f4321b86274a0c24b30896dd50529'>net</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net/ipv6?h=nds-private-remove&id=2fb78e89405f4321b86274a0c24b30896dd50529'>ipv6</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net/ipv6/exthdrs.c?h=nds-private-remove&id=2fb78e89405f4321b86274a0c24b30896dd50529'>exthdrs.c</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='2fb78e89405f4321b86274a0c24b30896dd50529'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'> <tr><th>author</th><td>Linus Torvalds <torvalds@linux-foundation.org></td><td class='right'>2017-01-27 12:36:39 -0800</td></tr> <tr><th>committer</th><td>Linus Torvalds <torvalds@linux-foundation.org></td><td class='right'>2017-01-27 12:36:39 -0800</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/ipv6/exthdrs.c?h=nds-private-remove&id=2fb78e89405f4321b86274a0c24b30896dd50529'>2fb78e89405f4321b86274a0c24b30896dd50529</a> (<a href='/cgit.cgi/linux/net-next.git/patch/net/ipv6/exthdrs.c?id=2fb78e89405f4321b86274a0c24b30896dd50529'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?h=nds-private-remove&id=2fb78e89405f4321b86274a0c24b30896dd50529'>4de241e242441b80bd3f0022fc546bb07374571f</a> /<a href='/cgit.cgi/linux/net-next.git/tree/net/ipv6/exthdrs.c?h=nds-private-remove&id=2fb78e89405f4321b86274a0c24b30896dd50529'>net/ipv6/exthdrs.c</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/ipv6/exthdrs.c?h=nds-private-remove&id=dd3b9f25c867cb2507a45e436d6ede8eb08e7b05'>dd3b9f25c867cb2507a45e436d6ede8eb08e7b05</a> (<a href='/cgit.cgi/linux/net-next.git/diff/net/ipv6/exthdrs.c?h=nds-private-remove&id=2fb78e89405f4321b86274a0c24b30896dd50529&id2=dd3b9f25c867cb2507a45e436d6ede8eb08e7b05'>diff</a>)</td></tr><tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/ipv6/exthdrs.c?h=nds-private-remove&id=c14024dbb156c8392908aaa822097d27c6af8ec8'>c14024dbb156c8392908aaa822097d27c6af8ec8</a> (<a href='/cgit.cgi/linux/net-next.git/diff/net/ipv6/exthdrs.c?h=nds-private-remove&id=2fb78e89405f4321b86274a0c24b30896dd50529&id2=c14024dbb156c8392908aaa822097d27c6af8ec8'>diff</a>)</td></tr></table> <div class='commit-subject'>Merge branch 'for-linus' of git://git.kernel.dk/linux-block</div><div class='commit-msg'>Pull block fixes from Jens Axboe: "A set of fixes for this series. This contains: - Set of fixes for the nvme target code - A revert of patch from this merge window, causing a regression with WRITE_SAME on iSCSI targets at least. - A fix for a use-after-free in the new O_DIRECT bdev code. - Two fixes for the xen-blkfront driver" * 'for-linus' of git://git.kernel.dk/linux-block: Revert "sd: remove __data_len hack for WRITE SAME" nvme-fc: use blk_rq_nr_phys_segments nvmet-rdma: Fix missing dma sync to nvme data structures nvmet: Call fatal_error from keep-alive timout expiration nvmet: cancel fatal error and flush async work before free controller nvmet: delete controllers deletion upon subsystem release nvmet_fc: correct logic in disconnect queue LS handling block: fix use after free in __blkdev_direct_IO xen-blkfront: correct maximum segment accounting xen-blkfront: feature flags handling adjustments </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?h=nds-private-remove&id=2fb78e89405f4321b86274a0c24b30896dd50529'>Diffstat</a> (limited to 'net/ipv6/exthdrs.c')</div><table summary='diffstat' class='diffstat'>