From: kernel test robot <lkp@intel.com>
To: "Luke D. Jones" <luke@ljones.dev>
Cc: kbuild-all@lists.01.org,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Hans de Goede <hdegoede@redhat.com>,
linux-kernel@vger.kernel.org
Subject: [pdx86-platform-drivers-x86:review-hans 29/42] drivers/platform/x86/asus-wmi.c:785:30: sparse: sparse: symbol 'kbd_rgb_mode_groups' was not declared. Should it be static?
Date: Tue, 30 Aug 2022 13:23:43 +0800 [thread overview]
Message-ID: <202208301336.wDYNpg1U-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git review-hans
head: af024a39ebda58694935f420bf396b11afb0df6b
commit: e305a71cea37a64c7558b8b979f6f08f657d0c3d [29/42] platform/x86: asus-wmi: Implement TUF laptop keyboard LED modes
config: i386-randconfig-s042-20220829 (https://download.01.org/0day-ci/archive/20220830/202208301336.wDYNpg1U-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/commit/?id=e305a71cea37a64c7558b8b979f6f08f657d0c3d
git remote add pdx86-platform-drivers-x86 https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git
git fetch --no-tags pdx86-platform-drivers-x86 review-hans
git checkout e305a71cea37a64c7558b8b979f6f08f657d0c3d
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/platform/x86/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/platform/x86/asus-wmi.c:785:30: sparse: sparse: symbol 'kbd_rgb_mode_groups' was not declared. Should it be static?
drivers/platform/x86/asus-wmi.c:1682:33: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __le32 [usertype] @@
drivers/platform/x86/asus-wmi.c:1682:33: sparse: expected unsigned int [usertype] val
drivers/platform/x86/asus-wmi.c:1682:33: sparse: got restricted __le32 [usertype]
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-08-30 5:24 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=202208301336.wDYNpg1U-lkp@intel.com \
--to=lkp@intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=hdegoede@redhat.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luke@ljones.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