All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/gpu/drm/panfrost/panfrost_gpu.c:179:0: warning: failed to expand 'GPU_MODEL', Invalid ## usage when expanding 'GPU_REV_EXT'. [preprocessorErrorDirective]
@ 2022-01-25 15:24 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-25 15:24 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Guenter Roeck <linux@roeck-us.net>
CC: Palmer Dabbelt <palmerdabbelt@google.com>

Hi Guenter,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   a08b41ab9e2e468647f78eb17c28e29b93006394
commit: a18b14d8886614b3c7d290c4cfc33389822b0535 riscv: Disable STACKPROTECTOR_PER_TASK if GCC_PLUGIN_RANDSTRUCT is enabled
date:   6 months ago
:::::: branch date: 9 hours ago
:::::: commit date: 6 months ago
compiler: riscv64-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


cppcheck possible warnings: (new ones prefixed by >>, may not real problems)

>> drivers/gpu/drm/panfrost/panfrost_gpu.c:179:0: warning: failed to expand 'GPU_MODEL', Invalid ## usage when expanding 'GPU_REV_EXT'. [preprocessorErrorDirective]
   #define GPU_REV_EXT(name, _rev, _p, _s, stat) 3-^

vim +179 drivers/gpu/drm/panfrost/panfrost_gpu.c

f3ba91228e8e91 Rob Herring 2018-09-10  178  
f3ba91228e8e91 Rob Herring 2018-09-10 @179  #define GPU_REV_EXT(name, _rev, _p, _s, stat) \
f3ba91228e8e91 Rob Herring 2018-09-10  180  {\
f3ba91228e8e91 Rob Herring 2018-09-10  181  	.revision = (_rev) << 12 | (_p) << 4 | (_s),		\
f3ba91228e8e91 Rob Herring 2018-09-10  182  	.issues = hw_issues_##name##_r##_rev##p##_p##stat,	\
f3ba91228e8e91 Rob Herring 2018-09-10  183  }
f3ba91228e8e91 Rob Herring 2018-09-10  184  #define GPU_REV(name, r, p) GPU_REV_EXT(name, r, p, 0, )
f3ba91228e8e91 Rob Herring 2018-09-10  185  

:::::: The code@line 179 was first introduced by commit
:::::: f3ba91228e8e917e5bd6c4b72bfe846933d17370 drm/panfrost: Add initial panfrost driver

:::::: TO: Rob Herring <robh@kernel.org>
:::::: CC: Rob Herring <robh@kernel.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-25 15:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-25 15:24 drivers/gpu/drm/panfrost/panfrost_gpu.c:179:0: warning: failed to expand 'GPU_MODEL', Invalid ## usage when expanding 'GPU_REV_EXT'. [preprocessorErrorDirective] kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.