Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Thomas Weißschuh" <linux@weissschuh.net>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [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'
Date: Wed, 8 Jan 2025 07:35:57 +0800	[thread overview]
Message-ID: <202501080738.Xew3cYke-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-01-07 23:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202501080738.Xew3cYke-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux@weissschuh.net \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox