lkml.org 
[lkml]   [2021]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/8] bus: fsl-mc: fix arg in call to dprc_scan_objects()
From
Date
Reviewed-by: Diana Craciun <diana.craciun@oss.nxp.com>

for all patches in the series

On 7/15/2021 5:07 PM, laurentiu.tudor@nxp.com wrote:
> From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
>
> Second parameter of dprc_scan_objects() is a bool not a pointer
> so change from NULL to false.
>
> Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
> ---
> drivers/bus/fsl-mc/fsl-mc-bus.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c
> index 09c8ab5e0959..ffec838450f3 100644
> --- a/drivers/bus/fsl-mc/fsl-mc-bus.c
> +++ b/drivers/bus/fsl-mc/fsl-mc-bus.c
> @@ -220,7 +220,7 @@ static int scan_fsl_mc_bus(struct device *dev, void *data)
> root_mc_dev = to_fsl_mc_device(dev);
> root_mc_bus = to_fsl_mc_bus(root_mc_dev);
> mutex_lock(&root_mc_bus->scan_mutex);
> - dprc_scan_objects(root_mc_dev, NULL);
> + dprc_scan_objects(root_mc_dev, false);
> mutex_unlock(&root_mc_bus->scan_mutex);
>
> exit:

\
 
 \ /
  Last update: 2021-07-21 18:12    [W:0.098 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site