Skip to contentSkip to conversation

docs/uio: fix a grammar nitpick

PATCH In review Will Korteland 2 participants 4 messages Oct 16, 2018 – Oct 19, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 docs/uio: fix a grammar nitpick

This patch fixes a minor, incorrect piece of grammar in the UIO howto.

---
The sole change since v1 is that I re-did the patch against linux-next-20181016 instead of linux. Sorry for the extra work Greg, and thanks Randy for the acked-by.

 Documentation/driver-api/uio-howto.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/driver-api/uio-howto.rst +0 -0
index fb2eb73be4a3..25f50eace28b 100644
@@ -463,8 +463,8 @@ Getting information about your UIO device
 
 Information about all UIO devices is available in sysfs. The first 

thing
you should do in your driver is check ``name`` and ``version`` to make
-sure your talking to the right device and that its kernel driver has the -version you expect.
+sure you're talking to the right device and that its kernel driver has +the version you expect.

You should also make sure that the memory mapping you need exists and has the size you expect.

Signature · 1 line
2.19.1
maintainer
#1 lore raw
Quoted 8 lines · On Tue, 16 Oct 2018 08:57:44 +0000 (UTC) Will Korteland <[email protected]> wrote:

This patch fixes a minor, incorrect piece of grammar in the UIO howto.

---
The sole change since v1 is that I re-did the patch against linux-next-20181016 instead of linux. Sorry for the extra work Greg, and thanks Randy for the acked-by.

Unfortunately, this patch is badly white-space mangled. I tried fixing it up but eventually had to give up and move on.

Please fix up your email client so that this doesn't happen; see Documentation/process/email-clients.rst for some helpful suggestions to that end. Once you can email the patch to yourself and apply the result successfully, please resubmit it.

Thanks,

jon

Quoted 22 lines
  Documentation/driver-api/uio-howto.rst | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/driver-api/uio-howto.rst +0 -0
index fb2eb73be4a3..25f50eace28b 100644
@@ -463,8 +463,8 @@ Getting information about your UIO device
 
  Information about all UIO devices is available in sysfs. The first 

thing
you should do in your driver is check ``name`` and ``version`` to make
-sure your talking to the right device and that its kernel driver has the

Documentation/driver-api/uio-howto.rst +2 -1
-version you expect.
+sure you're talking to the right device and that its kernel driver has
+the version you expect.
 
  You should also make sure that the memory mapping you need exists and
  has the size you expect.
#2 lore raw
Quoted 7 lines · Jonathan Corbet

Unfortunately, this patch is badly white-space mangled. I tried fixing it up but eventually had to give up and move on.

Please fix up your email client so that this doesn't happen; see Documentation/process/email-clients.rst for some helpful suggestions to that end. Once you can email the patch to yourself and apply the result successfully, please resubmit it.

Thanks for taking the time to look at this. I might let it be, since it's made it into linux-next-20181019 fine - I got an email from Greg KH to that effect as well.

That said, I'll be a bit more careful next time round, just in case someone's manually fixed up the whitespace without telling me. Thanks for the pointer to the email docs, but unfortunately my client isn't covered there. Still, I've used it as a guide for the kind of settings I need, hopefully my patches won't get mangled from now on.

- Will

maintainer
#3 lore raw
Quoted 4 lines · On Fri, 19 Oct 2018 10:55:58 +0000 (UTC) Will Korteland <[email protected]> wrote:

Thanks for
the pointer to the email docs, but unfortunately my client isn't covered there. Still, I've used it as a guide for the kind of settings I need, hopefully my patches won't get mangled from now on.

When you figure out what's needed to bring your client into line, I would more than welcome a patch to email-clients.rst providing the necessary information for the next person who comes along!

Thanks,

jon