2020-06-09 16:05:38

by FLAVIO SULIGOI

[permalink] [raw]
Subject: [PATCH 1/1] tty: fix spelling mistake

Fix typo: "tigger" --> "trigger"

Signed-off-by: Flavio Suligoi <[email protected]>
---
drivers/tty/moxa.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/moxa.h b/drivers/tty/moxa.h
index 563d2dce80b3..f0a4381b6861 100644
--- a/drivers/tty/moxa.h
+++ b/drivers/tty/moxa.h
@@ -138,7 +138,7 @@
#define IntrQuit 0x40 /* received QUIT code */
#define IntrEOF 0x80 /* received EOF code */

-#define IntrRxTrigger 0x100 /* rx data count reach tigger value */
+#define IntrRxTrigger 0x100 /* rx data count reach trigger value */
#define IntrTxTrigger 0x200 /* tx data count below trigger value */

#define Magic_no (Config_base + 0)
--
2.17.1


2020-06-09 17:57:26

by Joe Perches

[permalink] [raw]
Subject: Re: [PATCH 1/1] tty: fix spelling mistake

On Tue, 2020-06-09 at 18:02 +0200, Flavio Suligoi wrote:
> Fix typo: "tigger" --> "trigger"

Thanks.

fyi:

$ git grep -w -i tigger
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c: * software tigger (systrig, hrtimer).
drivers/leds/led-triggers.c:/* Simple LED Tigger Interface */
drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h:/* fake firmware event for tigger */
drivers/tty/moxa.h:#define IntrRxTrigger 0x100 /* rx data count reach tigger value */
kernel/trace/trace.c: * to store the trace event for the tigger to use. It's recusive
tools/testing/selftests/ftrace/test.d/trigger/trigger-hist.tc:echo "Test histogram basic tigger"
tools/testing/selftests/ftrace/test.d/trigger/trigger-stacktrace.tc:echo "Test stacktrace tigger"
tools/testing/selftests/ftrace/test.d/trigger/trigger-trace-marker-hist.tc:echo "Test histogram trace_marker tigger"
tools/testing/selftests/ftrace/test.d/trigger/trigger-trace-marker-snapshot.tc:echo "Test snapshot trace_marker tigger"



2020-06-09 20:39:49

by Jiri Slaby

[permalink] [raw]
Subject: Re: [PATCH 1/1] tty: fix spelling mistake

On 09. 06. 20, 19:37, Joe Perches wrote:
> On Tue, 2020-06-09 at 18:02 +0200, Flavio Suligoi wrote:
>> Fix typo: "tigger" --> "trigger"
>
> Thanks.
>
> fyi:
>
> $ git grep -w -i tigger

FYI:
git grep -wi triger
...
worth fixing too :).

--
js
suse labs

2020-06-10 13:55:38

by FLAVIO SULIGOI

[permalink] [raw]
Subject: RE: [PATCH 1/1] tty: fix spelling mistake

Hi Joe,

> On Tue, 2020-06-09 at 18:02 +0200, Flavio Suligoi wrote:
> > Fix typo: "tigger" --> "trigger"
>
> Thanks.
>
> fyi:
>
> $ git grep -w -i tigger

Thanks for your suggestion!

> drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c:
> * software tigger (systrig, hrtimer).
> drivers/leds/led-triggers.c:/* Simple LED Tigger Interface */
> drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h:/* fake firmware event for

Flavio

2020-06-10 16:08:18

by FLAVIO SULIGOI

[permalink] [raw]
Subject: RE: [PATCH 1/1] tty: fix spelling mistake

Hi Jiri,

> Subject: Re: [PATCH 1/1] tty: fix spelling mistake
>
> On 09. 06. 20, 19:37, Joe Perches wrote:
> > On Tue, 2020-06-09 at 18:02 +0200, Flavio Suligoi wrote:
> >> Fix typo: "tigger" --> "trigger"
> >
> > Thanks.
> >
> > fyi:
> >
> > $ git grep -w -i tigger
>
> FYI:
> git grep -wi triger
> ...
> worth fixing too :).

ok

>
> --
> js
> suse labs

Regards,

Flavio