2018-05-06 11:28:58

by Wolfram Sang

[permalink] [raw]
Subject: [PATCH 0/9] tree-wide: fix typo 'can by' to 'can be'

I found this kind of typo when reading the documentation for device_remove().
So, I checked the tree for it.

CCing all the subsystems directly, and I'd think the leftover ones could be
picked up by the trivial tree. Or would it be more convenient if trivial would
pick up all? I don't mind.

Based on v4.17-rc3.

Wolfram Sang (9):
dt-bindings: i2c: fix typo 'can by' to 'can be'
powerpc/watchdog: fix typo 'can by' to 'can be'
base: core: fix typo 'can by' to 'can be'
hwmon: fschmd: fix typo 'can by' to 'can be'
input: ati_remote2: fix typo 'can by' to 'can be'
NTB: ntb_hw_idt: fix typo 'can by' to 'can be'
reiserfs: journal: fix typo 'can by' to 'can be'
net: flow_dissector: fix typo 'can by' to 'can be'
objtool: fix typo 'can by' to 'can be'

Documentation/devicetree/bindings/i2c/i2c-davinci.txt | 2 +-
arch/powerpc/kernel/watchdog.c | 2 +-
drivers/base/core.c | 2 +-
drivers/hwmon/fschmd.c | 2 +-
drivers/input/misc/ati_remote2.c | 2 +-
drivers/ntb/hw/idt/ntb_hw_idt.c | 2 +-
fs/reiserfs/journal.c | 2 +-
include/net/flow_dissector.h | 2 +-
tools/objtool/Documentation/stack-validation.txt | 2 +-
9 files changed, 9 insertions(+), 9 deletions(-)

--
2.11.0



2018-05-06 11:25:23

by Wolfram Sang

[permalink] [raw]
Subject: [PATCH 6/9] NTB: ntb_hw_idt: fix typo 'can by' to 'can be'

Signed-off-by: Wolfram Sang <[email protected]>
---
drivers/ntb/hw/idt/ntb_hw_idt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ntb/hw/idt/ntb_hw_idt.c b/drivers/ntb/hw/idt/ntb_hw_idt.c
index 8d98872d0983b7..dbe72f116017ab 100644
--- a/drivers/ntb/hw/idt/ntb_hw_idt.c
+++ b/drivers/ntb/hw/idt/ntb_hw_idt.c
@@ -1401,7 +1401,7 @@ static int idt_ntb_peer_mw_clear_trans(struct ntb_dev *ntb, int pidx,
* 5. Doorbell operations
*
* Doorbell functionality of IDT PCIe-switches is pretty unusual. First of
- * all there is global doorbell register which state can by changed by any
+ * all there is global doorbell register which state can be changed by any
* NT-function of the IDT device in accordance with global permissions. These
* permissions configs are not supported by NTB API, so it must be done by
* either BIOS or EEPROM settings. In the same way the state of the global
--
2.11.0


2018-05-06 11:25:23

by Wolfram Sang

[permalink] [raw]
Subject: [PATCH 4/9] hwmon: fschmd: fix typo 'can by' to 'can be'

Signed-off-by: Wolfram Sang <[email protected]>
---
drivers/hwmon/fschmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hwmon/fschmd.c b/drivers/hwmon/fschmd.c
index 5e78229ade049f..22d3a84f13ef58 100644
--- a/drivers/hwmon/fschmd.c
+++ b/drivers/hwmon/fschmd.c
@@ -105,7 +105,7 @@ static const u8 FSCHMD_REG_VOLT[7][6] = {
static const int FSCHMD_NO_VOLT_SENSORS[7] = { 3, 3, 3, 3, 3, 3, 6 };

/*
- * minimum pwm at which the fan is driven (pwm can by increased depending on
+ * minimum pwm at which the fan is driven (pwm can be increased depending on
* the temp. Notice that for the scy some fans share there minimum speed.
* Also notice that with the scy the sensor order is different than with the
* other chips, this order was in the 2.4 driver and kept for consistency.
--
2.11.0


2018-05-06 11:25:23

by Wolfram Sang

[permalink] [raw]
Subject: [PATCH 8/9] net: flow_dissector: fix typo 'can by' to 'can be'

Signed-off-by: Wolfram Sang <[email protected]>
---
include/net/flow_dissector.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/net/flow_dissector.h b/include/net/flow_dissector.h
index 9a074776f70b66..d1fcf2442a423b 100644
--- a/include/net/flow_dissector.h
+++ b/include/net/flow_dissector.h
@@ -251,7 +251,7 @@ extern struct flow_dissector flow_keys_buf_dissector;
* This structure is used to hold a digest of the full flow keys. This is a
* larger "hash" of a flow to allow definitively matching specific flows where
* the 32 bit skb->hash is not large enough. The size is limited to 16 bytes so
- * that it can by used in CB of skb (see sch_choke for an example).
+ * that it can be used in CB of skb (see sch_choke for an example).
*/
#define FLOW_KEYS_DIGEST_LEN 16
struct flow_keys_digest {
--
2.11.0


2018-05-06 11:25:28

by Wolfram Sang

[permalink] [raw]
Subject: [PATCH 9/9] objtool: fix typo 'can by' to 'can be'

Signed-off-by: Wolfram Sang <[email protected]>
---
tools/objtool/Documentation/stack-validation.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/objtool/Documentation/stack-validation.txt b/tools/objtool/Documentation/stack-validation.txt
index 3995735a878fe7..b8a32534b9d5de 100644
--- a/tools/objtool/Documentation/stack-validation.txt
+++ b/tools/objtool/Documentation/stack-validation.txt
@@ -136,7 +136,7 @@ To achieve the validation, objtool enforces the following rules:

3. Each callable function which calls another function must have the
correct frame pointer logic, if required by CONFIG_FRAME_POINTER or
- the architecture's back chain rules. This can by done in asm code
+ the architecture's back chain rules. This can be done in asm code
with the FRAME_BEGIN/FRAME_END macros.

This rule ensures that frame pointer based stack traces will work as
--
2.11.0


2018-05-06 11:27:45

by Wolfram Sang

[permalink] [raw]
Subject: [PATCH 3/9] base: core: fix typo 'can by' to 'can be'

Signed-off-by: Wolfram Sang <[email protected]>
---
drivers/base/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/base/core.c b/drivers/base/core.c
index b610816eb887f9..4993bd8dfc52c5 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -2684,7 +2684,7 @@ static int device_move_class_links(struct device *dev,
/**
* device_move - moves a device to a new parent
* @dev: the pointer to the struct device to be moved
- * @new_parent: the new parent of the device (can by NULL)
+ * @new_parent: the new parent of the device (can be NULL)
* @dpm_order: how to reorder the dpm_list
*/
int device_move(struct device *dev, struct device *new_parent,
--
2.11.0


2018-05-06 11:27:52

by Wolfram Sang

[permalink] [raw]
Subject: [PATCH 7/9] reiserfs: journal: fix typo 'can by' to 'can be'

Signed-off-by: Wolfram Sang <[email protected]>
---
fs/reiserfs/journal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/reiserfs/journal.c b/fs/reiserfs/journal.c
index 23148c3ed67560..55704f57f78f82 100644
--- a/fs/reiserfs/journal.c
+++ b/fs/reiserfs/journal.c
@@ -968,7 +968,7 @@ static int reiserfs_async_progress_wait(struct super_block *s)
* if this journal list still has commit blocks unflushed, send them to disk.
*
* log areas must be flushed in order (transaction 2 can't commit before
- * transaction 1) Before the commit block can by written, every other log
+ * transaction 1) Before the commit block can be written, every other log
* block must be safely on disk
*/
static int flush_commit_list(struct super_block *s,
--
2.11.0


2018-05-06 11:28:04

by Wolfram Sang

[permalink] [raw]
Subject: [PATCH 1/9] dt-bindings: i2c: fix typo 'can by' to 'can be'

Signed-off-by: Wolfram Sang <[email protected]>
---
Documentation/devicetree/bindings/i2c/i2c-davinci.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-davinci.txt b/Documentation/devicetree/bindings/i2c/i2c-davinci.txt
index 64e6e656c345c2..b745f3706120f0 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-davinci.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c-davinci.txt
@@ -24,7 +24,7 @@ Recommended properties :
- clock-frequency : desired I2C bus clock frequency in Hz.
- ti,has-pfunc: boolean; if defined, it indicates that SoC supports PFUNC
registers. PFUNC registers allow to switch I2C pins to function as
- GPIOs, so they can by toggled manually.
+ GPIOs, so they can be toggled manually.

Example (enbw_cmc board):
i2c@1c22000 {
--
2.11.0


2018-05-06 11:28:13

by Wolfram Sang

[permalink] [raw]
Subject: [PATCH 2/9] powerpc/watchdog: fix typo 'can by' to 'can be'

Signed-off-by: Wolfram Sang <[email protected]>
---
arch/powerpc/kernel/watchdog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/kernel/watchdog.c b/arch/powerpc/kernel/watchdog.c
index 6256dc3b0087d2..591f7c3af4ffcd 100644
--- a/arch/powerpc/kernel/watchdog.c
+++ b/arch/powerpc/kernel/watchdog.c
@@ -64,7 +64,7 @@
* means the CPU(s) with their bit still set in the pending mask have had
* their heartbeat stop, and action is taken.
*
- * Some platforms implement true NMI IPIs, which can by used by the SMP
+ * Some platforms implement true NMI IPIs, which can be used by the SMP
* watchdog to detect an unresponsive CPU and pull it out of its stuck
* state with the NMI IPI, to get crash/debug data from it. This way the
* SMP watchdog can detect hardware interrupts off lockups.
--
2.11.0


2018-05-06 11:28:13

by Wolfram Sang

[permalink] [raw]
Subject: [PATCH 5/9] input: ati_remote2: fix typo 'can by' to 'can be'

Signed-off-by: Wolfram Sang <[email protected]>
---
drivers/input/misc/ati_remote2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/misc/ati_remote2.c b/drivers/input/misc/ati_remote2.c
index ded5b84e336dae..d8fd58fdf05086 100644
--- a/drivers/input/misc/ati_remote2.c
+++ b/drivers/input/misc/ati_remote2.c
@@ -22,7 +22,7 @@ MODULE_LICENSE("GPL");
/*
* ATI Remote Wonder II Channel Configuration
*
- * The remote control can by assigned one of sixteen "channels" in order to facilitate
+ * The remote control can be assigned one of sixteen "channels" in order to facilitate
* the use of multiple remote controls within range of each other.
* A remote's "channel" may be altered by pressing and holding the "PC" button for
* approximately 3 seconds, after which the button will slowly flash the count of the
--
2.11.0


2018-05-08 03:48:07

by David Miller

[permalink] [raw]
Subject: Re: [PATCH 8/9] net: flow_dissector: fix typo 'can by' to 'can be'

From: Wolfram Sang <[email protected]>
Date: Sun, 6 May 2018 13:23:52 +0200

> Signed-off-by: Wolfram Sang <[email protected]>

Applied.

2018-05-08 04:45:43

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 4/9] hwmon: fschmd: fix typo 'can by' to 'can be'

On 05/06/2018 04:23 AM, Wolfram Sang wrote:
> Signed-off-by: Wolfram Sang <[email protected]>

Applied to hwmon-next.

Thanks,
Guenter

> ---
> drivers/hwmon/fschmd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hwmon/fschmd.c b/drivers/hwmon/fschmd.c
> index 5e78229ade049f..22d3a84f13ef58 100644
> --- a/drivers/hwmon/fschmd.c
> +++ b/drivers/hwmon/fschmd.c
> @@ -105,7 +105,7 @@ static const u8 FSCHMD_REG_VOLT[7][6] = {
> static const int FSCHMD_NO_VOLT_SENSORS[7] = { 3, 3, 3, 3, 3, 3, 6 };
>
> /*
> - * minimum pwm at which the fan is driven (pwm can by increased depending on
> + * minimum pwm at which the fan is driven (pwm can be increased depending on
> * the temp. Notice that for the scy some fans share there minimum speed.
> * Also notice that with the scy the sensor order is different than with the
> * other chips, this order was in the 2.4 driver and kept for consistency.
>


2018-05-08 22:41:32

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [PATCH 5/9] input: ati_remote2: fix typo 'can by' to 'can be'

On Sun, May 06, 2018 at 01:23:49PM +0200, Wolfram Sang wrote:
> Signed-off-by: Wolfram Sang <[email protected]>

Applied, thank you.

> ---
> drivers/input/misc/ati_remote2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/input/misc/ati_remote2.c b/drivers/input/misc/ati_remote2.c
> index ded5b84e336dae..d8fd58fdf05086 100644
> --- a/drivers/input/misc/ati_remote2.c
> +++ b/drivers/input/misc/ati_remote2.c
> @@ -22,7 +22,7 @@ MODULE_LICENSE("GPL");
> /*
> * ATI Remote Wonder II Channel Configuration
> *
> - * The remote control can by assigned one of sixteen "channels" in order to facilitate
> + * The remote control can be assigned one of sixteen "channels" in order to facilitate
> * the use of multiple remote controls within range of each other.
> * A remote's "channel" may be altered by pressing and holding the "PC" button for
> * approximately 3 seconds, after which the button will slowly flash the count of the
> --
> 2.11.0
>

--
Dmitry

2018-05-10 10:42:11

by Wolfram Sang

[permalink] [raw]
Subject: Re: [PATCH 1/9] dt-bindings: i2c: fix typo 'can by' to 'can be'

On Sun, May 06, 2018 at 01:23:45PM +0200, Wolfram Sang wrote:
> Signed-off-by: Wolfram Sang <[email protected]>

Applied to for-next, thanks!


Attachments:
(No filename) (163.00 B)
signature.asc (849.00 B)
Download all attachments

2018-05-10 14:07:40

by Michael Ellerman

[permalink] [raw]
Subject: Re: [2/9] powerpc/watchdog: fix typo 'can by' to 'can be'

On Sun, 2018-05-06 at 11:23:46 UTC, Wolfram Sang wrote:
> Signed-off-by: Wolfram Sang <[email protected]>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/7c18659dd498b25c6651ba83d4267b

cheers

2018-05-11 13:13:08

by Serge Semin

[permalink] [raw]
Subject: Re: [PATCH 6/9] NTB: ntb_hw_idt: fix typo 'can by' to 'can be'

On Sun, May 06, 2018 at 01:23:50PM +0200, Wolfram Sang <[email protected]> wrote:
> Signed-off-by: Wolfram Sang <[email protected]>
> ---
> drivers/ntb/hw/idt/ntb_hw_idt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/ntb/hw/idt/ntb_hw_idt.c b/drivers/ntb/hw/idt/ntb_hw_idt.c
> index 8d98872d0983b7..dbe72f116017ab 100644
> --- a/drivers/ntb/hw/idt/ntb_hw_idt.c
> +++ b/drivers/ntb/hw/idt/ntb_hw_idt.c
> @@ -1401,7 +1401,7 @@ static int idt_ntb_peer_mw_clear_trans(struct ntb_dev *ntb, int pidx,
> * 5. Doorbell operations
> *
> * Doorbell functionality of IDT PCIe-switches is pretty unusual. First of
> - * all there is global doorbell register which state can by changed by any
> + * all there is global doorbell register which state can be changed by any
> * NT-function of the IDT device in accordance with global permissions. These
> * permissions configs are not supported by NTB API, so it must be done by
> * either BIOS or EEPROM settings. In the same way the state of the global

Acked-by: Serge Semin <[email protected]>

> --
> 2.11.0
>

2018-05-22 00:36:34

by Jon Mason

[permalink] [raw]
Subject: Re: [PATCH 6/9] NTB: ntb_hw_idt: fix typo 'can by' to 'can be'

On Fri, May 11, 2018 at 04:12:36PM +0300, Serge Semin wrote:
> On Sun, May 06, 2018 at 01:23:50PM +0200, Wolfram Sang <[email protected]> wrote:
> > Signed-off-by: Wolfram Sang <[email protected]>
> > ---
> > drivers/ntb/hw/idt/ntb_hw_idt.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/ntb/hw/idt/ntb_hw_idt.c b/drivers/ntb/hw/idt/ntb_hw_idt.c
> > index 8d98872d0983b7..dbe72f116017ab 100644
> > --- a/drivers/ntb/hw/idt/ntb_hw_idt.c
> > +++ b/drivers/ntb/hw/idt/ntb_hw_idt.c
> > @@ -1401,7 +1401,7 @@ static int idt_ntb_peer_mw_clear_trans(struct ntb_dev *ntb, int pidx,
> > * 5. Doorbell operations
> > *
> > * Doorbell functionality of IDT PCIe-switches is pretty unusual. First of
> > - * all there is global doorbell register which state can by changed by any
> > + * all there is global doorbell register which state can be changed by any
> > * NT-function of the IDT device in accordance with global permissions. These
> > * permissions configs are not supported by NTB API, so it must be done by
> > * either BIOS or EEPROM settings. In the same way the state of the global
>
> Acked-by: Serge Semin <[email protected]>

Applied to my ntb-next branch.

Thanks,
Jon


>
> > --
> > 2.11.0
> >