[kbuild] Re: [PATCH v1 1/2] cpumask: Fix invalid uniprocessor mask assumption

2022-06-02 Thread kernel test robot
h-Hartman" TO: Marco Elver TO: Barry Song CC: linux-ker...@vger.kernel.org CC: Andy Shevchenko CC: Sander Vanheule Hi Sander, I love your patch! Yet something to improve: [auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on linus/master v5.18 next-20220602] [If your p

[kbuild] [linux-next:master 14468/14705] lib/maple_tree.c:667:9: warning: The right operand of '>=' is a garbage value due to array index out of bounds [clang-analyzer-core.UndefinedBinaryOperatorResu

2022-06-02 Thread kernel test robot
:: :: Manual check reason: "low confidence static check warning: lib/maple_tree.c:667:9: warning: The right operand of '>=' is a garbage value due to array index out of bounds [clang-analyzer-core.UndefinedBinaryOperatorResult]" :: CC: l...@lists.linux.dev CC:

[kbuild] [android-common:android13-5.15 6/19] mm/vmscan.c:3268:14-15: WARNING opportunity for max()

2022-06-02 Thread kernel test robot
CC: kbuild-...@lists.01.org BCC: l...@intel.com TO: cros-kernel-buildrepo...@googlegroups.com tree: https://android.googlesource.com/kernel/common android13-5.15 head: 78d6de78638b6cf7771a98628648f8b29f6d8cab commit: a1537a68c5010553002f62fad91c7c0c886c73d8 [6/19] FROMLIST: mm: multi-gen

[kbuild] [PATCH] FROMLIST: mm: multi-gen LRU: fix minmax.cocci warnings

2022-06-02 Thread kernel test robot
CC: kbuild-...@lists.01.org BCC: l...@intel.com TO: cros-kernel-buildrepo...@googlegroups.com From: kernel test robot mm/vmscan.c:3268:14-15: WARNING opportunity for max() Check for opencoded min(), max() implementations. Generated patches sometimes require adding a cast to fix compile

[kbuild] drivers/pinctrl/pinctrl-ingenic.c:162 is_soc_or_above() warn: bitwise AND condition is false here

2022-06-02 Thread kernel test robot
CC: kbuild-...@lists.01.org BCC: l...@intel.com CC: linux-ker...@vger.kernel.org TO: Paul Cercueil CC: Linus Walleij tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 50fd82b3a9a9335df5d50c7ddcb81c81d358c4fc commit:

[kbuild] [ammarfaizi2-block:google/android/kernel/common/android12-5.4 6455/9999] drivers/dma-buf/dma-buf.c:728 dma_buf_attach() warn: ignoring unreachable code.

2022-06-02 Thread kernel test robot
CC: kbuild-...@lists.01.org BCC: l...@intel.com TO: Ammar Faizi tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android12-5.4 head: 61c005f0f1663789612bbe039932620f51779526 commit: e618a51f562f1f038f31b6a4b4a250c062d70eab [6455/] ANDROID: Delete the

[kbuild] drivers/media/platform/st/sti/delta/delta-v4l2.c:63:20: warning: Value stored to 'delta' during its initialization is never read [clang-analyzer-deadcode.DeadStores]

2022-06-02 Thread kernel test robot
:: :: Manual check reason: "low confidence static check warning: drivers/media/platform/st/sti/delta/delta-v4l2.c:63:20: warning: Value stored to 'delta' during its initialization is never read [clang-analyzer-deadcode.DeadStores]" :: CC: l...@lists.linux.dev CC:

[kbuild] drivers/net/amt.c:2752 amt_rcv() error: we previously assumed 'amt' could be null (see line 2680)

2022-06-02 Thread kernel test robot
CC: kbuild-...@lists.01.org BCC: l...@intel.com CC: linux-ker...@vger.kernel.org TO: Taehee Yoo tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d1dc87763f406d4e67caf16dbe438a5647692395 commit: b9022b53adad88fd6cf2b9718c9e498504f3e1dd amt: add control

[kbuild] arch/x86/kernel/traps.c:533:24: warning: Value stored to 't' during its initialization is never read [clang-analyzer-deadcode.DeadStores]

2022-06-02 Thread kernel test robot
:: :: Manual check reason: "low confidence static check warning: arch/x86/kernel/traps.c:533:24: warning: Value stored to 't' during its initialization is never read [clang-analyzer-deadcode.DeadStores]" :: CC: l...@lists.linux.dev CC: kbuild-...@lists.01.org BCC: l...@intel.com

[kbuild] drivers/md/dm-kcopyd.c:494:3: warning: Use of memory after it is freed [clang-analyzer-unix.Malloc]

2022-06-02 Thread kernel test robot
:: :: Manual check reason: "low confidence static check first_new_problem: drivers/md/dm-kcopyd.c:494:3: warning: Use of memory after it is freed [clang-analyzer-unix.Malloc]" :: CC: l...@lists.linux.dev CC: kbuild-...@lists.01.org BCC: l...@intel.com CC:

[kbuild] [djwong-xfs:vectorized-scrub 321/401] fs/xfs/scrub/rtrmap.c:114 xchk_rtrmap_mergeable() warn: impossible condition '(r1->rm_blockcount + r2->rm_blockcount > (~0)) => (0-u64max > u64max)'

2022-06-02 Thread kernel test robot
CC: kbuild-...@lists.01.org BCC: l...@intel.com CC: "Darrick J. Wong" CC: linux-ker...@vger.kernel.org TO: "Darrick J. Wong" tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git vectorized-scrub head: 1fcd9cea011a657d62ee332d161966c1ec92ffd5 commit:

[kbuild] Re: [PATCH v2 3/4] of: dynamic: add of_node_alloc()

2022-06-02 Thread kernel test robot
iu Vultur Hi "Clément, I love your patch! Perhaps something to improve: [auto build test WARNING on robh/for-next] [also build test WARNING on powerpc/next v5.18 next-20220602] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to u

[kbuild] Re: [PATCH 3/3] btrfs: Replace kmap() with kmap_local_page() in zlib.c

2022-06-02 Thread kernel test robot
-bt...@vger.kernel.org TO: linux-ker...@vger.kernel.org CC: "Fabio M. De Francesco" Hi "Fabio, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on kdave/for-next] [also build test WARNING on v5.18 next-20220602] [If your patch is applied to the

[kbuild] [djwong-xfs:vectorized-scrub 224/401] fs/xfs/scrub/nlinks_repair.c:181 xrep_nlinks_repair_and_relink_inode() warn: missing error code 'error'

2022-06-02 Thread kernel test robot
CC: kbuild-...@lists.01.org BCC: l...@intel.com CC: "Darrick J. Wong" CC: linux-ker...@vger.kernel.org TO: "Darrick J. Wong" tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git vectorized-scrub head: 1fcd9cea011a657d62ee332d161966c1ec92ffd5 commit:

[kbuild] [djwong-xfs:vectorized-scrub 218/401] fs/xfs/scrub/attr_repair.c:788 xrep_xattr_recover() error: uninitialized symbol 'need_flush'.

2022-06-02 Thread kernel test robot
CC: kbuild-...@lists.01.org BCC: l...@intel.com CC: "Darrick J. Wong" CC: linux-ker...@vger.kernel.org TO: "Darrick J. Wong" tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git vectorized-scrub head: 1fcd9cea011a657d62ee332d161966c1ec92ffd5 commit:

[kbuild] drivers/net/ethernet/intel/ice/ice_ptp.c:109:17: warning: Value stored to 'dev' during its initialization is never read [clang-analyzer-deadcode.DeadStores]

2022-06-02 Thread kernel test robot
:: :: Manual check reason: "low confidence static check warning: drivers/net/ethernet/intel/ice/ice_ptp.c:109:17: warning: Value stored to 'dev' during its initialization is never read [clang-analyzer-deadcode.DeadStores]" :: CC: l...@lists.linux.dev CC: kbuild-...@lists.01.org

[kbuild] drivers/net/amt.c:2752 amt_rcv() error: we previously assumed 'amt' could be null (see line 2680)

2022-06-02 Thread kernel test robot
CC: kbuild-...@lists.01.org BCC: l...@intel.com CC: linux-ker...@vger.kernel.org TO: Taehee Yoo tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d1dc87763f406d4e67caf16dbe438a5647692395 commit: b9022b53adad88fd6cf2b9718c9e498504f3e1dd amt: add control

[kbuild] Re: drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c:1433 amdgpu_discovery_get_vcn_info() error: buffer overflow 'adev->vcn.vcn_codec_disable_mask' 2 <= 3

2022-06-02 Thread Dan Carpenter
On Thu, Jun 02, 2022 at 10:24:58AM -0400, Alex Deucher wrote: > On Thu, Jun 2, 2022 at 7:51 AM Dan Carpenter wrote: > > > > On Thu, Jun 02, 2022 at 08:26:03AM +0200, Ernst Sjöstrand wrote: > > > Dan: I also ran Smatch which resulted in the following discussion: > > > > > >

[kbuild] [djwong-xfs:vectorized-scrub 150/401] fs/xfs/scrub/nlinks_repair.c:80 xrep_nlinks_repair_inode() warn: missing error code 'error'

2022-06-02 Thread kernel test robot
966c1ec92ffd5 commit: 75be7c3d8d488788289ec6e343e138db5a2b2440 [150/401] xfs: teach repair to fix file nlinks :: branch date: 17 hours ago :: commit date: 17 hours ago config: microblaze-randconfig-m031-20220601 (https://download.01.org/0day-ci/archive/20220602/202206022146.2rgp2beq-...@intel.com/config)

[kbuild] Re: drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c:1433 amdgpu_discovery_get_vcn_info() error: buffer overflow 'adev->vcn.vcn_codec_disable_mask' 2 <= 3

2022-06-02 Thread Dan Carpenter
On Thu, Jun 02, 2022 at 08:26:03AM +0200, Ernst Sjöstrand wrote: > Dan: I also ran Smatch which resulted in the following discussion: > > https://lists.freedesktop.org/archives/amd-gfx/2022-May/079228.html Since the bounds check is dead code which does not make sense and is not required,

[kbuild] [leon-rdma:rdma-rc 1/1] drivers/infiniband/core/cma.c:4434 rdma_accept() error: we previously assumed 'conn_param' could be null (see line 4426)

2022-06-02 Thread kernel test robot
: 8b7d549e77fb0f91ee6c396be8c3ea92af3564e7 [1/1] RDMA/cma: Limit join multicast to UD QP type only :: branch date: 3 weeks ago :: commit date: 3 weeks ago config: mips-randconfig-m031-20220601 (https://download.01.org/0day-ci/archive/20220602/202206021834.szqdxpql-...@intel.com/config) compiler: mips-linux-gcc (GCC) 11.3.0

[kbuild] [linux-next:master 10921/14705] fs/file_table.c:373:5-29: atomic_dec_and_test variation before object free at line 388.

2022-06-02 Thread kernel test robot
/14705] fs: remove fget_many and fput_many interface :: branch date: 3 hours ago :: commit date: 3 weeks ago config: x86_64-rhel-8.3-kselftests (https://download.01.org/0day-ci/archive/20220602/202206021508.jhemm88c-...@intel.com/config) compiler: gcc-11 (Debian 11.3.0-1) 11.3.0 If you fix

[kbuild] drivers/net/ethernet/intel/ice/ice_ptp.c:109:17: warning: Value stored to 'dev' during its initialization is never read [clang-analyzer-deadcode.DeadStores]

2022-06-02 Thread kernel test robot
ock index in ethtool .get_ts_info date: 12 months ago :: branch date: 6 hours ago :: commit date: 12 months ago config: s390-randconfig-c005-20220524 (https://download.01.org/0day-ci/archive/20220602/202206021535.sypei5l1-...@intel.com/config) compiler: clang version 15.0.0 (https://