Re: [PATCH] Documentation: fix common spelling mistakes

From: Kees Cook
Date: Tue Apr 26 2016 - 19:37:48 EST


On Tue, Apr 26, 2016 at 4:34 PM, Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
> On 04/26/16 16:28, Kees Cook wrote:
>> This fixes several spelling mistakes in the Documentation/ tree, which
>> are caught by checkpatch.pl's spell checking.
>>
>> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
>> ---
>> Documentation/ABI/obsolete/sysfs-driver-hid-roccat-savu | 4 ++--
>> Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7 | 2 +-
>> Documentation/ABI/testing/sysfs-driver-hid-picolcd | 2 +-
>> Documentation/ABI/testing/sysfs-firmware-acpi | 2 +-
>> Documentation/DocBook/media/v4l/controls.xml | 2 +-
>> Documentation/DocBook/media/v4l/dev-raw-vbi.xml | 2 +-
>> Documentation/DocBook/media/v4l/vidioc-g-selection.xml | 2 +-
>> Documentation/RCU/RTFP.txt | 6 +++---
>> Documentation/arm/SA1100/Assabet | 2 +-
>> Documentation/devicetree/bindings/mfd/arizona.txt | 2 +-
>> Documentation/filesystems/cifs/README | 2 +-
>> Documentation/filesystems/pohmelfs/design_notes.txt | 2 +-
>> Documentation/filesystems/qnx6.txt | 2 +-
>> Documentation/firmware_class/README | 2 +-
>> Documentation/hwmon/abituguru | 2 +-
>> Documentation/infiniband/ipoib.txt | 2 +-
>> Documentation/networking/altera_tse.txt | 2 +-
>> Documentation/networking/can.txt | 2 +-
>> Documentation/scsi/bfa.txt | 2 +-
>> Documentation/timers/hrtimers.txt | 2 +-
>> Documentation/video4linux/README.cx88 | 2 +-
>> Documentation/video4linux/bttv/Sound-FAQ | 2 +-
>> Documentation/vm/hugetlbpage.txt | 2 +-
>> 23 files changed, 26 insertions(+), 26 deletions(-)
>>
>> diff --git a/Documentation/ABI/obsolete/sysfs-driver-hid-roccat-savu b/Documentation/ABI/obsolete/sysfs-driver-hid-roccat-savu
>> index f1e02a98bd9d..846c3d5b6d8c 100644
>> --- a/Documentation/ABI/obsolete/sysfs-driver-hid-roccat-savu
>> +++ b/Documentation/ABI/obsolete/sysfs-driver-hid-roccat-savu
>> @@ -3,7 +3,7 @@ Date: Mai 2012
>> Contact: Stefan Achatz <erazor_de@xxxxxxxxxxxxxxxxxxxxx>
>> Description: The mouse can store 5 profiles which can be switched by the
>> press of a button. A profile is split into general settings and
>> - button settings. buttons holds informations about button layout.
>> + button settings. buttons holds information about button layout.
>
> hold
>
>> When written, this file lets one write the respective profile
>> buttons to the mouse. The data has to be 47 bytes long.
>> The mouse will reject invalid data.
>> @@ -26,7 +26,7 @@ Date: Mai 2012
>> Contact: Stefan Achatz <erazor_de@xxxxxxxxxxxxxxxxxxxxx>
>> Description: The mouse can store 5 profiles which can be switched by the
>> press of a button. A profile is split into general settings and
>> - button settings. profile holds informations like resolution, sensitivity
>> + button settings. profile holds information like resolution, sensitivity
>
> profiles hold
> or
> A profile holds

Yeah, that bugged me too. I'll fix this (and I think there's a
"button" leading a sentence in there too..)

>
>> and light effects.
>> When written, this file lets one write the respective profile
>> settings back to the mouse. The data has to be 43 bytes long.
>
>
>> diff --git a/Documentation/firmware_class/README b/Documentation/firmware_class/README
>> index 71f86859d7d8..434e5db25fc0 100644
>> --- a/Documentation/firmware_class/README
>> +++ b/Documentation/firmware_class/README
>> @@ -20,7 +20,7 @@
>>
>> 1), kernel(driver):
>> - calls request_firmware(&fw_entry, $FIRMWARE, device)
>> - - kernel searchs the fimware image with name $FIRMWARE directly
>> + - kernel searches the fimware image with name $FIRMWARE directly
>
> firmware

Hah. I should add that to the checkpatch misspellings. ;)

-Kees

>
>> in the below search path of root filesystem:
>> User customized search path by module parameter 'path'[1]
>> "/lib/firmware/updates/" UTS_RELEASE,
>
> --
> ~Randy



--
Kees Cook
Chrome OS & Brillo Security