[kbuild] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:395 dc_stream_set_cursor_position() warn: variable dereferenced before check 'stream' (see line 392)

2022-10-27 Thread Dan Carpenter
-20221018 compiler: mips64el-linux-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Reported-by: Dan Carpenter smatch warnings: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:395 dc_stream_set_cursor_position() warn

[kbuild] Re: [PATCH for-next] RDMA/rxe: rxe_get_av always receives ahp hence no put is needed

2022-10-26 Thread Dan Carpenter
the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Reported-by: Dan Carpenter smatch warnings: drivers/infiniband/sw/rxe/rxe_av.c:133 rxe_get_av() error: we previously assumed 'ahp' could be null (see line 107) vim +/ahp +133 drivers/infiniband/sw/rxe/rxe_av.c

[kbuild] [jgunthorpe:vfio_iommufd 9/11] drivers/vfio/vfio_main.c:1690 vfio_file_enforced_coherent() warn: assigning (-95) to unsigned variable 'ret'

2022-10-25 Thread Dan Carpenter
fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Reported-by: Dan Carpenter New smatch warnings: drivers/vfio/vfio_main.c:1690 vfio_file_enforced_coherent() warn: assigning (-95) to unsigned variable 'ret' Old smatch warnings: drivers/vfio/vfio_main.c

[kbuild] [linux-next:master 1261/3190] drivers/scsi/pm8001/pm8001_sas.c:996 pm8001_abort_task() warn: variable dereferenced before check 'task' (see line 986)

2022-10-25 Thread Dan Carpenter
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Reported-by: Dan Carpenter smatch warnings: drivers/scsi/pm8001/pm8001_sas.c:996 pm8001_abort_task() warn: variable dereferenced before check 'task' (see line

[kbuild] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:2730 dm_resume() error: we previously assumed 'aconnector->dc_link' could be null (see line 2717)

2022-10-25 Thread Dan Carpenter
-linux-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Reported-by: Dan Carpenter New smatch warnings: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:2730 dm_resume() error: we previously assumed 'aconnector

[kbuild] [linux-next:master 2112/3285] drivers/net/phy/phylink.c:588 phylink_validate_mask_caps() warn: variable dereferenced before check 'state' (see line 583)

2022-10-24 Thread Dan Carpenter
compiler: microblaze-linux-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Reported-by: Dan Carpenter New smatch warnings: drivers/net/phy/phylink.c:588 phylink_validate_mask_caps() warn: variable dereferenced before check

[kbuild] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3047 commit_planes_for_stream() error: we previously assumed 'top_pipe_to_program' could be null (see line 2870)

2022-10-24 Thread Dan Carpenter
-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Reported-by: Dan Carpenter New smatch warnings: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3047 commit_planes_for_stream() error: we previously assumed 'top_pipe_to_program

[kbuild] Re: arch/x86/kvm/x86.c:4988 kvm_arch_tsc_set_attr() warn: check for integer overflow 'offset'

2022-10-12 Thread Dan Carpenter
. Thanks for your feedback. I could probably make a rule to ignore clock related stuff. That's honestly been a known source of false positives for a while. I kind of have the infrastructure so it's not super hard to do actually... I'll do that. regards, dan carpenter _

[kbuild] [chrome-os:chromeos-5.15 35/61] drivers/gpu/drm/msm/msm_gem_submit.c:963 msm_ioctl_gem_submit() warn: variable dereferenced before check 'submit' (see line 784)

2022-10-05 Thread Dan Carpenter
(GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Reported-by: Dan Carpenter smatch warnings: drivers/gpu/drm/msm/msm_gem_submit.c:963 msm_ioctl_gem_submit() warn: variable dereferenced before check 'submit' (see line 784) vim

[kbuild] drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:54 ngbe_shutdown() error: uninitialized symbol 'wake'.

2022-10-05 Thread Dan Carpenter
) 12.1.0 If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Reported-by: Dan Carpenter smatch warnings: drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:54 ngbe_shutdown() error: uninitialized symbol 'wake'. vim +/wake +54 drivers/net/ethernet/wangxun

[kbuild] [jic23-iio:testing 55/63] drivers/iio/adc/mcp3911.c:441 mcp3911_probe() warn: passing zero to 'PTR_ERR'

2022-09-27 Thread Dan Carpenter
(GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Reported-by: Dan Carpenter smatch warnings: drivers/iio/adc/mcp3911.c:441 mcp3911_probe() warn: passing zero to 'PTR_ERR' vim +/PTR_ERR +441 drivers/iio/adc/mcp3911.c 3a89b289df5df4

[kbuild] [char-misc:char-misc-testing 29/36] drivers/nvmem/lan9662-otpc.c:43 lan9662_otp_wait_flag_clear() warn: signedness bug returning '(-110)'

2022-09-27 Thread Dan Carpenter
-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Reported-by: Dan Carpenter smatch warnings: drivers/nvmem/lan9662-otpc.c:43 lan9662_otp_wait_flag_clear() warn: signedness bug returning '(-110)' vim +43 drivers/nvmem/lan9662

[kbuild] Re: [PATCH net-next v5 8/9] net: marvell: prestera: Add neighbour cache accounting

2022-09-13 Thread Dan Carpenter
-20220907 compiler: or1k-linux-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot Reported-by: Dan Carpenter smatch warnings: drivers/net/ethernet/marvell/prestera/prestera_router.c:751 __prestera_k_arb_n_lpm_set() error: uninitialized

[kbuild] [linux-next:master 4120/6188] drivers/crypto/aspeed/aspeed-hace.c:133 aspeed_hace_probe() warn: platform_get_irq() does not return zero

2022-09-08 Thread Dan Carpenter
] crypto: aspeed - Enable compile testing config: openrisc-randconfig-m041-20220907 compiler: or1k-linux-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot Reported-by: Dan Carpenter smatch warnings: drivers/crypto/aspeed/aspeed

[kbuild] Re: [linux-next:master 2079/2594] fs/btrfs/volumes.c:6546 __btrfs_map_block() error: we previously assumed 'mirror_num_p' could be null (see line 6373)

2022-08-24 Thread Dan Carpenter
On Wed, Aug 24, 2022 at 07:35:27AM +0200, Christoph Hellwig wrote: > On Wed, Aug 24, 2022 at 08:28:26AM +0300, Dan Carpenter wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > > master > > head: 05477f3653b82d8b3bcf39d2937d98

[kbuild] Re: [PATCH v3 1/3] driver: input: matric-keypad: switch to gpiod

2022-08-22 Thread Dan Carpenter
config: i386-randconfig-m021 (https://download.01.org/0day-ci/archive/20220819/202208192340.m1xmltj5-...@intel.com/config) compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot Reported-by: Dan Carpenter New smatch

[kbuild] drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c:142 mlx5_eswitch_set_rule_source_port() warn: variable dereferenced before check 'attr' (see line 130)

2022-08-19 Thread Dan Carpenter
.01.org/0day-ci/archive/20220815/202208150418.3wdxndnr-...@intel.com/config) compiler: hppa-linux-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot Reported-by: Dan Carpenter smatch warnings: drivers/net/ethernet/mellanox/mlx5/core

[kbuild] Re: [PATCH] Input: HID-rmi - ignore to rmi_hid_read_block after system resumes.

2022-08-19 Thread Dan Carpenter
for-next config: x86_64-randconfig-m001-20220801 (https://download.01.org/0day-ci/archive/20220814/202208142212.qb3fvm5l-...@intel.com/config) compiler: gcc-11 (Debian 11.3.0-3) 11.3.0 If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot Reported-by: Dan

[kbuild] security/loadpin/loadpin.c:365 dm_verity_ioctl() warn: maybe return -EFAULT instead of the bytes remaining?

2022-08-19 Thread Dan Carpenter
.org/0day-ci/archive/20220814/202208141119.rkgsgoz7-...@intel.com/config) compiler: s390-linux-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot Reported-by: Dan Carpenter smatch warnings: security/loadpin/loadpin.c:365 dm_verity_ioctl

[kbuild] [broonie-sound:for-6.1 3/22] sound/soc/codecs/src4xxx.c:288 src4xxx_hw_params() error: uninitialized symbol 'pj'.

2022-08-19 Thread Dan Carpenter
.org/0day-ci/archive/20220817/202208170317.bcgqtwpu-...@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot Reported-by: Dan Carpenter smatch warnings: sound/soc/codecs/src4xxx.c:288

[kbuild] [asahilinux:bits/020-t6000-dart 7/11] drivers/iommu/apple-dart.c:918 apple_dart_probe() warn: missing error code 'ret'

2022-08-19 Thread Dan Carpenter
818/202208181055.jpfyieir-...@intel.com/config) compiler: mips64el-linux-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot Reported-by: Dan Carpenter smatch warnings: drivers/iommu/apple-dart.c:918 apple_dart_probe() warn: missing error c

[kbuild] [samba-ksmbd:ksmbd-for-next-next 12/12] fs/ksmbd/smbacl.c:1213 smb_check_perm_dacl() warn: variable dereferenced before check 'pntsd' (see line 1212)

2022-08-03 Thread Dan Carpenter
/20220801/202208010716.io52cjih-...@intel.com/config) compiler: arceb-elf-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot Reported-by: Dan Carpenter New smatch warnings: fs/ksmbd/smbacl.c:1213 smb_check_perm_dacl() warn: variable

[kbuild] [fdmanana:dio_fixes 3/42] fs/btrfs/sysfs.c:811 btrfs_force_chunk_alloc_store() warn: passing zero to 'PTR_ERR'

2022-07-12 Thread Dan Carpenter
compiler: riscv32-linux-gcc (GCC) 11.3.0 If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot Reported-by: Dan Carpenter smatch warnings: fs/btrfs/sysfs.c:811 btrfs_force_chunk_alloc_store() warn: passing zero to 'PTR_ERR' vim +/PTR_ERR +811 fs/btrfs

[kbuild] Re: [PATCH v7 2/8] media: uvcvideo: Add support for per-device control mapping overrides

2022-07-01 Thread Dan Carpenter
rate this way... That's not really an excuse. Imagine you were a lemming and Disney employees were trying to chase you off a cliff! > > Thanks again! > > PS: Any idea why the test was triggered 14+ days after the patch was sent? I don't know how kbuild works. I run Smatch on linux-next s

[kbuild] Re: Fwd: [zen:5.17/ksm 3/5] mm/madvise.c:1529 __do_sys_pmadv_ksm() error: uninitialized symbol 'ret'.

2022-06-06 Thread Dan Carpenter
function information so it knows that default is impossible. My bad. Just ignore this. To human reading this code it's pretty clear from the comments that the default path is just about silencing static checker warnings. regards, dan carpenter ___ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org

[kbuild] Re: drivers/irqchip/irq-apple-aic.c:941 aic_of_ic_init() error: uninitialized symbol 'off'.

2022-06-06 Thread Dan Carpenter
> covered too. > > So unless I'm missing something obvious, there is no bug here. I assumed it was something like that. The kbuild bot doesn't do cross function analysis. Neither does Clang really. regards, dan carpenter ___ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org

[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 discu

[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
required, another idea would be to just delete it. regards, dan carpenter ___ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org

[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-05-27 Thread Dan Carpenter
patch and it has already been applied so I took it into consideration when doing my analysis. regards, dan carpenter ___ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org

[kbuild] Re: [kbuild-all] Re: [linux-next:master 408/8237] drivers/net/wireless/ath/ath11k/wow.c:712 ath11k_wow_op_resume() warn: inconsistent returns '>conf_mutex'.

2022-05-06 Thread Dan Carpenter
On Fri, May 06, 2022 at 05:58:22PM +0800, Chen, Rong A wrote: > > > On 5/6/2022 4:46 PM, Kalle Valo wrote: > > Dan Carpenter writes: > > > > > On Thu, May 05, 2022 at 09:29:40AM +0800, Carl Huang wrote: > > > > Hi Kalle, > > > > > >

[kbuild] uninitialized variables bugs

2022-05-06 Thread Dan Carpenter
tw, here is how to run Smatch on your code: https://staticthinking.wordpress.com/2022/04/25/how-to-run-smatch-on-your-code/ regards, dan carpenter ___ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org

[kbuild] Re: [linux-next:master 408/8237] drivers/net/wireless/ath/ath11k/wow.c:712 ath11k_wow_op_resume() warn: inconsistent returns '>conf_mutex'.

2022-05-04 Thread Dan Carpenter
include links to those threads? regards, dan carpenter ___ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org

[kbuild] Re: net/dsa/tag_sja1105.c:432 sja1105_rcv() error: uninitialized symbol 'vid'.

2022-04-27 Thread Dan Carpenter
On Wed, Apr 27, 2022 at 03:17:55PM +, Vladimir Oltean wrote: > On Wed, Apr 27, 2022 at 05:28:39PM +0300, Dan Carpenter wrote: > > I should probably have wondered why I hadn't emailed you before... For > > some reason I got confused and thought it was an arch/ thing... >

[kbuild] Re: net/dsa/tag_sja1105.c:432 sja1105_rcv() error: uninitialized symbol 'vid'.

2022-04-27 Thread Dan Carpenter
On Wed, Apr 27, 2022 at 01:51:28PM +, Vladimir Oltean wrote: > On Wed, Apr 27, 2022 at 10:13:30AM +0300, Dan Carpenter wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: cf424ef014ac30b0da27125dd1fbdf

[kbuild] Re: [krzk-github:n/qcom-ufs-opp-v2 14/16] drivers/opp/core.c:1215 dev_pm_opp_set_rate() error: uninitialized symbol 'ret'.

2022-04-15 Thread Dan Carpenter
On Fri, Apr 15, 2022 at 09:45:47AM +0300, Dan Carpenter wrote: > tree: https://github.com/krzk/linux n/qcom-ufs-opp-v2 > head: bf7d30c9329c87f06dff42b303a9bcfd2e1f54eb > commit: be46c855d54f763bfb95424e5204fe7496e2ee5f [14/16] PM: opp: allow > control of multiple clocks &g

[kbuild] Re: [PATCH v4 3/5] usb: gadget: add trace event of configfs group operation

2022-04-05 Thread Dan Carpenter
On Tue, Apr 05, 2022 at 01:54:09AM +, Linyu Yuan (QUIC) wrote: > > From: Dan Carpenter > > Sent: Monday, April 4, 2022 2:36 PM > > To: kbuild@lists.01.org; Linyu Yuan (QUIC) ; > > Felipe Balbi ; Greg Kroah-Hartman > > > > Cc: l...@intel.com; kbuild-...@lis

[kbuild] Re: [djwong-xfs:djwong-wtf 349/351] fs/xfs/xfs_bmap_util.c:1372 xfs_map_free_extent() warn: missing error code 'error'

2022-03-24 Thread Dan Carpenter
On Tue, Mar 22, 2022 at 09:38:27AM -0700, Darrick J. Wong wrote: > On Tue, Mar 22, 2022 at 08:47:26AM +0300, Dan Carpenter wrote: > > On Mon, Mar 21, 2022 at 02:59:08PM -0700, Darrick J. Wong wrote: > > > On Mon, Mar 21, 2022 at 10:33:02AM +0300, Dan Carpenter wrote: > > &g

[kbuild] Re: [linux-next:master 8752/11953] sound/soc/codecs/lpass-macro-common.c:53 lpass_macro_pds_init() warn: passing zero to 'ERR_PTR'

2022-03-22 Thread Dan Carpenter
On Tue, Mar 22, 2022 at 07:32:16PM +0530, Srinivasa Rao Mandadapu wrote: > > On 3/22/2022 7:24 PM, Dan Carpenter wrote: > Thanks for Your Time Dan!!! > > On Tue, Mar 22, 2022 at 07:03:23PM +0530, Srinivasa Rao Mandadapu wrote: > > > > 9e3d83c52844f95 Srinivasa Rao Manda

[kbuild] Re: [linux-next:master 8752/11953] sound/soc/codecs/lpass-macro-common.c:53 lpass_macro_pds_init() warn: passing zero to 'ERR_PTR'

2022-03-22 Thread Dan Carpenter
d)) > > return ERR_CAST(l_pds->macro_pd); > > > > The admin deliberately chose to enable the feature so we can't just > > ignore errors and convert them to NULL. > > Here it's not optional, if power domains feature is available

[kbuild] Re: [djwong-xfs:djwong-wtf 349/351] fs/xfs/xfs_bmap_util.c:1372 xfs_map_free_extent() warn: missing error code 'error'

2022-03-21 Thread Dan Carpenter
On Mon, Mar 21, 2022 at 02:59:08PM -0700, Darrick J. Wong wrote: > On Mon, Mar 21, 2022 at 10:33:02AM +0300, Dan Carpenter wrote: > > b82670045aab66 Darrick J. Wong 2022-01-06 1365 > > b82670045aab66 Darrick J. Wong 2022-01-06 1366 error = > > xfs_alloc_find_f

[kbuild] Re: drivers/net/ethernet/chelsio/cxgb4/sge.c:2571 cxgb4_ethofld_send_flowc() warn: missing error code 'ret'

2022-03-10 Thread Dan Carpenter
On Thu, Mar 10, 2022 at 09:00:58AM +0100, Íñigo Huguet wrote: > On Wed, Jul 7, 2021 at 9:37 AM Dan Carpenter wrote: > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: 79160a603bdb51916226caf4

[kbuild] Re: [linux-next:master 9388/11353] sound/soc/soc-compress.c:628 snd_soc_new_compress() error: we previously assumed 'codec_dai' could be null (see line 571)

2022-03-09 Thread Dan Carpenter
On Wed, Mar 09, 2022 at 05:32:19PM +0800, Jiasheng Jiang wrote: > On Wed, Mar 09, 2022 at 01:58:04AM +0800, Dan Carpenter wrote: > > smatch warnings: > > sound/soc/soc-compress.c:628 snd_soc_new_compress() error: we previously > > assumed 'codec_dai' could

[kbuild] Re: [kdave-btrfs-devel:for-next-20220307 108/147] fs/btrfs/scrub.c:3146 scrub_raid56_data_stripe_for_parity() error: we previously assumed 'bioc' could be null (see line 3138)

2022-03-08 Thread Dan Carpenter
On Tue, Mar 08, 2022 at 04:09:54PM +0300, Dan Carpenter wrote: > tree: https://github.com/kdave/btrfs-devel.git for-next-20220307 > head: 912dedd70aeb485247c507115704ea7d137d758b > commit: 80cd926eefca522182ee3cf04d8e9984073d34d1 [108/147] btrfs: refactor > scrub_raid56_parit

[kbuild] Re: [PATCH v3 2/2] serial: 8250: Add proper clock handling for OxSemi PCIe devices

2022-02-17 Thread Dan Carpenter
On Thu, Feb 17, 2022 at 12:05:58PM +, Maciej W. Rozycki wrote: > On Thu, 17 Feb 2022, Dan Carpenter wrote: > > > url: > > https://github.com/0day-ci/linux/commits/Maciej-W-Rozycki/serial-8250-Fixes-for-Oxford-Semiconductor-950-UARTs/20220212-164255 > > > >

[kbuild] Re: [ambarus:spi-nor/next 1/15] drivers/spi/atmel-quadspi.c:1202 atmel_qspi_dma_init() warn: passing zero to 'PTR_ERR'

2022-02-11 Thread Dan Carpenter
On Fri, Feb 11, 2022 at 08:30:48AM +, tudor.amba...@microchip.com wrote: > On 2/11/22 10:04, Dan Carpenter wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > tree: https://github.com/ambarus/linux-

[kbuild] Re: arch/powerpc/net/bpf_jit_comp.c:225 bpf_int_jit_compile() error: uninitialized symbol 'pass'.

2022-02-04 Thread Dan Carpenter
On Fri, Feb 04, 2022 at 02:24:50PM +, Christophe Leroy wrote: > > > Le 04/02/2022 à 15:14, Dan Carpenter a écrit : > > On Fri, Feb 04, 2022 at 01:18:24PM +, Christophe Leroy wrote: > >> Hi Dan, > >> > >> Le 04/02/2022 à 11:37, Dan Carp

[kbuild] Re: arch/powerpc/net/bpf_jit_comp.c:225 bpf_int_jit_compile() error: uninitialized symbol 'pass'.

2022-02-04 Thread Dan Carpenter
On Fri, Feb 04, 2022 at 01:18:24PM +, Christophe Leroy wrote: > Hi Dan, > > Le 04/02/2022 à 11:37, Dan Carpenter a écrit : > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: 88808fbbead481aedb46640a

[kbuild] Re: kernel/trace/trace_events_hist.c:6174 event_hist_trigger_parse() error: we previously assumed 'glob' could be null (see line 6166)

2022-01-26 Thread Dan Carpenter
ke the logic should keep glob from > ever being NULL. Smatch can also figure that out, and does not warn, if you have the cross function DB. Unfortunately, that's not feasible for the zero day bot because it takes too long to build the DB. I was puzzled why this warning showed up now when the code is from 2018. regards, dan carpenter ___ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org

[kbuild] [allisonhenderson-xfs-work:delayed_attrs_v26_extended 17/30] fs/xfs/libxfs/xfs_attr.c:666:46: warning: Expression '(X | 0x8) != 0x0' is always true. [comparisonError]

2022-01-24 Thread Dan Carpenter
tree: https://github.com/allisonhenderson/xfs_work.git delayed_attrs_v26_extended head: 19459f5cfa422b0a6a9cd3898892e43ecb49f8f3 commit: 721a69ffe0e2561371de01822bef355354eee926 [17/30] xfs: add parent pointer support to attribute code compiler: sparc64-linux-gcc (GCC) 11.2.0 If you fix

[kbuild] Re: [kvalo-ath:pending 52/56] drivers/net/wireless/ath/ath11k/wmi.c:5651 ath11k_wmi_tlv_fw_stats_data_parse() error: uninitialized symbol 'len'.

2022-01-11 Thread Dan Carpenter
if (len < > > sizeof(*src)) > > > > "len" is never initialized. > > I only quickly looked at this, but AFAICS ath11k_wmi_tlv_iter() provides > len to ath11k_wmi_tlv_fw_stats_parse() which again provides len to > ath11k_wmi_tlv_fw_stats_data_parse().

[kbuild] Re: [PATCH bpf-next] Fix incorrect integer literal used for marking scratched registers in verifier logs

2022-01-11 Thread Dan Carpenter
L > > > instead of UL literal values. > > > > > > Reported-by: kernel test robot > > > Reported-by: Dan Carpenter > > > Signed-off-by: Christy Lee > > > > The fix looks good to me. Thus: > > > > Acked-by: Song Liu > > > > However,

[kbuild] Re: drivers/firmware/arm_scmi/scmi_pm_domain.c:40 scmi_pd_power() error: uninitialized symbol 'ret_state'.

2021-12-08 Thread Dan Carpenter
te: 9 weeks ago > config: arc-randconfig-m031-20211208 > (https://download.01.org/0day-ci/archive/20211208/202112081921.snwphjs3-...@intel.com/config) > compiler: arc-elf-gcc (GCC) 11.2.0 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot

[kbuild] Re: [chrome-os:chromeos-5.10 99/235] drivers/usb/typec/port-mapper.c:168 typec_link_port() warn: missing error code 'ret'

2021-12-07 Thread Dan Carpenter
On Tue, Dec 07, 2021 at 08:26:09AM -0800, Guenter Roeck wrote: > On Tue, Dec 7, 2021 at 2:58 AM Dan Carpenter wrote: > > 98e43a40b551c9 Heikki Krogerus 2021-04-07 165 > > 98e43a40b551c9 Heikki Krogerus 2021-04-07 166 connector = > > find_connector(node); >

[kbuild] Re: drivers/net/can/usb/peak_usb/pcan_usb.c:523 pcan_usb_decode_error() error: we previously assumed 'cf' could be null (see line 503)

2021-12-03 Thread Dan Carpenter
e not inline). I saw that this patch was old and could easily have checked it on my system which has the cross function DB but I was in a rush. :/ My bad. Will try be a more diligent person next time. regards, dan carpenter ___ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org

[kbuild] Re: [linux-next:master 4042/4626] net/ceph/messenger_v2.c:311 alloc_conn_buf() error: kvmalloc() only makes sense with GFP_KERNEL

2021-12-03 Thread Dan Carpenter
The mm devs have modified vmalloc() to all GFP_NOIO. It's only GFP_ATOMIC and GFP_SLEEP which aren't allowed now. I have pushed an update for this. regards, dan carpenter On Wed, Dec 01, 2021 at 11:26:46PM +0800, kernel test robot wrote: > CC: kbuild-...@lists.01.org > CC: Linux

[kbuild] Re: net/mctp/test/utils.c:15 mctp_test_dev_tx() error: use kfree_skb() here instead of kfree(skb)

2021-11-28 Thread Dan Carpenter
=1 CHECK="/path/to/smatch -p=kernel" regards, dan carpenter ___ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org

[kbuild] Re: [PATCH] vdpa: Consider device id larger than 31

2021-11-28 Thread Dan Carpenter
; > assignment. > > > > > > Fixes: 33b347503f01 ("vdpa: Define vdpa mgmt device, ops and a netlink > > > interface") > > > Reported-by: kernel test robot > > > Reported-by: Dan Carpenter > > > Signed-off-by: Parav Pandit > > >

[kbuild] Re: drivers/net/dsa/qca8k.c:944 qca8k_parse_port_config() error: testing array offset 'cpu_port_index' after use.

2021-11-16 Thread Dan Carpenter
gt; > > 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 > > > > Reported-by: Dan Carpenter > > > > > > > > >

[kbuild] Re: drivers/net/dsa/qca8k.c:944 qca8k_parse_port_config() error: testing array offset 'cpu_port_index' after use.

2021-11-15 Thread Dan Carpenter
qca8k: rework > > rgmii delay logic and scan for cpu port 6 > > config: i386-randconfig-m021-20211025 (attached as .config) > > 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

[kbuild] Re: [PATCH v0.7 3/5] sched/umcg: implement UMCG syscalls

2021-10-14 Thread Dan Carpenter
On Thu, Oct 14, 2021 at 02:56:43AM +0800, kernel test robot wrote: > > url: > https://github.com/0day-ci/linux/commits/Peter-Oskolkov/sched-mm-x86-uaccess-implement-User-Managed-Concurrency-Groups/20211013-072710 How do I do a git fetch of this again? regards, dan

[kbuild] Re: [linux-next:master 2736/10638] drivers/net/can/usb/peak_usb/pcan_usb.c:523 pcan_usb_decode_error() error: we previously assumed 'cf' could be null (see line 503)

2021-08-27 Thread Dan Carpenter
hey can be parsed inline. That would be a lot faster. regards, dan carpenter ___ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org

[kbuild] Re: [cxl-cxl:pending 39/40] drivers/cxl/core/bus.c:501 devm_cxl_add_decoder() warn: variable dereferenced before check 'cxld' (see line 497)

2021-08-26 Thread Dan Carpenter
On Wed, Aug 25, 2021 at 10:12:32AM +0300, Dan Carpenter wrote: > b7ca54b6255144 drivers/cxl/core/bus.c Dan Williams 2021-08-24 494 int > devm_cxl_add_decoder(struct device *host, struct cxl_decoder *cxld, > 574d46ed53b527 drivers/cxl/core/bus.c Dan Williams 2021-0

[kbuild] Re: drivers/pinctrl/pinctrl-k210.c:970 k210_fpioa_probe() warn: 'pdata->clk' not released on lines: 962,968.

2021-08-02 Thread Dan Carpenter
e time email service. If you don't want to free resources then that's fine. If people run Smatch manually then they'll still see the warnings but the kbuild bot won't email about it again. regards, dan carpenter ___ kbuild mailing list -- kbuild@

[kbuild] Re: [linux-next:master 1517/2389] sound/pci/als4000.c:930 snd_card_als4000_probe() warn: 'pci' not released on lines: 852,872.

2021-07-26 Thread Dan Carpenter
gt; > ^^ > > Smatch complains because there is no error handling. Maybe the other > > error paths use devm_ magic? Or more likely Smatch just isn't smart > > enough... > > I believe thos

[kbuild] Re: drivers/remoteproc/mtk_scp.c:570 scp_probe() warn: missing error code 'ret'

2021-07-10 Thread Dan Carpenter
mething and that messes up parsing of PTR_ERR()? regards, dan carpenter ___ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org

[kbuild] Re: [PATCH v3 3/5] staging: vchiq: Move vchiq char driver to its own file

2021-07-05 Thread Dan Carpenter
On Mon, Jul 05, 2021 at 04:28:04PM +0530, Ojaswin Mujoo wrote: > Hello Dan, > > On Mon, Jul 05, 2021 at 12:56:09PM +0300, Dan Carpenter wrote: > > Hi Ojaswin, > > > > url: > > https://github.com/0day-ci/linux/commits/Ojaswin-Mujoo/vchiq-Patch-to-separat

[kbuild] Re: [Intel-gfx] [drm-intel:drm-intel-gt-next 8/14] drivers/gpu/drm/i915/gt/selftest_migrate.c:102 copy() error: uninitialized symbol 'rq'.

2021-07-02 Thread Dan Carpenter
which involves dropping some locks), if we see any other > error then the loop is terminated with ww->loop = false, which then > hits the goto err_out. > Ah, yeah, you're right. False positive. I hadn't looked at this code in context (I only had reviewed the email). Now that I've pulled the

[kbuild] Re: [Intel-gfx] [drm-intel:drm-intel-gt-next 8/14] drivers/gpu/drm/i915/gt/selftest_migrate.c:102 copy() error: uninitialized symbol 'rq'.

2021-07-02 Thread Dan Carpenter
On Fri, Jul 02, 2021 at 02:07:27PM +0300, Dan Carpenter wrote: > On Fri, Jul 02, 2021 at 11:32:45AM +0100, Matthew Auld wrote: > > On Fri, 2 Jul 2021 at 09:45, Dan Carpenter wrote: > > > cf586021642d80 Chris Wilson 2021-06-17 84 > > > cf586021642d80 Chris Wilson 2021

[kbuild] Re: [Intel-gfx] [drm-intel:drm-intel-gt-next 8/14] drivers/gpu/drm/i915/gt/selftest_migrate.c:102 copy() error: uninitialized symbol 'rq'.

2021-07-02 Thread Dan Carpenter
On Fri, Jul 02, 2021 at 11:32:45AM +0100, Matthew Auld wrote: > On Fri, 2 Jul 2021 at 09:45, Dan Carpenter wrote: > > > > tree: git://anongit.freedesktop.org/drm-intel drm-intel-gt-next > > head: 5cd57f676bb946a00275408f0dd0d75dbc466d25 > > commit: cf586021642d8017

[kbuild] Re: [PATCH v3 07/15] fsnotify: pass arguments of fsnotify() in struct fsnotify_event_info

2021-06-30 Thread Dan Carpenter
^ Smatch doesn't know that d_inode() is always non-NULL at this point. regards, dan carpenter ___ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org

[kbuild] Re: [PATCH v3 07/15] fsnotify: pass arguments of fsnotify() in struct fsnotify_event_info

2021-06-30 Thread Dan Carpenter
ent tool and a different record of sent messages. (IMO, you should really just remove the bogus NULL checks because everyone looking at the warning will think the code is buggy). regards, dan carpenter ___ kbuild mailing list -- kbuild@lists.01.org To u

[kbuild] Re: [PATCH/rfc] NFS: introduce NFS namespaces.

2021-06-28 Thread Dan Carpenter
On Mon, Jun 28, 2021 at 10:14:13AM +1000, NeilBrown wrote: > On Fri, 25 Jun 2021, Dan Carpenter wrote: > > Hi NeilBrown, > > > > url: > > https://github.com/0day-ci/linux/commits/NeilBrown/NFS-introduce-NFS-namespaces/20210625-093359 > > > > base: g

[kbuild] Re: net/sunrpc/xprtrdma/frwr_ops.c:647 frwr_unmap_async() error: potentially dereferencing uninitialized 'last'.

2021-06-23 Thread Dan Carpenter
On Wed, Jun 23, 2021 at 03:20:10PM +0300, Chuck Lever III wrote: > Howdy Dan! > > > On Jun 23, 2021, at 6:07 AM, Dan Carpenter wrote: > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: 0c18f29aae7ce3d

[kbuild] Re: [input:next 2732/2735] drivers/input/touchscreen/resistive-adc-touch.c:84 grts_cb() error: uninitialized symbol 'z2'.

2021-05-27 Thread Dan Carpenter
On Thu, May 27, 2021 at 12:19:51PM +0200, Oleksij Rempel wrote: > Hi, > > On Thu, May 27, 2021 at 12:30:00PM +0300, Dan Carpenter wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next > > head: 6cf3b3abbf0b3b778138c0f8936aa7

[kbuild] Re: drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:3598 mlxsw_sp_nexthop_group_refresh() warn: missing error code 'err'

2021-05-15 Thread Dan Carpenter
On Sat, May 15, 2021 at 07:53:43PM +0300, Dan Carpenter wrote: > On Sat, May 15, 2021 at 06:48:40PM +0300, Ido Schimmel wrote: > > On Fri, May 14, 2021 at 05:35:00PM +0300, Dan Carpenter wrote: > > > tree: > > > https://git.kernel.org/pub/scm/linux/kernel/git

[kbuild] Re: drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:3598 mlxsw_sp_nexthop_group_refresh() warn: missing error code 'err'

2021-05-15 Thread Dan Carpenter
On Sat, May 15, 2021 at 06:48:40PM +0300, Ido Schimmel wrote: > On Fri, May 14, 2021 at 05:35:00PM +0300, Dan Carpenter wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: 315d99318179b9cd5077ccc9f7f26a

[kbuild] drivers/gpu/drm/exynos/exynos_drm_dma.c:144 exynos_drm_register_dma() error: uninitialized symbol 'mapping'.

2021-05-03 Thread Dan Carpenter
: microblaze-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot Reported-by: Dan Carpenter smatch warnings: drivers/gpu/drm/exynos/exynos_drm_dma.c:144 exynos_drm_register_dma() error: uninitialized symbol 'mapping'. vim +/mapping

[kbuild] Re: [Patch v3 6/7] crypto: qce: common: Add support for AEAD algorithms

2021-04-28 Thread Dan Carpenter
as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot Reported-by: Dan Carpenter smatch warnings: drivers/crypto/qce/common.c:482 qce_setup_regs_aead() error: uninitialized symbol 'auth_ivsize'. vim

[kbuild] Re: drivers/iommu/arm/arm-smmu/qcom_iommu.c:248 qcom_iommu_init_domain() warn: missing error code 'ret'

2021-04-28 Thread Dan Carpenter
Oops, sorry. I didn't mean to sent that. regards, dan carpenter On Wed, Apr 28, 2021 at 02:26:51PM +0300, Dan Carpenter wrote: > CC: kbuild-...@lists.01.org > CC: linux-ker...@vger.kernel.org > TO: Will Deacon > > Hi Will, > > First bad commit (maybe != root cause

[kbuild] [block:for-5.13/io_uring 143/149] fs/io_uring.c:8234 io_sqe_buffer_register() warn: this array is probably non-NULL. 'imu->bvec'

2021-04-28 Thread Dan Carpenter
as .config) 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 Reported-by: Dan Carpenter New smatch warnings: fs/io_uring.c:8234 io_sqe_buffer_register() warn: this array is probably non-NULL. 'imu->bvec'

[kbuild] [sashal-linux-stable:queue-4.9 26/29] drivers/usb/usbip/vudc_sysfs.c:238 store_sockfd() warn: inconsistent returns '>ud.sysfs_lock'.

2021-04-28 Thread Dan Carpenter
) compiler: arceb-elf-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot Reported-by: Dan Carpenter smatch warnings: drivers/usb/usbip/vudc_sysfs.c:238 store_sockfd() warn: inconsistent returns '>ud.sysfs_lock'. vim +238 drivers/usb/us

[kbuild] drivers/usb/cdns3/cdnsp-mem.c:1076 cdnsp_mem_cleanup() warn: variable dereferenced before check 'pdev->dcbaa' (see line 1058)

2021-04-28 Thread Dan Carpenter
as .config) compiler: ia64-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot Reported-by: Dan Carpenter smatch warnings: drivers/usb/cdns3/cdnsp-mem.c:1076 cdnsp_mem_cleanup() warn: variable dereferenced before check 'pdev->dcbaa' (

[kbuild] Re: [PATCH] [net-next] net: stmmac: fix gcc-10 -Wrestrict warning

2021-04-23 Thread Dan Carpenter
the issue, kindly add following tag as appropriate Reported-by: kernel test robot Reported-by: Dan Carpenter New smatch warnings: drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:3503 stmmac_request_irq_multi_msi() error: buffer overflow 'priv->rx_irq' 8 <= 8 drivers/net/ethernet/stmicro/

[kbuild] [hare-scsi-devel:scsi-result-rework 8/146] drivers/scsi/sg.c:501 sg_read() warn: this array is probably non-NULL. 'srp->sense_b'

2021-04-23 Thread Dan Carpenter
: 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 Reported-by: Dan Carpenter New smatch warnings: drivers/scsi/sg.c:501 sg_read() warn: this array is probably non-NULL. 'srp->sense_b' drivers/scsi/sg.c:579 sg_new_read() w

[kbuild] Re: [PATCH RESEND-2 RFC net-next 12/18] devlink: Introduce rate nodes

2021-04-23 Thread Dan Carpenter
) 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 Reported-by: Dan Carpenter New smatch warnings: net/core/devlink.c:1591 devlink_nl_rate_set() error: uninitialized symbol 'err'. Old smatch warnings: net/core

[kbuild] [freescale-fslc:5.4-2.3.x-imx 14423/18271] drivers/misc/mic/host/mic_main.c:209 mic_probe() warn: missing error code 'rc'

2021-04-23 Thread Dan Carpenter
-20210421 (attached as .config) 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 Reported-by: Dan Carpenter smatch warnings: drivers/misc/mic/host/mic_main.c:209 mic_probe() warn: missing error code 'rc' vim +/rc

[kbuild] [saeed:mlx5-queue 1823/1834] drivers/net/ethernet/mellanox/mlx5/core/fs_core.c:2956 mlx5_init_fs() warn: missing error code 'err'

2021-04-22 Thread Dan Carpenter
-20210421 (attached as .config) 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 Reported-by: Dan Carpenter New smatch warnings: drivers/net/ethernet/mellanox/mlx5/core/fs_core.c:2956 mlx5_init_fs() warn: missing

[kbuild] Re: [PATCH for-next v4 10/10] RDMA/rxe: Disallow MR dereg and invalidate when bound

2021-04-22 Thread Dan Carpenter
) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot Reported-by: Dan Carpenter smatch warnings: drivers/infiniband/sw/rxe/rxe_mr.c:553 rxe_invalidate_mr() warn: ignoring unreachable code. vim +553 drivers/infiniband/sw/rxe/rxe_mr.c 5f1e7f44d3a9cdb

[kbuild] [xlnx:release-2020.2.2_k26 207/241] drivers/pinctrl/core.c:1273 pinctrl_commit_state() error: uninitialized symbol 'ret'.

2021-04-20 Thread Dan Carpenter
: 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 Reported-by: Dan Carpenter New smatch warnings: drivers/pinctrl/core.c:1273 pinctrl_commit_state() error: uninitialized symbol 'ret'. vim +/ret +1273 drivers/pinctrl

[kbuild] [linux-next:master 12597/13745] drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hwseq.c:222 dcn21_set_backlight_level() error: we previously assumed 'panel_cntl' could be null (see line

2021-04-20 Thread Dan Carpenter
(attached as .config) 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 Reported-by: Dan Carpenter smatch warnings: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hwseq.c:222 dcn21_set_backlight_level

[kbuild] [chrome-os:chromeos-5.4 56/243] drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_req_lat_if.c:751:10: warning: Expression is always false because 'else if' condition matches previous condition

2021-04-20 Thread Dan Carpenter
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4 head: 52d269f32500581166246e0e494b2b62d979dba6 commit: bc0b0ae994e6bb17b12bfd882c2eb837eb29c078 [56/243] CHROMIUM: media: mtk-vcodec: Add vp9 slice api driver for mt8192 compiler: hppa-linux-gcc (GCC) 9.3.0

[kbuild] [freescale-fslc:pr/312 15428/18196] sound/soc/codecs/pcm512x.c:1658 pcm512x_probe() warn: missing error code 'ret'

2021-04-20 Thread Dan Carpenter
: 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 Reported-by: Dan Carpenter smatch warnings: sound/soc/codecs/pcm512x.c:1658 pcm512x_probe() warn: missing error code 'ret' vim +/ret +1658 sound/soc/codecs/pcm512x.c

[kbuild] [chrome-os:chromeos-5.4 54/243] drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_lat_if.c:575:34: warning: Uninitialized variable: timeout [uninitvar]

2021-04-20 Thread Dan Carpenter
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4 head: 52d269f32500581166246e0e494b2b62d979dba6 commit: 0a438b290ea431bc87156be5819e9f85fa951240 [54/243] CHROMIUM: media: mtk-vcodec: Add h264 slice api driver for mt8192 compiler: hppa-linux-gcc (GCC) 9.3.0

[kbuild] [block:for-5.13/drivers 46/61] drivers/md/bcache/nvm-pages.c:156:34: warning: Unsigned variable 'i' can't be negative so it is unnecessary to test it. [unsignedPositive]

2021-04-20 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-5.13/drivers head: b09729cbbbf28ecdc61f00335684f7566eb740ec commit: 97c62b647fcabd86fe703f9869be7dd91e685f50 [46/61] bcache: initialization of the buddy compiler: microblaze-linux-gcc (GCC) 9.3.0 If you fix the

[kbuild] Re: drivers/gpu/drm/msm/adreno/a3xx_gpu.c:600 a3xx_gpu_init() error: passing non negative 1 to ERR_PTR

2021-04-15 Thread Dan Carpenter
> > Btw, this patch removed the assignments: > > > > > > gpu->icc_path = of_icc_get(dev, "gfx-mem"); > > > gpu->ocmem_icc_path = of_icc_get(dev, "ocmem"); > > > >

[kbuild] Re: [PATCH v18 1/2] scsi: ufs: Enable power management for wlun

2021-04-15 Thread Dan Carpenter
) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot Reported-by: Dan Carpenter New smatch warnings: drivers/scsi/ufs/ufshcd.c:9017 ufshcd_wl_resume() error: potentially dereferencing uninitialized 'hba'. drivers/scsi/ufs/ufshcd.c:9141

[kbuild] Re: [PATCH 13/15] usb: dwc2: Add exit hibernation mode before removing drive

2021-04-15 Thread Dan Carpenter
-randconfig-m021-20210415 (attached as .config) 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 Reported-by: Dan Carpenter smatch warnings: drivers/usb/dwc2/platform.c:324 dwc2_driver_remove() error: potentially

[kbuild] Re: [PATCH net-next v2 1/2] of: net: pass the dst buffer to of_get_mac_address()

2021-04-13 Thread Dan Carpenter
-20210406 (attached as .config) 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 Reported-by: Dan Carpenter smatch warnings: drivers/net/ethernet/xilinx/xilinx_axienet_main.c:2069 axienet_probe() warn: passing

[kbuild] Re: [mkp-scsi:for-next 304/324] drivers/scsi/smartpqi/smartpqi_sas_transport.c:97 pqi_sas_port_add_rphy() warn: variable dereferenced before check 'pqi_sas_port->device' (see line 95)

2021-04-13 Thread Dan Carpenter
e line > > 95) > > Microchip: This is the second time this issue has been reported. Oops. Sorry, that's my bad. I didn't mean to report it twice. I've been catching up on email after a small vacation so my mind is a bit scattered. regards, dan carpenter _

[kbuild] Re: [PATCH V4 2/2] net: ethernet: ravb: Enable optional refclk

2021-04-13 Thread Dan Carpenter
(attached as .config) compiler: m68k-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot Reported-by: Dan Carpenter smatch warnings: drivers/net/ethernet/renesas/ravb_main.c:2254 ravb_probe() error: potentially dereferencing uninitialized

  1   2   3   4   5   6   7   8   9   10   >