Re: [PATCH 4.19.y-cip 01/23] device connection: Add fwnode member to struct device_connection

Pavel Machek
2020-02-19T07:42:36Z

[-- Attachment #1: Type: text/plain, Size: 750 bytes --]

Hi!

> From: Heikki Krogerus <heikki.krogerus@linux.intel.com>
>
> commit 09aa11cfda9d8186046bcd1adcd6498b688114f4 upstream.
>
> This will prepare the device connection API for connections
> described in firmware.

> @@ -753,11 +753,17 @@ struct device_dma_parameters {
> */
> struct device_connection {
> + struct fwnode_handle *fwnode;
> const char *endpoint[2];
> const char *id;
> struct list_head list;

Ok, so this really needs to be 0-initialized in all cases, or we'll be
breaking existing setups. Are we reasonably sure that's the case?

Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]