[PATCH v1] x86/cpu: Fix x86_match_cpu() doc

Raag Jadav posted 1 patch 1 year, 3 months ago
arch/x86/kernel/cpu/match.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v1] x86/cpu: Fix x86_match_cpu() doc
Posted by Raag Jadav 1 year, 3 months ago
Reword x86_match_cpu() description to possibly what it meant to be.

Signed-off-by: Raag Jadav <raag.jadav@intel.com>
---
 arch/x86/kernel/cpu/match.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/match.c b/arch/x86/kernel/cpu/match.c
index 8e7de733320a..82e5d29a04e2 100644
--- a/arch/x86/kernel/cpu/match.c
+++ b/arch/x86/kernel/cpu/match.c
@@ -6,7 +6,7 @@
 #include <linux/slab.h>
 
 /**
- * x86_match_cpu - match current CPU again an array of x86_cpu_ids
+ * x86_match_cpu - match current CPU against an array of x86_cpu_ids
  * @match: Pointer to array of x86_cpu_ids. Last entry terminated with
  *         {}.
  *
-- 
2.34.1
Re: [PATCH v1] x86/cpu: Fix x86_match_cpu() doc
Posted by Raag Jadav 1 year, 2 months ago
On Wed, Oct 30, 2024 at 12:28:04PM +0530, Raag Jadav wrote:
> Reword x86_match_cpu() description to possibly what it meant to be.
> 
> Signed-off-by: Raag Jadav <raag.jadav@intel.com>
> ---

Bump.

Is this useful?

Raag

>  arch/x86/kernel/cpu/match.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/kernel/cpu/match.c b/arch/x86/kernel/cpu/match.c
> index 8e7de733320a..82e5d29a04e2 100644
> --- a/arch/x86/kernel/cpu/match.c
> +++ b/arch/x86/kernel/cpu/match.c
> @@ -6,7 +6,7 @@
>  #include <linux/slab.h>
>  
>  /**
> - * x86_match_cpu - match current CPU again an array of x86_cpu_ids
> + * x86_match_cpu - match current CPU against an array of x86_cpu_ids
>   * @match: Pointer to array of x86_cpu_ids. Last entry terminated with
>   *         {}.
>   *
> -- 
> 2.34.1
>
[tip: x86/cleanups] x86/cpu: Fix typo in x86_match_cpu()'s doc
Posted by tip-bot2 for Raag Jadav 1 year, 1 month ago
The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID:     3560a023a9b9965803e8a967ee88343879b5dc1b
Gitweb:        https://git.kernel.org/tip/3560a023a9b9965803e8a967ee88343879b5dc1b
Author:        Raag Jadav <raag.jadav@intel.com>
AuthorDate:    Wed, 30 Oct 2024 12:28:04 +05:30
Committer:     Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Tue, 10 Dec 2024 21:40:02 +01:00

x86/cpu: Fix typo in x86_match_cpu()'s doc

Fix typo in x86_match_cpu()'s description.

  [ bp: Massage commit message. ]

Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20241030065804.407793-1-raag.jadav@intel.com
---
 arch/x86/kernel/cpu/match.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/match.c b/arch/x86/kernel/cpu/match.c
index 8e7de73..82e5d29 100644
--- a/arch/x86/kernel/cpu/match.c
+++ b/arch/x86/kernel/cpu/match.c
@@ -6,7 +6,7 @@
 #include <linux/slab.h>
 
 /**
- * x86_match_cpu - match current CPU again an array of x86_cpu_ids
+ * x86_match_cpu - match current CPU against an array of x86_cpu_ids
  * @match: Pointer to array of x86_cpu_ids. Last entry terminated with
  *         {}.
  *