* [PATCH 0/4] Various corrections
@ 2023-06-28 10:10 Glenn Washburn
2023-06-28 10:10 ` [PATCH 1/4] misc: Fix typo Glenn Washburn
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: Glenn Washburn @ 2023-06-28 10:10 UTC (permalink / raw)
To: grub-devel, Daniel Kiper; +Cc: Oskari Pirhonen, Glenn Washburn
These are all fairly trivial changes, so I lumped them together.
Glenn
Glenn Washburn (4):
misc: Fix typo
misc: Add space after comma in function argument list
docs: Minor corrections
docs: Add missing assumption
docs/grub-dev.texi | 5 +++--
docs/grub.texi | 4 ++--
grub-core/commands/regexp.c | 2 +-
grub-core/kern/misc.c | 14 +++++++-------
4 files changed, 13 insertions(+), 12 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/4] misc: Fix typo
2023-06-28 10:10 [PATCH 0/4] Various corrections Glenn Washburn
@ 2023-06-28 10:10 ` Glenn Washburn
2023-06-28 10:10 ` [PATCH 2/4] misc: Add space after comma in function argument list Glenn Washburn
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Glenn Washburn @ 2023-06-28 10:10 UTC (permalink / raw)
To: grub-devel, Daniel Kiper; +Cc: Oskari Pirhonen, Glenn Washburn
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
grub-core/commands/regexp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grub-core/commands/regexp.c b/grub-core/commands/regexp.c
index 612003f94c82..246af39f058b 100644
--- a/grub-core/commands/regexp.c
+++ b/grub-core/commands/regexp.c
@@ -36,7 +36,7 @@ static const struct grub_arg_option options[] =
groups with parentheses. These groups are
then numbered and you can save some of
them in variables. In other programs
- those components aree often referenced with
+ those components are often referenced with
back slash, e.g. \1. Compare
sed -e 's,\([a-z][a-z]*\),lowercase=\1,g'
The whole matching component is saved in VARNAME, not its number.
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/4] misc: Add space after comma in function argument list
2023-06-28 10:10 [PATCH 0/4] Various corrections Glenn Washburn
2023-06-28 10:10 ` [PATCH 1/4] misc: Fix typo Glenn Washburn
@ 2023-06-28 10:10 ` Glenn Washburn
2023-06-28 10:10 ` [PATCH 3/4] docs: Minor corrections Glenn Washburn
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Glenn Washburn @ 2023-06-28 10:10 UTC (permalink / raw)
To: grub-devel, Daniel Kiper; +Cc: Oskari Pirhonen, Glenn Washburn
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
grub-core/kern/misc.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/grub-core/kern/misc.c b/grub-core/kern/misc.c
index 739cc56691a1..2890aad49fa7 100644
--- a/grub-core/kern/misc.c
+++ b/grub-core/kern/misc.c
@@ -1004,7 +1004,7 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0,
if (c != '%')
{
- write_char (str, &count, max_len,c);
+ write_char (str, &count, max_len, c);
continue;
}
@@ -1052,7 +1052,7 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0,
if (c == '%')
{
- write_char (str, &count, max_len,c);
+ write_char (str, &count, max_len, c);
n--;
continue;
}
@@ -1102,7 +1102,7 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0,
break;
case 'c':
- write_char (str, &count, max_len,curarg & 0xff);
+ write_char (str, &count, max_len, curarg & 0xff);
break;
case 'C':
@@ -1138,10 +1138,10 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0,
mask = 0;
}
- write_char (str, &count, max_len,mask | (code >> shift));
+ write_char (str, &count, max_len, mask | (code >> shift));
for (shift -= 6; shift >= 0; shift -= 6)
- write_char (str, &count, max_len,0x80 | (0x3f & (code >> shift)));
+ write_char (str, &count, max_len, 0x80 | (0x3f & (code >> shift)));
}
break;
@@ -1162,7 +1162,7 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0,
write_char (str, &count, max_len, zerofill);
for (i = 0; i < len; i++)
- write_char (str, &count, max_len,*p++);
+ write_char (str, &count, max_len, *p++);
if (rightfill)
while (fill--)
@@ -1172,7 +1172,7 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0,
break;
default:
- write_char (str, &count, max_len,c);
+ write_char (str, &count, max_len, c);
break;
}
}
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/4] docs: Minor corrections
2023-06-28 10:10 [PATCH 0/4] Various corrections Glenn Washburn
2023-06-28 10:10 ` [PATCH 1/4] misc: Fix typo Glenn Washburn
2023-06-28 10:10 ` [PATCH 2/4] misc: Add space after comma in function argument list Glenn Washburn
@ 2023-06-28 10:10 ` Glenn Washburn
2023-06-28 10:10 ` [PATCH 4/4] docs: Add missing assumption Glenn Washburn
2023-06-28 12:55 ` [PATCH 0/4] Various corrections Daniel Kiper
4 siblings, 0 replies; 8+ messages in thread
From: Glenn Washburn @ 2023-06-28 10:10 UTC (permalink / raw)
To: grub-devel, Daniel Kiper; +Cc: Oskari Pirhonen, Glenn Washburn
When referring to initrd16 the link for initrd16 should be used, not a link
for initrd. Also, correct the spelling of additionally and add a comma after
it to correct its grammatical usage.
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
docs/grub.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/grub.texi b/docs/grub.texi
index 5741b47989a1..b39b72230c6f 100644
--- a/docs/grub.texi
+++ b/docs/grub.texi
@@ -1012,11 +1012,11 @@ is discovered. This is achieved by GRUB loading a specially made
small image and passing it as ramdisk to the kernel. This is achieved
by commands @command{kfreebsd_module}, @command{knetbsd_module_elf},
@command{kopenbsd_ramdisk}, @command{initrd} (@pxref{initrd}),
-@command{initrd16} (@pxref{initrd}), @command{multiboot_module},
+@command{initrd16} (@pxref{initrd16}), @command{multiboot_module},
@command{multiboot2_module} or @command{xnu_ramdisk}
depending on the loader. Note that for knetbsd the image must be put
inside miniroot.kmod and the whole miniroot.kmod has to be loaded. In
-kopenbsd payload this is disabled by default. Aditionally behaviour of
+kopenbsd payload this is disabled by default. Additionally, behaviour of
initial ramdisk depends on command line options. Several distributors provide
the image for this purpose or it's integrated in their standard ramdisk and
activated by special option. Consult your kernel and distribution manual for
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 4/4] docs: Add missing assumption
2023-06-28 10:10 [PATCH 0/4] Various corrections Glenn Washburn
` (2 preceding siblings ...)
2023-06-28 10:10 ` [PATCH 3/4] docs: Minor corrections Glenn Washburn
@ 2023-06-28 10:10 ` Glenn Washburn
2023-06-29 3:20 ` Oskari Pirhonen
2023-06-28 12:55 ` [PATCH 0/4] Various corrections Daniel Kiper
4 siblings, 1 reply; 8+ messages in thread
From: Glenn Washburn @ 2023-06-28 10:10 UTC (permalink / raw)
To: grub-devel, Daniel Kiper; +Cc: Oskari Pirhonen, Glenn Washburn
Also reword a prior sentence to be more clear.
Fixes: 5a3d2b4742df (docs: Add debugging chapter to development documentation)
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
docs/grub-dev.texi | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi
index 72470b42c61a..a26171237d6a 100644
--- a/docs/grub-dev.texi
+++ b/docs/grub-dev.texi
@@ -660,10 +660,11 @@ GDB is started from the @file{grub-core} directory in the GRUB2 build
directory. GRUB2 developers have made this more simple by including a GDB
script which does much of the setup. This file at @file{grub-core/gdb_grub}
of the build directory and is also installed via @command{make install}.
-If not building GRUB, the distribution may have a package which installs
+When using a pre-built GRUB, the distribution may have a package which installs
this GDB script along with debug symbol binaries, such as Debian's
@samp{grub-pc-dbg} package. The GDB scripts is intended to by used
-like so, assuming:
+like so, assuming that @samp{/path/to/script} is the path to the directory
+containing the gdb_grub script and debug symbol files:
@example
cd $(dirname /path/to/script/gdb_grub)
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 0/4] Various corrections
2023-06-28 10:10 [PATCH 0/4] Various corrections Glenn Washburn
` (3 preceding siblings ...)
2023-06-28 10:10 ` [PATCH 4/4] docs: Add missing assumption Glenn Washburn
@ 2023-06-28 12:55 ` Daniel Kiper
4 siblings, 0 replies; 8+ messages in thread
From: Daniel Kiper @ 2023-06-28 12:55 UTC (permalink / raw)
To: Glenn Washburn; +Cc: grub-devel, Oskari Pirhonen
On Wed, Jun 28, 2023 at 05:10:06AM -0500, Glenn Washburn wrote:
> These are all fairly trivial changes, so I lumped them together.
>
> Glenn
>
> Glenn Washburn (4):
> misc: Fix typo
> misc: Add space after comma in function argument list
> docs: Minor corrections
> docs: Add missing assumption
For all patches Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>...
Daniel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 4/4] docs: Add missing assumption
2023-06-28 10:10 ` [PATCH 4/4] docs: Add missing assumption Glenn Washburn
@ 2023-06-29 3:20 ` Oskari Pirhonen
2023-06-29 18:06 ` Daniel Kiper
0 siblings, 1 reply; 8+ messages in thread
From: Oskari Pirhonen @ 2023-06-29 3:20 UTC (permalink / raw)
To: Glenn Washburn; +Cc: grub-devel, Daniel Kiper
[-- Attachment #1: Type: text/plain, Size: 1553 bytes --]
On Wed, Jun 28, 2023 at 05:10:10 -0500, Glenn Washburn wrote:
> Also reword a prior sentence to be more clear.
>
> Fixes: 5a3d2b4742df (docs: Add debugging chapter to development documentation)
> Signed-off-by: Glenn Washburn <development@efficientek.com>
> ---
> docs/grub-dev.texi | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi
> index 72470b42c61a..a26171237d6a 100644
> --- a/docs/grub-dev.texi
> +++ b/docs/grub-dev.texi
> @@ -660,10 +660,11 @@ GDB is started from the @file{grub-core} directory in the GRUB2 build
> directory. GRUB2 developers have made this more simple by including a GDB
> script which does much of the setup. This file at @file{grub-core/gdb_grub}
> of the build directory and is also installed via @command{make install}.
> -If not building GRUB, the distribution may have a package which installs
> +When using a pre-built GRUB, the distribution may have a package which installs
> this GDB script along with debug symbol binaries, such as Debian's
> @samp{grub-pc-dbg} package. The GDB scripts is intended to by used
> -like so, assuming:
> +like so, assuming that @samp{/path/to/script} is the path to the directory
> +containing the gdb_grub script and debug symbol files:
>
> @example
> cd $(dirname /path/to/script/gdb_grub)
> --
> 2.34.1
>
This patch does not apply on top of my docs fixes from earlier. So one
of us will have to rebase, depending on which patch goes in the tree
first.
- Oskari
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 4/4] docs: Add missing assumption
2023-06-29 3:20 ` Oskari Pirhonen
@ 2023-06-29 18:06 ` Daniel Kiper
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Kiper @ 2023-06-29 18:06 UTC (permalink / raw)
To: Oskari Pirhonen; +Cc: Glenn Washburn, grub-devel
On Wed, Jun 28, 2023 at 10:20:29PM -0500, Oskari Pirhonen wrote:
> On Wed, Jun 28, 2023 at 05:10:10 -0500, Glenn Washburn wrote:
> > Also reword a prior sentence to be more clear.
> >
> > Fixes: 5a3d2b4742df (docs: Add debugging chapter to development documentation)
> > Signed-off-by: Glenn Washburn <development@efficientek.com>
> > ---
> > docs/grub-dev.texi | 5 +++--
> > 1 file changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi
> > index 72470b42c61a..a26171237d6a 100644
> > --- a/docs/grub-dev.texi
> > +++ b/docs/grub-dev.texi
> > @@ -660,10 +660,11 @@ GDB is started from the @file{grub-core} directory in the GRUB2 build
> > directory. GRUB2 developers have made this more simple by including a GDB
> > script which does much of the setup. This file at @file{grub-core/gdb_grub}
> > of the build directory and is also installed via @command{make install}.
> > -If not building GRUB, the distribution may have a package which installs
> > +When using a pre-built GRUB, the distribution may have a package which installs
> > this GDB script along with debug symbol binaries, such as Debian's
> > @samp{grub-pc-dbg} package. The GDB scripts is intended to by used
> > -like so, assuming:
> > +like so, assuming that @samp{/path/to/script} is the path to the directory
> > +containing the gdb_grub script and debug symbol files:
> >
> > @example
> > cd $(dirname /path/to/script/gdb_grub)
> > --
> > 2.34.1
> >
>
> This patch does not apply on top of my docs fixes from earlier. So one
> of us will have to rebase, depending on which patch goes in the tree
> first.
Oskari, your patch will go first.
Daniel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-06-29 18:06 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-28 10:10 [PATCH 0/4] Various corrections Glenn Washburn
2023-06-28 10:10 ` [PATCH 1/4] misc: Fix typo Glenn Washburn
2023-06-28 10:10 ` [PATCH 2/4] misc: Add space after comma in function argument list Glenn Washburn
2023-06-28 10:10 ` [PATCH 3/4] docs: Minor corrections Glenn Washburn
2023-06-28 10:10 ` [PATCH 4/4] docs: Add missing assumption Glenn Washburn
2023-06-29 3:20 ` Oskari Pirhonen
2023-06-29 18:06 ` Daniel Kiper
2023-06-28 12:55 ` [PATCH 0/4] Various corrections Daniel Kiper
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.