On 24/10/2022 07:34, Greg KH wrote:
On Mon, Oct 24, 2022 at 01:57:52PM +1100, Stephen Rothwell wrote:
Hi all,
After merging the char-misc.current tree, today's linux-next build
(arm64 defconfig) produced these warnings:
drivers/hwtracing/coresight/coresight-cti-core.c: In functio
n 'cti_enable_hw':
drivers/hwtracing/coresight/coresight-cti-core.c:93:24: warning: unused variable 'dev' [-Wunused-variable]
93 | struct device *dev = &drvdata->csdev->dev;
| ^~~
drivers/hwtracing/coresight/coresight-cti-core.c: In function 'cti_disable_hw':
drivers/hwtracing/coresight/coresight-cti-core.c:154:24: warning: unused variable 'dev' [-Wunused-variable]
154 | struct device *dev = &drvdata->csdev->dev;
| ^~~
Introduced by commit
665c157e0204 ("coresight: cti: Fix hang in cti_disable_hw()")
Thanks for the report, I have now reverted this in my tree.
Apologies ! I will fix this up and send it at rc2
Sorry!
Suzuki
greg k-h