mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] driver core: Fix a typo in __dev_probe_failed() comments
@ 2024-10-08 17:29 Dragan Simic
  2024-10-08 19:02 ` Dragan Simic
  0 siblings, 1 reply; 2+ messages in thread
From: Dragan Simic @ 2024-10-08 17:29 UTC (permalink / raw)
  To: linux-spi, linux-rockchip
  Cc: broonie, heiko, gregkh, rafael, oss, linux-arm-kernel, linux-kernel

Fix a small typo in one of the variable names found in the comment block
inside the __dev_probe_failed() function.

Signed-off-by: Dragan Simic <dsimic@manjaro.org>
---

Notes:
    This is an incremental patch for the patch series [1] that's been already
    merged, so it should be applied on top of the series.
    
    [1] https://lore.kernel.org/linux-rockchip/cover.1727601608.git.dsimic@manjaro.org/T/#u

 drivers/base/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/base/core.c b/drivers/base/core.c
index 5f156a9a10a4..a84a7b952cfd 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -4989,7 +4989,7 @@ static void __dev_probe_failed(const struct device *dev, int err, bool fatal,
 	/*
 	 * On x86_64 and possibly on other architectures, va_list is actually a
 	 * size-1 array containing a structure.  As a result, function parameter
-	 * vargps decays from T[1] to T*, and &vargsp has type T** rather than
+	 * vargsp decays from T[1] to T*, and &vargsp has type T** rather than
 	 * T(*)[1], which is expected by its assignment to vaf.va below.
 	 *
 	 * One standard way to solve this mess is by creating a copy in a local

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] driver core: Fix a typo in __dev_probe_failed() comments
  2024-10-08 17:29 [PATCH] driver core: Fix a typo in __dev_probe_failed() comments Dragan Simic
@ 2024-10-08 19:02 ` Dragan Simic
  0 siblings, 0 replies; 2+ messages in thread
From: Dragan Simic @ 2024-10-08 19:02 UTC (permalink / raw)
  To: linux-spi, linux-rockchip
  Cc: broonie, heiko, gregkh, rafael, oss, linux-arm-kernel, linux-kernel

On 2024-10-08 19:29, Dragan Simic wrote:
> Fix a small typo in one of the variable names found in the comment 
> block
> inside the __dev_probe_failed() function.
> 
> Signed-off-by: Dragan Simic <dsimic@manjaro.org>
> ---
> 
> Notes:
>     This is an incremental patch for the patch series [1] that's been 
> already
>     merged, so it should be applied on top of the series.
> 
>     [1] 
> https://lore.kernel.org/linux-rockchip/cover.1727601608.git.dsimic@manjaro.org/T/#u

Please disregard this patch, Mark will have both spotted typos [2]
fixed by hand. [3]  Sorry for the noise.

[2] 
https://lore.kernel.org/linux-spi/e8cbbf877cc0e6838afd2d6de3b7bfa1@manjaro.org/
[3] 
https://lore.kernel.org/linux-spi/ZwVt9e44jc3CQaV1@finisterre.sirena.org.uk/

>  drivers/base/core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/base/core.c b/drivers/base/core.c
> index 5f156a9a10a4..a84a7b952cfd 100644
> --- a/drivers/base/core.c
> +++ b/drivers/base/core.c
> @@ -4989,7 +4989,7 @@ static void __dev_probe_failed(const struct
> device *dev, int err, bool fatal,
>  	/*
>  	 * On x86_64 and possibly on other architectures, va_list is actually 
> a
>  	 * size-1 array containing a structure.  As a result, function 
> parameter
> -	 * vargps decays from T[1] to T*, and &vargsp has type T** rather 
> than
> +	 * vargsp decays from T[1] to T*, and &vargsp has type T** rather 
> than
>  	 * T(*)[1], which is expected by its assignment to vaf.va below.
>  	 *
>  	 * One standard way to solve this mess is by creating a copy in a 
> local

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-08 19:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-08 17:29 [PATCH] driver core: Fix a typo in __dev_probe_failed() comments Dragan Simic
2024-10-08 19:02 ` Dragan Simic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®