2017-04-22 12:48:39

by Colin King

[permalink] [raw]
Subject: [PATCH] ore: fix spelling mistake: "Multples" -> "multiples"

From: Colin Ian King <[email protected]>

trivial fix to spelling mistake in ORE_ERR message and make word all
lower case.

Signed-off-by: Colin Ian King <[email protected]>
---
fs/exofs/ore.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/exofs/ore.c b/fs/exofs/ore.c
index 8bb72807e70d..811522ae45e1 100644
--- a/fs/exofs/ore.c
+++ b/fs/exofs/ore.c
@@ -68,7 +68,7 @@ int ore_verify_layout(unsigned total_comps, struct ore_layout *layout)
}
if (0 != (layout->stripe_unit & ~PAGE_MASK)) {
ORE_ERR("Stripe Unit(0x%llx)"
- " must be Multples of PAGE_SIZE(0x%lx)\n",
+ " must be multiples of PAGE_SIZE(0x%lx)\n",
_LLU(layout->stripe_unit), PAGE_SIZE);
return -EINVAL;
}
--
2.11.0


2017-04-23 09:37:23

by Boaz Harrosh

[permalink] [raw]
Subject: Re: [PATCH] ore: fix spelling mistake: "Multples" -> "multiples"

On 04/22/2017 03:48 PM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> trivial fix to spelling mistake in ORE_ERR message and make word all
> lower case.
>
> Signed-off-by: Colin Ian King <[email protected]>

Thanks
ACK-by: Boaz Harrosh <[email protected]>

> ---
> fs/exofs/ore.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/exofs/ore.c b/fs/exofs/ore.c
> index 8bb72807e70d..811522ae45e1 100644
> --- a/fs/exofs/ore.c
> +++ b/fs/exofs/ore.c
> @@ -68,7 +68,7 @@ int ore_verify_layout(unsigned total_comps, struct ore_layout *layout)
> }
> if (0 != (layout->stripe_unit & ~PAGE_MASK)) {
> ORE_ERR("Stripe Unit(0x%llx)"
> - " must be Multples of PAGE_SIZE(0x%lx)\n",
> + " must be multiples of PAGE_SIZE(0x%lx)\n",
> _LLU(layout->stripe_unit), PAGE_SIZE);
> return -EINVAL;
> }
>

2017-04-24 00:08:34

by Joe Perches

[permalink] [raw]
Subject: Re: [PATCH] ore: fix spelling mistake: "Multples" -> "multiples"

On Sun, 2017-04-23 at 12:37 +0300, Boaz Harrosh wrote:
> On 04/22/2017 03:48 PM, Colin King wrote:
> > trivial fix to spelling mistake in ORE_ERR message and make word all
> > lower case.
[]
> > diff --git a/fs/exofs/ore.c b/fs/exofs/ore.c
[]
> > @@ -68,7 +68,7 @@ int ore_verify_layout(unsigned total_comps, struct ore_layout *layout)
> > }
> > if (0 != (layout->stripe_unit & ~PAGE_MASK)) {
> > ORE_ERR("Stripe Unit(0x%llx)"
> > - " must be Multples of PAGE_SIZE(0x%lx)\n",
> > + " must be multiples of PAGE_SIZE(0x%lx)\n",

Perhaps better would be:

ORE_ERR("Stripe unit (0x%llx) must be a multiple of PAGE_SIZE (0x%llx)\n",
_LLU(layout->stripe_unit), PAGE_SIZE);