linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the soundwire tree
@ 2020-04-29  8:14 Stephen Rothwell
  2020-05-02 11:39 ` Vinod Koul
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2020-04-29  8:14 UTC (permalink / raw)
  To: Vinod Koul; +Cc: Linux Next Mailing List, Linux Kernel Mailing List, YueHaibing

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

Hi all,

[Sorry that I did not report this earlier.]

After merging the soundwire tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/soundwire/intel_init.c:193:14: warning: 'sdw_intel_init' defined but not used [-Wunused-function]
  193 | static void *sdw_intel_init(acpi_handle *parent_handle,
      |              ^~~~~~~~~~~~~~

Introduced by commit

  2978a43e7690 ("soundwire: intel: Make sdw_intel_init static")

-- 
Cheers,
Stephen Rothwell

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

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

* Re: linux-next: build warning after merge of the soundwire tree
  2020-04-29  8:14 linux-next: build warning after merge of the soundwire tree Stephen Rothwell
@ 2020-05-02 11:39 ` Vinod Koul
  0 siblings, 0 replies; 4+ messages in thread
From: Vinod Koul @ 2020-05-02 11:39 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, YueHaibing

On 29-04-20, 18:14, Stephen Rothwell wrote:
> Hi all,
> 
> [Sorry that I did not report this earlier.]
> 
> After merging the soundwire tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
> 
> drivers/soundwire/intel_init.c:193:14: warning: 'sdw_intel_init' defined but not used [-Wunused-function]
>   193 | static void *sdw_intel_init(acpi_handle *parent_handle,
>       |              ^~~~~~~~~~~~~~
> 
> Introduced by commit
> 
>   2978a43e7690 ("soundwire: intel: Make sdw_intel_init static")

Thanks for the report, will fix it

-- 
~Vinod

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

* Re: linux-next: build warning after merge of the soundwire tree
  2019-08-22  6:04 Stephen Rothwell
@ 2019-08-22  6:25 ` Vinod Koul
  0 siblings, 0 replies; 4+ messages in thread
From: Vinod Koul @ 2019-08-22  6:25 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Pierre-Louis Bossart

On 22-08-19, 16:04, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the soundwire tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
> 
> drivers/soundwire/intel.c: In function 'sdw_master_read_intel_prop':
> drivers/soundwire/intel.c:829:12: warning: unused variable 'i' [-Wunused-variable]
>   int nval, i;
>             ^
> drivers/soundwire/intel.c:829:6: warning: unused variable 'nval' [-Wunused-variable]
>   int nval, i;
>       ^~~~
> 
> Introduced by commit
> 
>   085f4ace103d ("soundwire: intel: read mclk_freq property from firmware")

Thanks Stephen for the report. I have fixed it up by removing these.
Posting the patch now

Thanks
-- 
~Vinod

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

* linux-next: build warning after merge of the soundwire tree
@ 2019-08-22  6:04 Stephen Rothwell
  2019-08-22  6:25 ` Vinod Koul
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2019-08-22  6:04 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Pierre-Louis Bossart

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

Hi all,

After merging the soundwire tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/soundwire/intel.c: In function 'sdw_master_read_intel_prop':
drivers/soundwire/intel.c:829:12: warning: unused variable 'i' [-Wunused-variable]
  int nval, i;
            ^
drivers/soundwire/intel.c:829:6: warning: unused variable 'nval' [-Wunused-variable]
  int nval, i;
      ^~~~

Introduced by commit

  085f4ace103d ("soundwire: intel: read mclk_freq property from firmware")

-- 
Cheers,
Stephen Rothwell

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

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

end of thread, other threads:[~2020-05-02 11:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-29  8:14 linux-next: build warning after merge of the soundwire tree Stephen Rothwell
2020-05-02 11:39 ` Vinod Koul
  -- strict thread matches above, loose matches on Subject: below --
2019-08-22  6:04 Stephen Rothwell
2019-08-22  6:25 ` Vinod Koul

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).