[PATCH] driver core: Fix a typo in __dev_probe_failed() comments

Dragan Simic dsimic at manjaro.org
Tue Oct 8 10:29:41 PDT 2024


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 at 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



More information about the Linux-rockchip mailing list