linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the fbdev tree
@ 2011-12-20  5:32 Stephen Rothwell
  2011-12-20 10:37 ` Laurent Pinchart
  0 siblings, 1 reply; 14+ messages in thread
From: Stephen Rothwell @ 2011-12-20  5:32 UTC (permalink / raw)
  To: Florian Tobias Schandinat, linux-fbdev
  Cc: linux-next, linux-kernel, Laurent Pinchart

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

Hi all,

After merging the fbdev tree, today's linux-next build (powerpc ppc64_defconfig)
produced this warning:

drivers/video/matrox/matroxfb_base.c:150:2: warning: braces around scalar initializer [enabled by default]
drivers/video/matrox/matroxfb_base.c:150:2: warning: (near initialization for 'vesafb_defined.colorspace') [enabled by default]
drivers/video/matrox/matroxfb_base.c:150:2: warning: excess elements in scalar initializer [enabled by default]
drivers/video/matrox/matroxfb_base.c:150:2: warning: (near initialization for 'vesafb_defined.colorspace') [enabled by default]
drivers/video/matrox/matroxfb_crtc2.c:596:3: warning: braces around scalar initializer [enabled by default]
drivers/video/matrox/matroxfb_crtc2.c:596:3: warning: (near initialization for 'matroxfb_dh_defined.colorspace') [enabled by default]
drivers/video/matrox/matroxfb_crtc2.c:596:3: warning: excess elements in scalar initializer [enabled by default]
drivers/video/matrox/matroxfb_crtc2.c:596:3: warning: (near initialization for 'matroxfb_dh_defined.colorspace') [enabled by default]

Introduced by commit fb21c2f42879 ("fbdev: Add FOURCC-based format
configuration API").
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* linux-next: build warning after merge of the fbdev tree
@ 2017-08-02  1:32 Stephen Rothwell
  0 siblings, 0 replies; 14+ messages in thread
From: Stephen Rothwell @ 2017-08-02  1:32 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Daniel Vetter, Sean Paul

Hi Bartlomiej,

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

drivers/video/fbdev/matrox/matroxfb_base.c:1583:12: warning: 'hotplug' defined but not used [-Wunused-variable]
 static int hotplug = 0;
            ^

Introduced by commit

  376b3ff54c9a ("fbdev: Nuke FBINFO_MODULE")

"hotplug" is only used when CONFIG_MODULE is not set, now.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 14+ messages in thread
* linux-next: build warning after merge of the fbdev tree
@ 2019-04-01 22:30 Stephen Rothwell
  2019-04-02 12:38 ` Tom Li
  0 siblings, 1 reply; 14+ messages in thread
From: Stephen Rothwell @ 2019-04-01 22:30 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Yifeng Li,
	Gustavo A. R. Silva, Kees Cook

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

Hi Bartlomiej,

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

drivers/video/fbdev/sm712fb.c: In function 'smtc_blank':
drivers/video/fbdev/sm712fb.c:900:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
    smtc_seqw(0x6b, 0x02);
    ^~~~~~~~~~~~~~~~~~~~~
drivers/video/fbdev/sm712fb.c:901:3: note: here
   case 0x720:
   ^~~~

Introduced by commit

  f627caf55b8e ("fbdev: sm712fb: fix crashes and garbled display during DPMS modesetting")

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] 14+ messages in thread
* linux-next: build warning after merge of the fbdev tree
@ 2019-06-11  0:42 Stephen Rothwell
  0 siblings, 0 replies; 14+ messages in thread
From: Stephen Rothwell @ 2019-06-11  0:42 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Linux Next Mailing List, Linux Kernel Mailing List

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

Hi Bartlomiej,

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

drivers/video/fbdev/pvr2fb.c:726:12: warning: 'pvr2_get_param_val' defined but not used [-Wunused-function]
 static int pvr2_get_param_val(const struct pvr2_params *p, const char *s,
            ^~~~~~~~~~~~~~~~~~

Introduced by commit

  0f5a5712ad1e ("video: fbdev: pvr2fb: add COMPILE_TEST support")

The uses are protected by #ifndef MODULE.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 14+ messages in thread
* linux-next: build warning after merge of the fbdev tree
@ 2022-11-15  0:20 Stephen Rothwell
  2022-11-15  5:20 ` Helge Deller
  0 siblings, 1 reply; 14+ messages in thread
From: Stephen Rothwell @ 2022-11-15  0:20 UTC (permalink / raw)
  To: Helge Deller
  Cc: Shang XiaoJing, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

WARNING: modpost: drivers/video/fbdev/via/viafb.o: section mismatch in reference: init_module (section: .init.text) -> viafb_exit (section: .exit.text)

Introduced by commit

  ab885d8c7e15 ("fbdev: via: Fix error in via_core_init()")

-- 
Cheers,
Stephen Rothwell

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

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

end of thread, other threads:[~2022-11-15  5:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-20  5:32 linux-next: build warning after merge of the fbdev tree Stephen Rothwell
2011-12-20 10:37 ` Laurent Pinchart
2011-12-20 13:48   ` Geert Uytterhoeven
2011-12-20 15:19     ` Laurent Pinchart
2011-12-20 15:24       ` Geert Uytterhoeven
2011-12-20 15:42         ` Laurent Pinchart
2011-12-20 15:48           ` Geert Uytterhoeven
2017-08-02  1:32 Stephen Rothwell
2019-04-01 22:30 Stephen Rothwell
2019-04-02 12:38 ` Tom Li
2019-04-02 15:16   ` Bartlomiej Zolnierkiewicz
2019-06-11  0:42 Stephen Rothwell
2022-11-15  0:20 Stephen Rothwell
2022-11-15  5:20 ` Helge Deller

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