Message ID | cec37f5568afaef8fca2d35bb01c90556ccbb4f4.1728408464.git.dsimic@manjaro.org |
---|---|
State | New |
Headers | show |
Series | driver core: Fix a typo in __dev_probe_failed() comments | expand |
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
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
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(-)