lkml.org 
[lkml]   [2022]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: build warnings after merge of the char-misc.current tree
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.

greg k-h

\
 
 \ /
  Last update: 2022-10-24 09:45    [W:0.040 / U:2.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site