Re: [PATCH AUTOSEL 5.4 148/350] media: ad5820: Define entity function

From: Greg KH
Date: Thu Dec 12 2019 - 07:24:44 EST


On Thu, Dec 12, 2019 at 01:19:38PM +0100, Pavel Machek wrote:
> On Tue 2019-12-10 16:04:13, Sasha Levin wrote:
> > From: Ricardo Ribalda Delgado <ribalda@xxxxxxxxxx>
> >
> > [ Upstream commit 801ef7c4919efba6b96b5aed1e72844ca69e26d3 ]
> >
> > Without this patch, media_device_register_entity throws a warning:
> >
> > dev_warn(mdev->dev,
> > "Entity type for entity %s was not initialized!\n",
> > entity->name);
>
> This fixes warning, not a serious bug. Thus it is against stable
> rules.

That's a good enough fix for a real issue. We take patches in stable
for this all the time.

thanks,

greg k-h