RE: [PATCH V3] Watchdog: Fix parent of watchdog_devices
From: Winkler, Tomas
Date: Thu Aug 20 2015 - 04:35:39 EST
> diff --git a/drivers/misc/mei/wd.c b/drivers/misc/mei/wd.c
> index 2bc0f5089f82..b346638833b0 100644
> --- a/drivers/misc/mei/wd.c
> +++ b/drivers/misc/mei/wd.c
> @@ -364,6 +364,7 @@ int mei_watchdog_register(struct mei_device *dev)
>
> int ret;
>
> + amt_wd_dev.parent = dev->dev;
> /* unlock to perserve correct locking order */
> mutex_unlock(&dev->device_lock);
> ret = watchdog_register_device(&amt_wd_dev);
Acked-by: Tomas Winkler <tomas.winkler@xxxxxxxxx>
Should this be got to stable as well?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/