Re: [PATCH v4 2/7] coresight: of_get_coresight_platform_data: Add missing of_node_put
From: Leo Yan
Date: Fri Mar 17 2017 - 11:26:23 EST
On Fri, Mar 17, 2017 at 03:09:23PM +0000, Suzuki K Poulose wrote:
> On 17/03/17 15:02, Leo Yan wrote:
> >From: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
> >
> >The of_get_coresight_platform_data iterates over the possible CPU nodes
> >to find a given cpu phandle. However it does not drop the reference
> >to the node pointer returned by the of_get_coresight_platform_data.
> >
> >[Leo: minor tweaks for of_get_coresight_platform_data]
> >
> >Cc: Leo Yan <leo.yan@xxxxxxxxxx>
> >Cc: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>
> >Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
>
> You should add your Signed-off-by here when you send somebody's patch, irrespective
> of whether you have modified it or not.
> e.g:
>
> Cc: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
> [Leo: minor tweaks for of_get_coresight_platform_data]
> Signed-off-by: Leo Yan <leo.yan@xxxxxxxxxx>
Thanks for pointing out this. Will follow up later.
[...]
Thanks,
Leo Yan