[linux-next:master 3310/5886] drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:31:1: iwyu: warning: superfluous #include <drm/drm_drv.h>
by kernel test robot
CC: kbuild-all(a)lists.01.org
CC: Linux Memory Management List <linux-mm(a)kvack.org>
TO: Andrey Grodzovsky <andrey.grodzovsky(a)amd.com>
CC: Alex Deucher <alexander.deucher(a)amd.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 3e029760e6f8ce90c122c267a039ae73b3f1f5a4
commit: 72c8c97b1522ce7ed1789a42fc9828784ebb5e23 [3310/5886] drm/amdgpu: Split amdgpu_device_fini into early and late
:::::: branch date: 4 days ago
:::::: commit date: 12 days ago
config: x86_64-randconfig-b001-20210529 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project bc6799f2f79f0ae87e9f1ebf9d25ba799fbd25a9)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# apt-get install iwyu # include-what-you-use
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 72c8c97b1522ce7ed1789a42fc9828784ebb5e23
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross C=1 CHECK=iwyu ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
iwyu warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:31:1: iwyu: warning: superfluous #include <drm/drm_drv.h>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:41:1: iwyu: warning: superfluous #include "amdgpu_amdkfd.h"
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:42:1: iwyu: warning: superfluous #include "amdgpu_gem.h"
--
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c:51:1: iwyu: warning: superfluous #include <drm/amdgpu_drm.h>
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c:48:1: iwyu: warning: superfluous #include <drm/drm_crtc_helper.h>
>> drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c:52:1: iwyu: warning: superfluous #include <drm/drm_drv.h>
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c:64:1: iwyu: warning: superfluous #include "amdgpu_dm_irq.h"
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c:55:1: iwyu: warning: superfluous #include "atom.h"
vim +31 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
72c8c97b1522ce Andrey Grodzovsky 2021-05-12 @31 #include <drm/drm_drv.h>
d38ceaf99ed015 Alex Deucher 2015-04-20 32 #include "amdgpu_uvd.h"
d38ceaf99ed015 Alex Deucher 2015-04-20 33 #include "amdgpu_vce.h"
32d8c6620d4977 Alex Deucher 2018-04-17 34 #include "atom.h"
d38ceaf99ed015 Alex Deucher 2015-04-20 35
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
[mptcp:export 524/569] drivers/net/dsa/qca8k.c:293:46: warning: Uninitialized variable: val [uninitvar]
by kernel test robot
CC: kbuild-all(a)lists.01.org
CC: mptcp(a)lists.linux.dev
TO: Yang Yingliang <yangyingliang(a)huawei.com>
CC: Jakub Kicinski <kuba(a)kernel.org>
tree: https://github.com/multipath-tcp/mptcp_net-next.git export
head: e0200f10bd651bddb5344ce2d61ef251a8a15f78
commit: 7c9896e37807862e276064dd9331860f5d27affc [524/569] net: dsa: qca8k: check return value of read functions correctly
:::::: branch date: 5 hours ago
:::::: commit date: 24 hours ago
compiler: nios2-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> drivers/net/dsa/qca8k.c:293:46: warning: Uninitialized variable: val [uninitvar]
ret = read_poll_timeout(qca8k_read, ret1, !(val & mask),
^
drivers/net/dsa/qca8k.c:632:52: warning: Uninitialized variable: val [uninitvar]
ret = read_poll_timeout(qca8k_mii_read32, ret1, !(val & mask), 0,
^
vim +293 drivers/net/dsa/qca8k.c
6b93fb46480a9c John Crispin 2016-09-15 286
6b93fb46480a9c John Crispin 2016-09-15 287 static int
6b93fb46480a9c John Crispin 2016-09-15 288 qca8k_busy_wait(struct qca8k_priv *priv, u32 reg, u32 mask)
6b93fb46480a9c John Crispin 2016-09-15 289 {
7c9896e3780786 Yang Yingliang 2021-05-29 290 int ret, ret1;
2ad255f2faaffb Ansuel Smith 2021-05-14 291 u32 val;
6b93fb46480a9c John Crispin 2016-09-15 292
7c9896e3780786 Yang Yingliang 2021-05-29 @293 ret = read_poll_timeout(qca8k_read, ret1, !(val & mask),
2ad255f2faaffb Ansuel Smith 2021-05-14 294 0, QCA8K_BUSY_WAIT_TIMEOUT * USEC_PER_MSEC, false,
7c9896e3780786 Yang Yingliang 2021-05-29 295 priv, reg, &val);
6b93fb46480a9c John Crispin 2016-09-15 296
2ad255f2faaffb Ansuel Smith 2021-05-14 297 /* Check if qca8k_read has failed for a different reason
2ad255f2faaffb Ansuel Smith 2021-05-14 298 * before returning -ETIMEDOUT
2ad255f2faaffb Ansuel Smith 2021-05-14 299 */
7c9896e3780786 Yang Yingliang 2021-05-29 300 if (ret < 0 && ret1 < 0)
7c9896e3780786 Yang Yingliang 2021-05-29 301 return ret1;
6b93fb46480a9c John Crispin 2016-09-15 302
2ad255f2faaffb Ansuel Smith 2021-05-14 303 return ret;
6b93fb46480a9c John Crispin 2016-09-15 304 }
6b93fb46480a9c John Crispin 2016-09-15 305
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
[drm-drm-misc:for-linux-next 2/3] Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 815> * writing back to memory the scene setup in the commit. The client must enable
by kernel test robot
CC: kbuild-all(a)lists.01.org
TO: Simon Ser <contact(a)emersion.fr>
CC: Daniel Vetter <daniel.vetter(a)ffwll.ch>
tree: git://anongit.freedesktop.org/drm/drm-misc for-linux-next
head: 2e290c8d8d29278b9a20e2765ab8f6df02f2e707
commit: bbf4627ba6415711da94f8106a7de993c49372a6 [2/3] drm: clarify and linkify DRM_CLIENT_CAP_WRITEBACK_CONNECTORS docs
:::::: branch date: 3 hours ago
:::::: commit date: 3 hours ago
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
cd tools/perf && ./check-headers.sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
perfheadercheck warnings: (new ones prefixed by >>)
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 780< * if set to 1, the DRM core will expose the stereo 3D capabilities of the
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 780> * If set to 1, the DRM core will expose the stereo 3D capabilities of the
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 782< * drm_mode_modeinfo.
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 782> * drm_mode_modeinfo. See ``DRM_MODE_FLAG_3D_*``.
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 807> * See ``DRM_MODE_FLAG_PIC_AR_*``.
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 814< * writing back to memory the scene setup in the commit. Depends on client
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 815< * also supporting DRM_CLIENT_CAP_ATOMIC
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 815> * writing back to memory the scene setup in the commit. The client must enable
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 816> * &DRM_CLIENT_CAP_ATOMIC first.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
[drm-drm-misc:for-linux-next 3/3] Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 784> * This capability is always supported for all drivers starting from kernel
by kernel test robot
CC: kbuild-all(a)lists.01.org
TO: Simon Ser <contact(a)emersion.fr>
CC: Daniel Vetter <daniel.vetter(a)ffwll.ch>
tree: git://anongit.freedesktop.org/drm/drm-misc for-linux-next
head: 2e290c8d8d29278b9a20e2765ab8f6df02f2e707
commit: 2e290c8d8d29278b9a20e2765ab8f6df02f2e707 [3/3] drm: document minimum kernel version for DRM_CLIENT_CAP_*
:::::: branch date: 3 hours ago
:::::: commit date: 3 hours ago
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
cd tools/perf && ./check-headers.sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
perfheadercheck warnings: (new ones prefixed by >>)
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 780< * if set to 1, the DRM core will expose the stereo 3D capabilities of the
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 780> * If set to 1, the DRM core will expose the stereo 3D capabilities of the
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 782< * drm_mode_modeinfo.
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 782> * drm_mode_modeinfo. See ``DRM_MODE_FLAG_3D_*``.
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 783> *
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 784> * This capability is always supported for all drivers starting from kernel
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 785> * version 3.13.
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 794> *
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 795> * This capability has been introduced in kernel version 3.15. Starting from
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 796> * kernel version 3.17, this capability is always supported for all drivers.
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 806> *
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 807> * If the driver doesn't support atomic mode-setting, enabling this capability
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 808> * will fail with -EOPNOTSUPP.
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 809> *
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 810> * This capability has been introduced in kernel version 4.0. Starting from
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 811> * kernel version 4.2, this capability is always supported for atomic-capable
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 812> * drivers.
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 820> * See ``DRM_MODE_FLAG_PIC_AR_*``.
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 821> *
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 822> * This capability is always supported for all drivers starting from kernel
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 823> * version 4.18.
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 814< * writing back to memory the scene setup in the commit. Depends on client
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 815< * also supporting DRM_CLIENT_CAP_ATOMIC
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 831> * writing back to memory the scene setup in the commit. The client must enable
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 832> * &DRM_CLIENT_CAP_ATOMIC first.
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 833> *
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 834> * This capability is always supported for atomic-capable drivers starting from
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 835> * kernel version 4.19.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
[drm-drm-misc:for-linux-next 1/3] Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 780< * if set to 1, the DRM core will expose the stereo 3D capabilities of the
by kernel test robot
CC: kbuild-all(a)lists.01.org
TO: Simon Ser <contact(a)emersion.fr>
CC: Daniel Vetter <daniel.vetter(a)ffwll.ch>
tree: git://anongit.freedesktop.org/drm/drm-misc for-linux-next
head: 2e290c8d8d29278b9a20e2765ab8f6df02f2e707
commit: 88938bf343efbc4d31677a91a0ed1d189be1e7cb [1/3] drm: reference mode flags in DRM_CLIENT_CAP_* docs
:::::: branch date: 3 hours ago
:::::: commit date: 3 hours ago
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
cd tools/perf && ./check-headers.sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
perfheadercheck warnings: (new ones prefixed by >>)
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 780< * if set to 1, the DRM core will expose the stereo 3D capabilities of the
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 780> * If set to 1, the DRM core will expose the stereo 3D capabilities of the
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 782< * drm_mode_modeinfo.
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 782> * drm_mode_modeinfo. See ``DRM_MODE_FLAG_3D_*``.
>> Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h': 807> * See ``DRM_MODE_FLAG_PIC_AR_*``.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
arch/x86/kvm/svm/svm_ops.h:41:0: warning: syntax error [syntaxError]
by kernel test robot
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Sean Christopherson <seanjc(a)google.com>
CC: Paolo Bonzini <pbonzini(a)redhat.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8124c8a6b35386f73523d27eacb71b5364a68c4c
commit: 35a7831912f455d7d19b31cd9300e73f585a077b KVM: SVM: Use asm goto to handle unexpected #UD on SVM instructions
date: 4 months ago
:::::: branch date: 13 hours ago
:::::: commit date: 4 months ago
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
In file included from arch/x86/kvm/svm/svm.c:
>> arch/x86/kvm/svm/svm_ops.h:41:0: warning: syntax error [syntaxError]
^
vim +41 arch/x86/kvm/svm/svm_ops.h
35a7831912f455 Sean Christopherson 2020-12-30 38
35a7831912f455 Sean Christopherson 2020-12-30 39 static inline void clgi(void)
35a7831912f455 Sean Christopherson 2020-12-30 40 {
35a7831912f455 Sean Christopherson 2020-12-30 @41 svm_asm(clgi);
35a7831912f455 Sean Christopherson 2020-12-30 42 }
35a7831912f455 Sean Christopherson 2020-12-30 43
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
[linux-next:master 1691/5886] drivers/usb/class/cdc-wdm.c:24:1: iwyu: warning: superfluous #include <linux/skbuff.h>
by kernel test robot
CC: kbuild-all(a)lists.01.org
CC: Linux Memory Management List <linux-mm(a)kvack.org>
TO: Loic Poulain <loic.poulain(a)linaro.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 3e029760e6f8ce90c122c267a039ae73b3f1f5a4
commit: cac6fb015f719104e60b1c68c15ca5b734f57b9c [1691/5886] usb: class: cdc-wdm: WWAN framework integration
:::::: branch date: 3 days ago
:::::: commit date: 3 weeks ago
config: x86_64-randconfig-b001-20210531 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project bc6799f2f79f0ae87e9f1ebf9d25ba799fbd25a9)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# apt-get install iwyu # include-what-you-use
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout cac6fb015f719104e60b1c68c15ca5b734f57b9c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross C=1 CHECK=iwyu ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
iwyu warnings: (new ones prefixed by >>)
drivers/usb/class/cdc-wdm.c:28:1: iwyu: warning: superfluous #include <asm/byteorder.h>
drivers/usb/class/cdc-wdm.c:29:1: iwyu: warning: superfluous #include <asm/unaligned.h>
drivers/usb/class/cdc-wdm.c:22:1: iwyu: warning: superfluous #include <linux/bitops.h>
drivers/usb/class/cdc-wdm.c:17:1: iwyu: warning: superfluous #include <linux/ioctl.h>
>> drivers/usb/class/cdc-wdm.c:24:1: iwyu: warning: superfluous #include <linux/skbuff.h>
vim +24 drivers/usb/class/cdc-wdm.c
cac6fb015f7191 Loic Poulain 2021-05-11 @24 #include <linux/skbuff.h>
afba937e540c90 Oliver Neukum 2008-05-13 25 #include <linux/usb.h>
afba937e540c90 Oliver Neukum 2008-05-13 26 #include <linux/usb/cdc.h>
cac6fb015f7191 Loic Poulain 2021-05-11 27 #include <linux/wwan.h>
afba937e540c90 Oliver Neukum 2008-05-13 28 #include <asm/byteorder.h>
afba937e540c90 Oliver Neukum 2008-05-13 29 #include <asm/unaligned.h>
3cc3615749dbd1 Bjørn Mork 2012-03-06 30 #include <linux/usb/cdc-wdm.h>
afba937e540c90 Oliver Neukum 2008-05-13 31
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
drivers/net/ethernet/8390/axnet_cs.c:662:2: warning: Variable 'xfer_count' is modified but its new value is never used. [unreadVariable]
by kernel test robot
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Joe Perches <joe(a)perches.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b90e90f40b4ff23c753126008bf4713a42353af6
commit: e7fee115bf2cc418cc607a01bb62678eb8c720e9 8390: Avoid comma separated statements
date: 9 months ago
:::::: branch date: 14 hours ago
:::::: commit date: 9 months ago
compiler: nios2-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
drivers/net/ethernet/8390/axnet_cs.c:1110:15: warning: Identical inner 'if' condition is always true. [identicalInnerCondition]
if (ei_local->irqlock)
^
drivers/net/ethernet/8390/axnet_cs.c:1106:14: note: outer condition: ei_local->irqlock
if (ei_local->irqlock) {
^
drivers/net/ethernet/8390/axnet_cs.c:1110:15: note: identical inner condition: ei_local->irqlock
if (ei_local->irqlock)
^
>> drivers/net/ethernet/8390/axnet_cs.c:662:2: warning: Variable 'xfer_count' is modified but its new value is never used. [unreadVariable]
xfer_count++;
^
vim +/xfer_count +662 drivers/net/ethernet/8390/axnet_cs.c
^1da177e4c3f41 drivers/net/pcmcia/axnet_cs.c Linus Torvalds 2005-04-16 644
^1da177e4c3f41 drivers/net/pcmcia/axnet_cs.c Linus Torvalds 2005-04-16 645 static void block_input(struct net_device *dev, int count,
^1da177e4c3f41 drivers/net/pcmcia/axnet_cs.c Linus Torvalds 2005-04-16 646 struct sk_buff *skb, int ring_offset)
^1da177e4c3f41 drivers/net/pcmcia/axnet_cs.c Linus Torvalds 2005-04-16 647 {
906da809c5be30 drivers/net/pcmcia/axnet_cs.c Olof Johansson 2008-02-04 648 unsigned int nic_base = dev->base_addr;
c45f812f0280c1 drivers/net/ethernet/8390/axnet_cs.c Matthew Whitehead 2013-12-11 649 struct ei_device *ei_local = netdev_priv(dev);
^1da177e4c3f41 drivers/net/pcmcia/axnet_cs.c Linus Torvalds 2005-04-16 650 int xfer_count = count;
^1da177e4c3f41 drivers/net/pcmcia/axnet_cs.c Linus Torvalds 2005-04-16 651 char *buf = skb->data;
^1da177e4c3f41 drivers/net/pcmcia/axnet_cs.c Linus Torvalds 2005-04-16 652
c45f812f0280c1 drivers/net/ethernet/8390/axnet_cs.c Matthew Whitehead 2013-12-11 653 if ((netif_msg_rx_status(ei_local)) && (count != 4))
c45f812f0280c1 drivers/net/ethernet/8390/axnet_cs.c Matthew Whitehead 2013-12-11 654 netdev_dbg(dev, "[bi=%d]\n", count+4);
^1da177e4c3f41 drivers/net/pcmcia/axnet_cs.c Linus Torvalds 2005-04-16 655 outb_p(ring_offset & 0xff, nic_base + EN0_RSARLO);
^1da177e4c3f41 drivers/net/pcmcia/axnet_cs.c Linus Torvalds 2005-04-16 656 outb_p(ring_offset >> 8, nic_base + EN0_RSARHI);
^1da177e4c3f41 drivers/net/pcmcia/axnet_cs.c Linus Torvalds 2005-04-16 657 outb_p(E8390_RREAD+E8390_START, nic_base + AXNET_CMD);
^1da177e4c3f41 drivers/net/pcmcia/axnet_cs.c Linus Torvalds 2005-04-16 658
^1da177e4c3f41 drivers/net/pcmcia/axnet_cs.c Linus Torvalds 2005-04-16 659 insw(nic_base + AXNET_DATAPORT,buf,count>>1);
e7fee115bf2cc4 drivers/net/ethernet/8390/axnet_cs.c Joe Perches 2020-08-24 660 if (count & 0x01) {
e7fee115bf2cc4 drivers/net/ethernet/8390/axnet_cs.c Joe Perches 2020-08-24 661 buf[count-1] = inb(nic_base + AXNET_DATAPORT);
e7fee115bf2cc4 drivers/net/ethernet/8390/axnet_cs.c Joe Perches 2020-08-24 @662 xfer_count++;
e7fee115bf2cc4 drivers/net/ethernet/8390/axnet_cs.c Joe Perches 2020-08-24 663 }
^1da177e4c3f41 drivers/net/pcmcia/axnet_cs.c Linus Torvalds 2005-04-16 664
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
[linux-next:master 460/5886] drivers/gpu/drm/i915/display/intel_sdvo.c:41:1: iwyu: warning: superfluous #include "intel_crtc.h"
by kernel test robot
CC: kbuild-all(a)lists.01.org
CC: Linux Memory Management List <linux-mm(a)kvack.org>
TO: Jani Nikula <jani.nikula(a)intel.com>
CC: "Ville Syrjälä" <ville.syrjala(a)linux.intel.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 3e029760e6f8ce90c122c267a039ae73b3f1f5a4
commit: 7c53e628344bf17aa9282b795aa7cd9c46958949 [460/5886] drm/i915/display: move crtc and dpll declarations where they belong
:::::: branch date: 2 days ago
:::::: commit date: 5 weeks ago
config: x86_64-randconfig-b001-20210529 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project bc6799f2f79f0ae87e9f1ebf9d25ba799fbd25a9)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# apt-get install iwyu # include-what-you-use
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 7c53e628344bf17aa9282b795aa7cd9c46958949
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross C=1 CHECK=iwyu ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
iwyu warnings: (new ones prefixed by >>)
drivers/gpu/drm/i915/display/intel_sdvo.c:34:1: iwyu: warning: superfluous #include <drm/drm_atomic_helper.h>
>> drivers/gpu/drm/i915/display/intel_sdvo.c:41:1: iwyu: warning: superfluous #include "intel_crtc.h"
vim +41 drivers/gpu/drm/i915/display/intel_sdvo.c
ec7f29ff0d144c drivers/gpu/drm/i915/intel_sdvo.c Jani Nikula 2019-04-05 37
79e539453b34e3 drivers/gpu/drm/i915/intel_sdvo.c Jesse Barnes 2008-11-07 38 #include "i915_drv.h"
12392a74ff58ec drivers/gpu/drm/i915/intel_sdvo.c Jani Nikula 2019-04-29 39 #include "intel_atomic.h"
ec7f29ff0d144c drivers/gpu/drm/i915/intel_sdvo.c Jani Nikula 2019-04-05 40 #include "intel_connector.h"
7c53e628344bf1 drivers/gpu/drm/i915/display/intel_sdvo.c Jani Nikula 2021-04-27 @41 #include "intel_crtc.h"
1d455f8de8e8a2 drivers/gpu/drm/i915/display/intel_sdvo.c Jani Nikula 2019-08-06 42 #include "intel_display_types.h"
8834e3659da8f5 drivers/gpu/drm/i915/intel_sdvo.c Jani Nikula 2019-04-29 43 #include "intel_fifo_underrun.h"
3ce2ea6574be67 drivers/gpu/drm/i915/intel_sdvo.c Jani Nikula 2019-05-02 44 #include "intel_gmbus.h"
0550691d58f9ce drivers/gpu/drm/i915/intel_sdvo.c Jani Nikula 2019-04-05 45 #include "intel_hdmi.h"
dbeb38d93a6da8 drivers/gpu/drm/i915/intel_sdvo.c Jani Nikula 2019-04-29 46 #include "intel_hotplug.h"
44c1220a441ca7 drivers/gpu/drm/i915/intel_sdvo.c Jani Nikula 2019-04-05 47 #include "intel_panel.h"
596fee14fbc979 drivers/gpu/drm/i915/intel_sdvo.c Jani Nikula 2019-04-05 48 #include "intel_sdvo.h"
79e539453b34e3 drivers/gpu/drm/i915/intel_sdvo.c Jesse Barnes 2008-11-07 49 #include "intel_sdvo_regs.h"
79e539453b34e3 drivers/gpu/drm/i915/intel_sdvo.c Jesse Barnes 2008-11-07 50
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year