Documentation/watchdog/watchdog-api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Not capitalizing "fahrenheit" is an extremely minor spelling mistake.
This commit fixes that.
Signed-off-by: David Hunter <david.hunter.linux@gmail.com>
---
Documentation/watchdog/watchdog-api.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/watchdog/watchdog-api.rst b/Documentation/watchdog/watchdog-api.rst
index 800dcd7586f2..78e228c272cf 100644
--- a/Documentation/watchdog/watchdog-api.rst
+++ b/Documentation/watchdog/watchdog-api.rst
@@ -249,7 +249,7 @@ Note that not all devices support these two calls, and some only
support the GETBOOTSTATUS call.
Some drivers can measure the temperature using the GETTEMP ioctl. The
-returned value is the temperature in degrees fahrenheit::
+returned value is the temperature in degrees Fahrenheit::
int temperature;
ioctl(fd, WDIOC_GETTEMP, &temperature);
--
2.34.1
On 7/23/24 06:18, David Hunter wrote: > Not capitalizing "fahrenheit" is an extremely minor spelling mistake. > This commit fixes that. > Please at least follow guidelines for submitting patches, specifically "Describe your changes in imperative mood, e.g. "make xyzzy do frotz" instead of "[This patch] makes xyzzy do frotz" or "[I] changed xyzzy to do frotz", as if you are giving orders to the codebase to change its behaviour. " Guenter > Signed-off-by: David Hunter <david.hunter.linux@gmail.com> > --- > Documentation/watchdog/watchdog-api.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/watchdog/watchdog-api.rst b/Documentation/watchdog/watchdog-api.rst > index 800dcd7586f2..78e228c272cf 100644 > --- a/Documentation/watchdog/watchdog-api.rst > +++ b/Documentation/watchdog/watchdog-api.rst > @@ -249,7 +249,7 @@ Note that not all devices support these two calls, and some only > support the GETBOOTSTATUS call. > > Some drivers can measure the temperature using the GETTEMP ioctl. The > -returned value is the temperature in degrees fahrenheit:: > +returned value is the temperature in degrees Fahrenheit:: > > int temperature; > ioctl(fd, WDIOC_GETTEMP, &temperature);
On 7/23/24 6:57 AM, Guenter Roeck wrote: > On 7/23/24 06:18, David Hunter wrote: >> Not capitalizing "fahrenheit" is an extremely minor spelling mistake. >> This commit fixes that. >> > > Please at least follow guidelines for submitting patches, specifically > > "Describe your changes in imperative mood, e.g. "make xyzzy do frotz" > instead of "[This patch] makes xyzzy do frotz" or "[I] changed xyzzy > to do frotz", as if you are giving orders to the codebase to change > its behaviour. > " > > Guenter > Also, please spell it correctly in the $Subject. >> Signed-off-by: David Hunter <david.hunter.linux@gmail.com> >> --- >> Documentation/watchdog/watchdog-api.rst | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/Documentation/watchdog/watchdog-api.rst b/Documentation/watchdog/watchdog-api.rst >> index 800dcd7586f2..78e228c272cf 100644 >> --- a/Documentation/watchdog/watchdog-api.rst >> +++ b/Documentation/watchdog/watchdog-api.rst >> @@ -249,7 +249,7 @@ Note that not all devices support these two calls, and some only >> support the GETBOOTSTATUS call. >> Some drivers can measure the temperature using the GETTEMP ioctl. The >> -returned value is the temperature in degrees fahrenheit:: >> +returned value is the temperature in degrees Fahrenheit:: >> int temperature; >> ioctl(fd, WDIOC_GETTEMP, &temperature); > > -- ~Randy
Capitalize "fahrenheit," a spelling mistake.
Signed-off-by: David Hunter <david.hunter.linux@gmail.com>
---
V2 -> V3:
- Fixed misspelling of "Capitalize" in commit message.
- Put Tags and Kernel Subsystem in subject
- Put changelog after commit message
V1 -> V2:
- Fixed imperative mood
- Fixed misspelling of "Fahrenheit" in Subject
V2: https://lore.kernel.org/lkml/7b7ca7e0-6bd2-45ab-bd9b-40331a8e6fdd@roeck-us.net/
V1: https://lore.kernel.org/lkml/20240723131849.264939-1-david.hunter.linux@gmail.com/
Documentation/watchdog/watchdog-api.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/Documentation/watchdog/watchdog-api.rst b/Documentation/watchdog/watchdog-api.rst
index 800dcd7586f2..78e228c272cf 100644
--- a/Documentation/watchdog/watchdog-api.rst
+++ b/Documentation/watchdog/watchdog-api.rst
@@ -249,7 +249,7 @@ Note that not all devices support these two calls, and some only
support the GETBOOTSTATUS call.
Some drivers can measure the temperature using the GETTEMP ioctl. The
-returned value is the temperature in degrees fahrenheit::
+returned value is the temperature in degrees Fahrenheit::
int temperature;
ioctl(fd, WDIOC_GETTEMP, &temperature);
--
2.34.1
David Hunter <david.hunter.linux@gmail.com> writes: > Capitalize "fahrenheit," a spelling mistake. > > Signed-off-by: David Hunter <david.hunter.linux@gmail.com> > --- > V2 -> V3: > - Fixed misspelling of "Capitalize" in commit message. > - Put Tags and Kernel Subsystem in subject > - Put changelog after commit message > > V1 -> V2: > - Fixed imperative mood > - Fixed misspelling of "Fahrenheit" in Subject > > V2: https://lore.kernel.org/lkml/7b7ca7e0-6bd2-45ab-bd9b-40331a8e6fdd@roeck-us.net/ > > V1: https://lore.kernel.org/lkml/20240723131849.264939-1-david.hunter.linux@gmail.com/ > > Documentation/watchdog/watchdog-api.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > --- > diff --git a/Documentation/watchdog/watchdog-api.rst b/Documentation/watchdog/watchdog-api.rst > index 800dcd7586f2..78e228c272cf 100644 > --- a/Documentation/watchdog/watchdog-api.rst > +++ b/Documentation/watchdog/watchdog-api.rst > @@ -249,7 +249,7 @@ Note that not all devices support these two calls, and some only > support the GETBOOTSTATUS call. > > Some drivers can measure the temperature using the GETTEMP ioctl. The > -returned value is the temperature in degrees fahrenheit:: > +returned value is the temperature in degrees Fahrenheit:: Applied, thanks. jon
On 8/7/24 11:53, David Hunter wrote: > Capitalize "fahrenheit," a spelling mistake. > > Signed-off-by: David Hunter <david.hunter.linux@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> > --- > V2 -> V3: > - Fixed misspelling of "Capitalize" in commit message. > - Put Tags and Kernel Subsystem in subject > - Put changelog after commit message > > V1 -> V2: > - Fixed imperative mood > - Fixed misspelling of "Fahrenheit" in Subject > > V2: https://lore.kernel.org/lkml/7b7ca7e0-6bd2-45ab-bd9b-40331a8e6fdd@roeck-us.net/ > > V1: https://lore.kernel.org/lkml/20240723131849.264939-1-david.hunter.linux@gmail.com/ > > Documentation/watchdog/watchdog-api.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > --- > diff --git a/Documentation/watchdog/watchdog-api.rst b/Documentation/watchdog/watchdog-api.rst > index 800dcd7586f2..78e228c272cf 100644 > --- a/Documentation/watchdog/watchdog-api.rst > +++ b/Documentation/watchdog/watchdog-api.rst > @@ -249,7 +249,7 @@ Note that not all devices support these two calls, and some only > support the GETBOOTSTATUS call. > > Some drivers can measure the temperature using the GETTEMP ioctl. The > -returned value is the temperature in degrees fahrenheit:: > +returned value is the temperature in degrees Fahrenheit:: > > int temperature; > ioctl(fd, WDIOC_GETTEMP, &temperature);
© 2016 - 2024 Red Hat, Inc.