mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the amdgpu tree
@ 2020-03-13  9:57 Stephen Rothwell
  2020-03-13 12:57 ` [PATCH] drm/amd/powerplay: Move fallthrough; into containing #ifdef/#endif Joe Perches
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2020-03-13  9:57 UTC (permalink / raw)
  To: Alex Deucher
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Joe Perches

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

Hi all,

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

In file included from include/linux/compiler_types.h:59,
                 from <command-line>:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c: In function 'smu7_request_link_speed_change_before_state_change':
include/linux/compiler_attributes.h:200:41: warning: statement will never be executed [-Wswitch-unreachable]
  200 | # define fallthrough                    __attribute__((__fallthrough__))
      |                                         ^~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:3706:4: note: in expansion of macro 'fallthrough'
 3706 |    fallthrough;
      |    ^~~~~~~~~~~

Introduced by commit

  e86efa063cd1 ("AMD POWERPLAY: Use fallthrough;")

-- 
Cheers,
Stephen Rothwell

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

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

end of thread, other threads:[~2020-03-13 14:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-13  9:57 linux-next: build warning after merge of the amdgpu tree Stephen Rothwell
2020-03-13 12:57 ` [PATCH] drm/amd/powerplay: Move fallthrough; into containing #ifdef/#endif Joe Perches
2020-03-13 14:22   ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®