linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the clk tree
@ 2019-04-30  0:19 Stephen Rothwell
  2019-04-30  1:44 ` Anson Huang
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2019-04-30  0:19 UTC (permalink / raw)
  To: Mike Turquette, Stephen Boyd
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Anson Huang,
	Gustavo A. R. Silva, Kees Cook

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

Hi all,

After merging the clk tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/clk/imx/clk-pllv3.c:453:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
   pll->denom_offset = PLL_IMX7_DENOM_OFFSET;
                     ^
drivers/clk/imx/clk-pllv3.c:454:2: note: here
  case IMX_PLLV3_AV:
  ^~~~

Introduced by commit

  01d0a541ff4b ("clk: imx: correct i.MX7D AV PLL num/denom offset")

I get this warning because I am building with -Wimplicit-fallthrough
in attempt to catch new additions early.  The gcc warning can be turned
off by adding a /* fall through */ comment at the point the fall through
happens (assuming that the fall through is intentional).

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* linux-next: build warning after merge of the clk tree
@ 2020-06-29 23:53 Stephen Rothwell
  2020-06-30  8:11 ` Maxime Ripard
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2020-06-29 23:53 UTC (permalink / raw)
  To: Mike Turquette, Stephen Boyd
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Maxime Ripard

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

Hi all,

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

WARNING: modpost: missing MODULE_LICENSE() in drivers/clk/bcm/clk-bcm2711-dvp.o

Introduced by commit

  1bc95972715a ("clk: bcm: Add BCM2711 DVP driver")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* linux-next: build warning after merge of the clk tree
@ 2019-08-15 23:57 Stephen Rothwell
  2019-08-16 18:10 ` Stephen Boyd
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2019-08-15 23:57 UTC (permalink / raw)
  To: Mike Turquette, Stephen Boyd
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Manivannan Sadhasivam

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

Hi all,

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

drivers/clk/actions/owl-common.c: In function 'owl_clk_probe':
drivers/clk/actions/owl-common.c:71:24: warning: 'hw' may be used uninitialized in this function [-Wmaybe-uninitialized]
   const char *name = hw->init->name;
                      ~~^~~~~~

Introduced by commit

  20cac6d02815 ("clk: actions: Don't reference clk_init_data after registration")

Clearly not a false positive. :-(

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* linux-next: build warning after merge of the clk tree
@ 2018-10-17 21:51 Stephen Rothwell
  2018-10-18 18:21 ` Stephen Boyd
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2018-10-17 21:51 UTC (permalink / raw)
  To: Mike Turquette, Stephen Boyd
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Taniya Das,
	Craig Tatlor, Rob Herring

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

Hi all,

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

WARNING: modpost: missing MODULE_LICENSE() in drivers/clk/qcom/gcc-sdm660.o
see include/linux/module.h for more information

Introduced by commit

  f2a76a2955c0 ("clk: qcom: Add Global Clock controller (GCC) driver for SDM660")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* linux-next: build warning after merge of the clk tree
@ 2016-12-11 21:39 Stephen Rothwell
  2016-12-12  8:05 ` Boris Brezillon
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2016-12-11 21:39 UTC (permalink / raw)
  To: Mike Turquette, Stephen Boyd; +Cc: linux-next, linux-kernel, Boris Brezillon

Hi all,

After merging the clk tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/clk/bcm/clk-bcm2835.c: In function 'bcm2835_clock_determine_rate':
drivers/clk/bcm/clk-bcm2835.c:1069:18: warning: 'best_rate' may be used uninitialized in this function [-Wmaybe-uninitialized]
  *prate = curdiv * best_rate;
                  ^
drivers/clk/bcm/clk-bcm2835.c:1032:16: note: 'best_rate' was declared here
  unsigned long best_rate;
                ^

Introduced by commit

  155e8b3b0ee3 ("clk: bcm: Support rate change propagation on bcm2835 clocks")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 16+ messages in thread
* linux-next: build warning after merge of the clk tree
@ 2015-05-06  4:05 Stephen Rothwell
  2015-05-06  4:41 ` Stephen Boyd
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2015-05-06  4:05 UTC (permalink / raw)
  To: Mike Turquette, Stephen Boyd, Heiko Stuebner; +Cc: linux-next, linux-kernel

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

Hi all,

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

drivers/clk/clk.c:2231:13: warning: 'clk_is_orphan' defined but not used [-Wunused-function]
 static bool clk_is_orphan(const struct clk *clk)
             ^

Introduced by commit ece3ffbe1b7b ("clk: prevent orphan clocks from
being used").

CONFIG_OF is not set for this build ...

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

end of thread, other threads:[~2020-07-16  0:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-30  0:19 linux-next: build warning after merge of the clk tree Stephen Rothwell
2019-04-30  1:44 ` Anson Huang
2019-04-30  5:56   ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2020-06-29 23:53 Stephen Rothwell
2020-06-30  8:11 ` Maxime Ripard
2020-07-08 11:10   ` Stephen Rothwell
2020-07-16  0:25     ` Stephen Boyd
2019-08-15 23:57 Stephen Rothwell
2019-08-16 18:10 ` Stephen Boyd
2018-10-17 21:51 Stephen Rothwell
2018-10-18 18:21 ` Stephen Boyd
2016-12-11 21:39 Stephen Rothwell
2016-12-12  8:05 ` Boris Brezillon
2016-12-12  8:19   ` Stephen Rothwell
2015-05-06  4:05 Stephen Rothwell
2015-05-06  4:41 ` Stephen Boyd

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