[PATCH -next] coresight: etm: perf: Make symbol 'format_attr_contextid' static

Suzuki K Poulose suzuki.poulose at arm.com
Mon Mar 8 12:31:16 GMT 2021


On 3/8/21 12:32 PM, 'Wei Yongjun wrote:
> From: Wei Yongjun <weiyongjun1 at huawei.com>
> 
> The sparse tool complains as follows:
> 
> drivers/hwtracing/coresight/coresight-etm-perf.c:61:25: warning:
>   symbol 'format_attr_contextid' was not declared. Should it be static?
> 
> This symbol is not used outside of coresight-etm-perf.c, so this
> commit marks it static.
> 
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Wei Yongjun <weiyongjun1 at huawei.com>

Reviewed-by: Suzuki K Poulose <suzuki.poulose at arm.com>



More information about the linux-arm-kernel mailing list