linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the char-misc.current tree
@ 2022-10-24  2:57 Stephen Rothwell
  2022-10-24  6:34 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2022-10-24  2:57 UTC (permalink / raw)
  To: Greg KH, Arnd Bergmann
  Cc: Suzuki K Poulose, James Clark, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

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()")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next: build warnings after merge of the char-misc.current tree
  2022-10-24  2:57 linux-next: build warnings after merge of the char-misc.current tree Stephen Rothwell
@ 2022-10-24  6:34 ` Greg KH
  2022-10-24  9:45   ` Suzuki K Poulose
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2022-10-24  6:34 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Arnd Bergmann, Suzuki K Poulose, James Clark,
	Linux Kernel Mailing List, Linux Next Mailing List

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next: build warnings after merge of the char-misc.current tree
  2022-10-24  6:34 ` Greg KH
@ 2022-10-24  9:45   ` Suzuki K Poulose
  0 siblings, 0 replies; 3+ messages in thread
From: Suzuki K Poulose @ 2022-10-24  9:45 UTC (permalink / raw)
  To: Greg KH, Stephen Rothwell
  Cc: Arnd Bergmann, James Clark, Linux Kernel Mailing List,
	Linux Next Mailing List

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-24  9:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-24  2:57 linux-next: build warnings after merge of the char-misc.current tree Stephen Rothwell
2022-10-24  6:34 ` Greg KH
2022-10-24  9:45   ` Suzuki K Poulose

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).