Commit 50fd82b3 authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'docs-5.19-2' of git://git.lwn.net/linux

Pull documentation fixes from Jonathan Corbet:
 "A handful of late-arriving documentation fixes and the addition of an
  SVG tux logo which, I'm assured, we're going to want"

* tag 'docs-5.19-2' of git://git.lwn.net/linux:
  documentation: Format button_dev as a pointer.
  docs: add SVG version of the Linux logo
  docs: move Linux logo into a new `images` folder
  docs: blockdev: change title to match section content
  docs/conf.py: Cope with removal of language=None in Sphinx 5.0.0
parents baf86ac1 a27e51b4
.. SPDX-License-Identifier: GPL-2.0 .. SPDX-License-Identifier: GPL-2.0
=========================== =============
The Linux RapidIO Subsystem Block Devices
=========================== =============
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1
......
...@@ -161,7 +161,7 @@ finally: ...@@ -161,7 +161,7 @@ finally:
# #
# This is also used if you do content translation via gettext catalogs. # This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases. # Usually you set "language" from the command line for these cases.
language = None language = 'en'
# There are two options for replacing |today|: either, you set today to some # There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used: # non-false value, then it is used:
......
...@@ -11,3 +11,11 @@ Larry's web-page: ...@@ -11,3 +11,11 @@ Larry's web-page:
https://www.isc.tamu.edu/~lewing/linux/ https://www.isc.tamu.edu/~lewing/linux/
The SVG version was re-illustrated in vector by Garrett LeSage and
refined and cleaned up by IFo Hancroft. It is also freely usable
as long as you acknowledge Larry, Garrett and IFo as above.
There are also black-and-white and inverted vector versions at
Garrett's repository:
https://github.com/garrett/Tux
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -85,15 +85,15 @@ accepted by this input device. Our example device can only generate EV_KEY ...@@ -85,15 +85,15 @@ accepted by this input device. Our example device can only generate EV_KEY
type events, and from those only BTN_0 event code. Thus we only set these type events, and from those only BTN_0 event code. Thus we only set these
two bits. We could have used:: two bits. We could have used::
set_bit(EV_KEY, button_dev.evbit); set_bit(EV_KEY, button_dev->evbit);
set_bit(BTN_0, button_dev.keybit); set_bit(BTN_0, button_dev->keybit);
as well, but with more than single bits the first approach tends to be as well, but with more than single bits the first approach tends to be
shorter. shorter.
Then the example driver registers the input device structure by calling:: Then the example driver registers the input device structure by calling::
input_register_device(&button_dev); input_register_device(button_dev);
This adds the button_dev structure to linked lists of the input driver and This adds the button_dev structure to linked lists of the input driver and
calls device handler modules _connect functions to tell them a new input calls device handler modules _connect functions to tell them a new input
......
#!/bin/sh #!/bin/sh
# run check on a text and a binary file # run check on a text and a binary file
for FILE in Makefile Documentation/logo.gif; do for FILE in Makefile Documentation/images/logo.gif; do
python3 scripts/spdxcheck.py $FILE python3 scripts/spdxcheck.py $FILE
python3 scripts/spdxcheck.py - < $FILE python3 scripts/spdxcheck.py - < $FILE
done done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment