[next] perf test: Fix spelling mistake "curent" -> "current"

Message ID 20240226105326.3944887-1-colin.i.king@gmail.com
State New
Headers
Series [next] perf test: Fix spelling mistake "curent" -> "current" |

Commit Message

Colin Ian King Feb. 26, 2024, 10:53 a.m. UTC
  There is a spelling mistake in a pr_debug message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 tools/perf/tests/symbols.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Adrian Hunter Feb. 26, 2024, 11:59 a.m. UTC | #1
On 26/02/24 12:53, Colin Ian King wrote:
> There is a spelling mistake in a pr_debug message. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>

> ---
>  tools/perf/tests/symbols.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/perf/tests/symbols.c b/tools/perf/tests/symbols.c
> index 2fed6d67f50f..d208105919ed 100644
> --- a/tools/perf/tests/symbols.c
> +++ b/tools/perf/tests/symbols.c
> @@ -85,7 +85,7 @@ static int create_map(struct test_info *ti, char *filename, struct map **map_p)
>  		*map_p = find_module_map(ti->machine, dso);
>  		dso__put(dso);
>  		if (!*map_p) {
> -			pr_debug("Failed to find map for curent kernel module %s",
> +			pr_debug("Failed to find map for current kernel module %s",
>  				 filename);
>  			return TEST_FAIL;
>  		}
  
Namhyung Kim Feb. 27, 2024, 5:27 p.m. UTC | #2
On Mon, 26 Feb 2024 10:53:26 +0000, Colin Ian King wrote:
> There is a spelling mistake in a pr_debug message. Fix it.
> 
> 

Applied to perf-tools-next, thanks!

Best regards,
  

Patch

diff --git a/tools/perf/tests/symbols.c b/tools/perf/tests/symbols.c
index 2fed6d67f50f..d208105919ed 100644
--- a/tools/perf/tests/symbols.c
+++ b/tools/perf/tests/symbols.c
@@ -85,7 +85,7 @@  static int create_map(struct test_info *ti, char *filename, struct map **map_p)
 		*map_p = find_module_map(ti->machine, dso);
 		dso__put(dso);
 		if (!*map_p) {
-			pr_debug("Failed to find map for curent kernel module %s",
+			pr_debug("Failed to find map for current kernel module %s",
 				 filename);
 			return TEST_FAIL;
 		}