> + if (!IS_ERR(tzd)) { > + tzd->tzp = tzp; I tried to read the thermal core but couldn't really figure it. We are not leaking/overwriting the tzp pointer acquired in of-thermal.c here?
Attachment:
signature.asc
Description: PGP signature
> + if (!IS_ERR(tzd)) { > + tzd->tzp = tzp; I tried to read the thermal core but couldn't really figure it. We are not leaking/overwriting the tzp pointer acquired in of-thermal.c here?
Attachment:
signature.asc
Description: PGP signature