Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [thomas-weissschuh:b4/b4-sysfs-const-bin_attr-cb 41/64] drivers/video/fbdev/udlfb.c:1485:14: error: use of undeclared identifier 'edid_show'
@ 2025-01-07 23:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-01-07 23:35 UTC (permalink / raw)
  To: Thomas Weißschuh; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/b4-sysfs-const-bin_attr-cb
head:   1c76e0940bd2d02a30ddaf76ef5bcb648c3fffb1
commit: 57cb559ad9c6a7e5d0f0eb96f05c4eeba5bf2bd2 [41/64] udlfb
config: hexagon-randconfig-002-20250108 (https://download.01.org/0day-ci/archive/20250108/202501080738.Xew3cYke-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 096551537b2a747a3387726ca618ceeb3950e9bc)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250108/202501080738.Xew3cYke-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501080738.Xew3cYke-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/video/fbdev/udlfb.c:1485:14: error: use of undeclared identifier 'edid_show'
    1485 |         .read_new = edid_show,
         |                     ^
>> drivers/video/fbdev/udlfb.c:1486:15: error: use of undeclared identifier 'edid_store'; did you mean 'edid_attr'?
    1486 |         .write_new = edid_store
         |                      ^~~~~~~~~~
         |                      edid_attr
   drivers/video/fbdev/udlfb.c:1481:35: note: 'edid_attr' declared here
    1481 | static const struct bin_attribute edid_attr = {
         |                                   ^
   2 errors generated.


vim +/edid_show +1485 drivers/video/fbdev/udlfb.c

7d9485e2c53caa drivers/staging/udlfb/udlfb.c Bernie Thompson  2010-02-15  1480  
598b2eedfc3fbe drivers/video/fbdev/udlfb.c   Bhumika Goyal    2017-08-18  1481  static const struct bin_attribute edid_attr = {
7d9485e2c53caa drivers/staging/udlfb/udlfb.c Bernie Thompson  2010-02-15  1482  	.attr.name = "edid",
66cf911986d082 drivers/video/fbdev/udlfb.c   Thomas Weißschuh 2024-11-17  1483  	.attr.mode = 0600,
b9f03a3cd06c6f drivers/video/udlfb.c         Paul Mundt       2011-01-06  1484  	.size = EDID_LENGTH,
59aa03ac70cccf drivers/video/fbdev/udlfb.c   Thomas Weißschuh 2024-12-15 @1485  	.read_new = edid_show,
59aa03ac70cccf drivers/video/fbdev/udlfb.c   Thomas Weißschuh 2024-12-15 @1486  	.write_new = edid_store
7d9485e2c53caa drivers/staging/udlfb/udlfb.c Bernie Thompson  2010-02-15  1487  };
7d9485e2c53caa drivers/staging/udlfb/udlfb.c Bernie Thompson  2010-02-15  1488  

:::::: The code at line 1485 was first introduced by commit
:::::: 59aa03ac70cccf8b40f49311d2bccba8ff5f12e6 fbdev: udlfb: Use const 'struct bin_attribute' callback

:::::: TO: Thomas Weißschuh <linux@weissschuh.net>
:::::: CC: Helge Deller <deller@gmx.de>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2025-01-07 23:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-07 23:35 [thomas-weissschuh:b4/b4-sysfs-const-bin_attr-cb 41/64] drivers/video/fbdev/udlfb.c:1485:14: error: use of undeclared identifier 'edid_show' kernel test robot

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