Re: [PATCH] component: fix debugfs.
From: Greg Kroah-Hartman
Date: Tue Jan 14 2020 - 10:10:02 EST
On Wed, Dec 18, 2019 at 03:12:07PM +0100, Arnaud Pouliquen wrote:
> In component_devices_show function, the data field
> of the component_match_array structure can not match with the
> device structure type. As mentioned in component_match_add_release
> description, data field type is undefined. This can result to an
> unexpected print or can generate an overflow.
> Seems no generic way to get the component name, so this patch
> prints the component device name only if registered.
>
> Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@xxxxxx>
Good catch, someone else fixed this right before you did, so I'll queue
up that patch, thanks.
greg k-h