lkml.org 
[lkml]   [2018]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] driver core: fix comments for device_block_probing()
On Tue, Nov 6, 2018 at 8:41 AM Randy Dunlap <rdunlap@infradead.org> wrote:
>
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Correct function name and spelling/typo for device_block_probing()
> in drivers/base/dd.c.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: "Rafael J. Wysocki" <rafael@kernel.org>

Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

> ---
> drivers/base/dd.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- lnx-420-rc1.orig/drivers/base/dd.c
> +++ lnx-420-rc1/drivers/base/dd.c
> @@ -179,7 +179,7 @@ static void driver_deferred_probe_trigge
> }
>
> /**
> - * device_block_probing() - Block/defere device's probes
> + * device_block_probing() - Block/defer device's probes
> *
> * It will disable probing of devices and defer their probes instead.
> */
> @@ -453,7 +453,7 @@ static int really_probe(struct device *d
> if (defer_all_probes) {
> /*
> * Value of defer_all_probes can be set only by
> - * device_defer_all_probes_enable() which, in turn, will call
> + * device_block_probing() which, in turn, will call
> * wait_for_device_probe() right after that to avoid any races.
> */
> dev_dbg(dev, "Driver %s force probe deferral\n", drv->name);
>
>

\
 
 \ /
  Last update: 2018-11-06 08:53    [W:0.043 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site