2019-03-05 17:41:47

by Colin King

[permalink] [raw]
Subject: [PATCH][bpf-next] bpf: hbm: fix spelling mistake "deault" -> "default"

From: Colin Ian King <[email protected]>

There are a couple of typos, fix these.

Signed-off-by: Colin Ian King <[email protected]>
---
samples/bpf/hbm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/samples/bpf/hbm.c b/samples/bpf/hbm.c
index 8408ccb7409f..a79828ab273f 100644
--- a/samples/bpf/hbm.c
+++ b/samples/bpf/hbm.c
@@ -18,7 +18,7 @@
* Default is /hbm1
* -r <rate> Rate limit in Mbps
* -s Get HBM stats (marked, dropped, etc.)
- * -t <time> Exit after specified seconds (deault is 0)
+ * -t <time> Exit after specified seconds (default is 0)
* -w Work conserving flag. cgroup can increase its bandwidth
* beyond the rate limit specified while there is available
* bandwidth. Current implementation assumes there is only
@@ -376,7 +376,7 @@ static void Usage(void)
" Default is /hbm1\n"
" -r <rate> Rate in Mbps\n"
" -s Update HBM stats\n"
- " -t <time> Exit after specified seconds (deault is 0)\n"
+ " -t <time> Exit after specified seconds (default is 0)\n"
" -w Work conserving flag. cgroup can increase\n"
" bandwidth beyond the rate limit specified\n"
" while there is available bandwidth. Current\n"
--
2.20.1



2019-03-05 20:58:27

by Song Liu

[permalink] [raw]
Subject: Re: [PATCH][bpf-next] bpf: hbm: fix spelling mistake "deault" -> "default"

On Tue, Mar 5, 2019 at 9:41 AM Colin King <[email protected]> wrote:
>
> From: Colin Ian King <[email protected]>
>
> There are a couple of typos, fix these.
>
> Signed-off-by: Colin Ian King <[email protected]>

I guess this could go to bpf tree.

Acked-by: Song Liu <[email protected]>


> ---
> samples/bpf/hbm.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/samples/bpf/hbm.c b/samples/bpf/hbm.c
> index 8408ccb7409f..a79828ab273f 100644
> --- a/samples/bpf/hbm.c
> +++ b/samples/bpf/hbm.c
> @@ -18,7 +18,7 @@
> * Default is /hbm1
> * -r <rate> Rate limit in Mbps
> * -s Get HBM stats (marked, dropped, etc.)
> - * -t <time> Exit after specified seconds (deault is 0)
> + * -t <time> Exit after specified seconds (default is 0)
> * -w Work conserving flag. cgroup can increase its bandwidth
> * beyond the rate limit specified while there is available
> * bandwidth. Current implementation assumes there is only
> @@ -376,7 +376,7 @@ static void Usage(void)
> " Default is /hbm1\n"
> " -r <rate> Rate in Mbps\n"
> " -s Update HBM stats\n"
> - " -t <time> Exit after specified seconds (deault is 0)\n"
> + " -t <time> Exit after specified seconds (default is 0)\n"
> " -w Work conserving flag. cgroup can increase\n"
> " bandwidth beyond the rate limit specified\n"
> " while there is available bandwidth. Current\n"
> --
> 2.20.1
>

2019-03-07 10:22:51

by Daniel Borkmann

[permalink] [raw]
Subject: Re: [PATCH][bpf-next] bpf: hbm: fix spelling mistake "deault" -> "default"

On 03/05/2019 06:31 PM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There are a couple of typos, fix these.
>
> Signed-off-by: Colin Ian King <[email protected]>

Applied, thanks!