<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/Documentation/driver-api/usb/writing_usb_driver.rst, branch linux-rolling-stable</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2021-11-17T13:54:58Z</updated>
<entry>
<title>Docs: usb: update writesize, copy_from_user, usb_fill_bulk_urb, usb_submit_urb</title>
<updated>2021-11-17T13:54:58Z</updated>
<author>
<name>Philipp Hortmann</name>
<email>philipp.g.hortmann@gmail.com</email>
</author>
<published>2021-10-30T11:25:10Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6352f24ba40f4ebbb21cfa660ebb7a430c4fbdc5'/>
<id>urn:sha1:6352f24ba40f4ebbb21cfa660ebb7a430c4fbdc5</id>
<content type='text'>
update code examples writesize, copy_from_user, usb_fill_bulk_urb,
usb_submit_urb in skel_write() according to usb-skeleton.c

Signed-off-by: Philipp Hortmann &lt;philipp.g.hortmann@gmail.com&gt;
Link: https://lore.kernel.org/r/0c581a83dfc1a8c37e97dfa7279d333f367a9787.1635591623.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Docs: usb: update comment and code near increment usage count</title>
<updated>2021-11-17T13:54:58Z</updated>
<author>
<name>Philipp Hortmann</name>
<email>philipp.g.hortmann@gmail.com</email>
</author>
<published>2021-10-30T11:25:04Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=925ed163abcfa0e27787a9989c12a5e98b7a12fd'/>
<id>urn:sha1:925ed163abcfa0e27787a9989c12a5e98b7a12fd</id>
<content type='text'>
update comment: increment our usage count ..
and code according to usb-skeleton.c

Signed-off-by: Philipp Hortmann &lt;philipp.g.hortmann@gmail.com&gt;
Link: https://lore.kernel.org/r/38c6205d6b5c612902f9c187154c05e9cca51107.1635591623.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Docs: usb: update err() to pr_err() and replace __FILE__</title>
<updated>2021-11-17T13:54:58Z</updated>
<author>
<name>Philipp Hortmann</name>
<email>philipp.g.hortmann@gmail.com</email>
</author>
<published>2021-10-30T11:24:55Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=7ef0d85c87d15f62e0e8ae675ac3c027221bb72e'/>
<id>urn:sha1:7ef0d85c87d15f62e0e8ae675ac3c027221bb72e</id>
<content type='text'>
update err() to pr_err() and replace __FILE__

Signed-off-by: Philipp Hortmann &lt;philipp.g.hortmann@gmail.com&gt;
Link: https://lore.kernel.org/r/2c477cb0cf5214ae9abf9a4a9de28fcb38f90070.1635591623.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Documentation: USB: fix example bulk-message timeout</title>
<updated>2021-10-26T17:12:27Z</updated>
<author>
<name>Johan Hovold</name>
<email>johan@kernel.org</email>
</author>
<published>2021-10-25T11:51:58Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ebcf652dbb22c14a21a01ee5431448f13ffb24d6'/>
<id>urn:sha1:ebcf652dbb22c14a21a01ee5431448f13ffb24d6</id>
<content type='text'>
USB bulk-message timeouts are specified in milliseconds and should
specifically not vary with CONFIG_HZ.

Use a fixed five-second timeout in the "Writing USB Device Drivers"
example.

Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Link: https://lore.kernel.org/r/20211025115159.4954-2-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Docs: usb: remove :c:func: for usb_register and usb_deregister</title>
<updated>2021-10-25T07:14:58Z</updated>
<author>
<name>Philipp Hortmann</name>
<email>philipp.g.hortmann@gmail.com</email>
</author>
<published>2021-10-25T05:09:55Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=33ef298651e9fc0ed42c6b4140d40718a0e03ca2'/>
<id>urn:sha1:33ef298651e9fc0ed42c6b4140d40718a0e03ca2</id>
<content type='text'>
remove :c:func: for usb_register and usb_deregister

Signed-off-by: Philipp Hortmann &lt;philipp.g.hortmann@gmail.com&gt;
Link: https://lore.kernel.org/r/0ace789dfbe2d4562c27d374afa5ff078efe2261.1635138058.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Docs: usb: update struct usb_driver</title>
<updated>2021-10-25T07:14:58Z</updated>
<author>
<name>Philipp Hortmann</name>
<email>philipp.g.hortmann@gmail.com</email>
</author>
<published>2021-10-25T05:09:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=296ecb351599286270c8ecc7b780b67a61e5d085'/>
<id>urn:sha1:296ecb351599286270c8ecc7b780b67a61e5d085</id>
<content type='text'>
update struct usb_driver from usb-skeleton.c.

Signed-off-by: Philipp Hortmann &lt;philipp.g.hortmann@gmail.com&gt;
Link: https://lore.kernel.org/r/8084ad0e369d4e0bf10598292ee4bac46d09d03d.1635138058.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Replace HTTP links with HTTPS ones: Documentation/driver-api</title>
<updated>2020-06-26T17:09:04Z</updated>
<author>
<name>Alexander A. Klimov</name>
<email>grandmaster@al2klimov.de</email>
</author>
<published>2020-06-21T13:35:12Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d3603f4c30c24b43f49bf9c1dbc93b06f7a7775d'/>
<id>urn:sha1:d3603f4c30c24b43f49bf9c1dbc93b06f7a7775d</id>
<content type='text'>
Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.

Deterministic algorithm:
For each file:
  If not .svg:
    For each line:
      If doesn't contain `\bxmlns\b`:
        For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
          If both the HTTP and HTTPS versions
          return 200 OK and serve the same content:
            Replace HTTP with HTTPS.

Signed-off-by: Alexander A. Klimov &lt;grandmaster@al2klimov.de&gt;
Link: https://lore.kernel.org/r/20200621133512.46311-1-grandmaster@al2klimov.de
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>Documentation: driver-api/usb/writing_usb_driver.rst Updates documentation links</title>
<updated>2020-04-07T19:43:55Z</updated>
<author>
<name>Joakim Lönnegren</name>
<email>joakimlonnegren@gmail.com</email>
</author>
<published>2020-03-12T20:13:55Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=19905fe667b6d91305bd1db0fe98358668866114'/>
<id>urn:sha1:19905fe667b6d91305bd1db0fe98358668866114</id>
<content type='text'>
In writing_usb_driver.rst:
Remove link to https://www.qbik.ch/usb/devices/ since it seems to be inactive since 2013
Update link to linux-usb mailing list archive

Signed-off-by: Joakim Lönnegren &lt;joakimlonnegren@gmail.com&gt;
Link: https://lore.kernel.org/r/20200312201354.285839-1-joakimlonnegren@gmail.om
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>Documentation/driver-api/usb: Replace dead link</title>
<updated>2017-12-11T21:35:03Z</updated>
<author>
<name>Stefan Tatschner</name>
<email>stefan.tatschner@gmail.com</email>
</author>
<published>2017-12-08T00:12:09Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3ece7805105ef5967fd88547ac958c6d59329e9c'/>
<id>urn:sha1:3ece7805105ef5967fd88547ac958c6d59329e9c</id>
<content type='text'>
This link is dead:

    $ curl -vI http://usb.cs.tum.edu/usbdoc
    * Could not resolve host: usb.cs.tum.edu
    * Closing connection 0
    curl: (6) Could not resolve host: usb.cs.tum.edu

I found the document somewhere else. Let's replace it.

Signed-off-by: Stefan Tatschner &lt;stefan.tatschner@gmail.com&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>writing_usb_driver.rst: Enrich its ReST representation</title>
<updated>2017-04-11T20:38:18Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@s-opensource.com</email>
</author>
<published>2017-04-05T13:23:00Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0e8c46d0326ef6ade51789159ca774c9178d6988'/>
<id>urn:sha1:0e8c46d0326ef6ade51789159ca774c9178d6988</id>
<content type='text'>
The pandoc conversion is not perfect. Do handwork in order to:

- add a title to this chapter;
- adjust function and struct references;
- use monospaced fonts for C code names;
- some other minor adjustments to make it better to read in
  text mode and in html.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
</feed>
