linux-next: build warnings after merge of the char-misc.current tree
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()")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 15 lines · Stephen Rothwell
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;
| ^~~
Quoted 3 lines
Introduced by commit
665c157e0204("coresight: cti: Fix hang incti_disable_hw()")
Thanks for the report, I have now reverted this in my tree.
greg k-h
Quoted 16 lines · Greg KH
Quoted 15 lines · Stephen Rothwell
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;
| ^~~
Quoted 5 lines
Quoted 3 lines
Introduced by commit
665c157e0204("coresight: cti: Fix hang incti_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
Quoted 2 lines
greg k-h