[PATCH v4 2/7] coresight: of_get_coresight_platform_data: Add missing of_node_put

Leo Yan leo.yan at linaro.org
Fri Mar 17 08:25:23 PDT 2017


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 at arm.com>
> >
> >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 at linaro.org>
> >Cc: Mathieu Poirier <mathieu.poirier at linaro.org>
> >Signed-off-by: Suzuki K Poulose <suzuki.poulose at arm.com>
> 
> 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 at linaro.org>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose at arm.com>
> [Leo: minor tweaks for of_get_coresight_platform_data]
> Signed-off-by: Leo Yan <leo.yan at linaro.org>

Thanks for pointing out this. Will follow up later.

[...]

Thanks,
Leo Yan



More information about the linux-arm-kernel mailing list