[kbuild] [dhowells-fs:afs-next 23/23] fs/afs/cell.c:301 afs_lookup_cell() error: uninitialized symbol 'ret'.

2019-05-06 Thread Dan Carpenter
Reported-by: Dan Carpenter New smatch warnings: fs/afs/cell.c:301 afs_lookup_cell() error: uninitialized symbol 'ret'. # https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/commit/?id=3ec9ce15cce981ba26f016c4e16c29a1f5554f84 git remote add dhowells-fs https://git.kernel.org

[kbuild] [dhowells-fs:afs-next 18/20] fs/afs/xattr.c:174 afs_xattr_get_yfs() warn: passing zero to 'PTR_ERR'

2019-05-02 Thread Dan Carpenter
If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: fs/afs/xattr.c:191 afs_xattr_get_yfs() error: 'yacl' dereferencing possible ERR_PTR() # https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/commit

Re: [kbuild] [dhowells-fs:afs-next 18/20] fs/afs/xattr.c:174 afs_xattr_get_yfs() warn: passing zero to 'PTR_ERR'

2019-05-03 Thread Dan Carpenter
I somehow introduced a quite buggy version of Smatch for the kbuild bot and I haven't figured it out yet how that even happened. It wouldn't surprise me if that's why I'm getting this false positive. I'll take a look when this hits linux-next. regards, dan carpenter

[kbuild] [drm:drm-legacy-cleanup 17/24] drivers/gpu/drm/drm_lock.c:359 drm_legacy_lock_master_cleanup() warn: curly braces intended?

2019-04-24 Thread Dan Carpenter
Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/gpu/drm/drm_lock.c:359 drm_legacy_lock_master_cleanup() warn: curly braces intended? git remote add drm git://people.freedesktop.org/~airlied/linux.git git remote update drm git checkout

[kbuild] [soc-thermal:for-kernelci 19/35] drivers/thermal/qcom/tsens-v0_1.c:189 calibrate_8974() warn: passing zero to 'PTR_ERR'

2019-04-24 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git for-kernelci head: 0e50a5ee6b8a23c6798aae23efcd4b8e055c06ef commit: 5853cb769573b58c319fa62e1987d063b8c5b77e [19/35] drivers: thermal: tsens: Merge tsens-8974 into tsens-v0_1 New smatch warnings:

[kbuild] [pci:pci/enumeration 6/6] drivers/pci/of.c:40 pci_set_bus_of_node() error: we previously assumed 'bus->self' could be null (see line 34)

2019-04-10 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/enumeration head: 60ea7f5dd97ed9949e6fbf67e93c9b2c38cc9eb7 commit: 60ea7f5dd97ed9949e6fbf67e93c9b2c38cc9eb7 [6/6] PCI: OF: Support "external-facing" property smatch warnings: drivers/pci/of.c:40 pci_set_bus_of_node()

Re: [kbuild] [PATCH v2 2/3] qla2xxx: on session delete return nvme cmd

2019-06-26 Thread Dan Carpenter
Reported-by: Dan Carpenter New smatch warnings: drivers/scsi/qla2xxx/qla_nvme.c:245 qla_nvme_ls_req() warn: variable dereferenced before check 'fcport' (see line 242) drivers/scsi/qla2xxx/qla_nvme.c:496 qla_nvme_post_cmd() warn: variable dereferenced before check 'fcport' (see line 494) drivers

Re: [kbuild] [RFC] usb: typec: ucsi: add support for separate DP altmode devices

2019-06-29 Thread Dan Carpenter
test robot Reported-by: Dan Carpenter smatch warnings: drivers/usb/typec/ucsi/ucsi.c:63 ucsi_sync() warn: variable dereferenced before check 'ucsi->ppm' (see line 58) # https://github.com/0day-ci/linux/commit/4e6dc28e8a1a0556817346b0806e50600ba1b30d git remote add linux-review ht

Re: [kbuild] [RFC] mm: Proactive compaction

2019-08-31 Thread Dan Carpenter
/Nitin-Gupta/mm-Proactive-compaction/20190818-055048 If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: mm/compaction.c:2526 kobj_to_compaction_order_state() error: buffer overflow 'compaction_order_kobjs' 11 <= 11 # ht

Re: [kbuild] [PATCH/RFC 5/5] [HACK] drm/edid: Decouple EDID retrieval from connector

2019-08-29 Thread Dan Carpenter
/Laurent-Pinchart/drm-edid-Reorganise-the-DisplayID-parsing-code/20190822-132052 If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/gpu/drm/drm_edid.c:5308 __drm_do_get_edid() error: uninitialized symbol 'ret

[kbuild] [pm:devprop 1/4] drivers/base/swnode.c:656 software_node_find_by_name() error: uninitialized symbol 'swnode'.

2019-08-29 Thread Dan Carpenter
Reported-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/base/swnode.c:656 software_node_find_by_name() error: uninitialized symbol 'swnode'. Old smatch warnings: drivers/base/swnode.c:71 software_node_to_swnode() error: uninitialized symbol 'swnode'. git remote

Re: [kbuild] [Intel-gfx] [PATCH v12 11/11] drm/i915: add support for perf configuration queries

2019-09-02 Thread Dan Carpenter
-ci/linux/commits/Lionel-Landwerlin/drm-i915-Vulkan-performance-query-support/20190831-033234 base: git://anongit.freedesktop.org/drm-intel for-linux-next If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/gpu/drm

[kbuild] [linux-next:master 6222/11392] drivers/tty/serial/fsl_linflexuart.c:278 linflex_rxint() warn: curly braces intended?

2019-09-06 Thread Dan Carpenter
tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/tty/serial/fsl_linflexuart.c:278 linflex_rxint() warn: curly braces intended? drivers/tty/serial/fsl_linflexuart.c:626 linflex_earlycon_putchar() error: we previously assumed 'earlycon_buf.content' could

[kbuild] [cifs:for-next 15/15] fs/cifs/transport.c:1247 SendReceive() warn: variable dereferenced before check 'ses' (see line 1245)

2019-09-06 Thread Dan Carpenter
Reported-by: Dan Carpenter New smatch warnings: fs/cifs/transport.c:1247 SendReceive() warn: variable dereferenced before check 'ses' (see line 1245) fs/cifs/transport.c:1342 SendReceive() warn: inconsistent returns 'mutex:>server->srv_mutex'. Locked on: line 1249 Unlocked on: line 1284 f

Re: [kbuild] [linux-next:master 6222/11392] drivers/tty/serial/fsl_linflexuart.c:278 linflex_rxint() warn: curly braces intended?

2019-09-06 Thread Dan Carpenter
I'm not totally sure what went wrong here. Smatch is supposed to be able to parse this code correctly to know that it's non-NULL. It's working fine when I do it on my system. I recently fixed a bunch of bugs though so maybe that fixed the problem. r

[kbuild] [cifs:for-next 24/31] fs/cifs/smb2ops.c:4056 smb2_decrypt_offload() error: we previously assumed 'mid' could be null (see line 4045)

2019-09-13 Thread Dan Carpenter
Reported-by: Dan Carpenter New smatch warnings: fs/cifs/smb2ops.c:4056 smb2_decrypt_offload() error: we previously assumed 'mid' could be null (see line 4045) git remote add cifs git://git.samba.org/sfrench/cifs-2.6.git git remote update cifs git checkout a091c5f67c994d154e8faf95ab774644be2f4dd7 vim

[kbuild] [cifs:for-next 31/31] fs/cifs/smb2ops.c:786 open_shroot() error: double unlock 'mutex:>crfid.fid_mutex'

2019-09-13 Thread Dan Carpenter
-by: Dan Carpenter New smatch warnings: fs/cifs/smb2ops.c:786 open_shroot() error: double unlock 'mutex:>crfid.fid_mutex' git remote add cifs git://git.samba.org/sfrench/cifs-2.6.git git remote update cifs git checkout 5fc321fb644fc787710353be11129edadd313f3a vim +786 fs/cifs/smb2ops.c fs/c

[kbuild] drivers/gpu/drm/i915/display/intel_display.c:3934 skl_plane_stride() error: testing array offset 'color_plane' after use.

2019-09-13 Thread Dan Carpenter
following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/gpu/drm/i915/display/intel_display.c:3934 skl_plane_stride() error: testing array offset 'color_plane' after use. drivers/gpu/drm/i915/display/intel_display.c:16328 intel_sanitize_encoder

[kbuild] [plbossart-sound:fix/soundwire-plumbing3 41/48] drivers/soundwire/intel_init.c:153 sdw_intel_probe_controller() warn: variable dereferenced before check 'res' (see line 150)

2019-09-14 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/soundwire/intel_init.c:153 sdw_intel_probe_controller() warn: variable dereferenced before check 'res' (see line 150) # https://github.com/plbossart/sound/commit/ff6696015e91973040c30d8486f9f012ab75ca9c git remote add

Re: [kbuild] [PATCH] net-ipv6: fix excessive RTF_ADDRCONF flag on ::1/128 local route (and others)

2019-09-15 Thread Dan Carpenter
build test robot Reported-by: Dan Carpenter New smatch warnings: net/ipv6/route.c:4409 addrconf_f6i_alloc() error: 'f6i' dereferencing possible ERR_PTR() Old smatch warnings: net/ipv6/route.c:5142 ip6_route_multipath_add() error: we previously assumed 'cfg->fc_nlinfo.nlh' could be null (see l

[kbuild] [ti:ti-linux-4.19.y 8013/8024] drivers/gpu/drm/bridge/cdns-mhdp.c:818 cdns_mhdp_link_up() warn: maybe use && instead of

2019-09-07 Thread Dan Carpenter
following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/gpu/drm/bridge/cdns-mhdp.c:818 cdns_mhdp_link_up() warn: maybe use && instead of & git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git git remote update ti

[kbuild] [ambarus:spi-nor/quad-enable-rework 42/63] drivers/mtd/spi-nor/spi-nor.c:967 spi_nor_erase_sector() error: we previously assumed 'nor->controller_ops' could be null (see line 945)

2019-09-18 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/mtd/spi-nor/spi-nor.c:967 spi_nor_erase_sector() error: we previously assumed 'nor->controller_ops' could be null (see line 945) # https://github.com/ambarus/linux-0day/commit/17c864d9db07f7a20a6f357d91b5bc2dd9834df5

[kbuild] [hch-misc:dma-mmap-improvements 43/43] kernel/dma/mapping.c:200 dma_insert_pages() error: uninitialized symbol 'ret'.

2019-09-16 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: kernel/dma/mapping.c:200 dma_insert_pages() error: uninitialized symbol 'ret'. git remote add hch-misc git://git.infradead.org/users/hch/misc.git git remote update hch-misc git checkout 2c6d5eb75197617568baa83eafa623f1f9753fa3

Re: [kbuild] drivers/gpu/drm/i915/display/intel_display.c:3934 skl_plane_stride() error: testing array offset 'color_plane' after use.

2019-09-16 Thread Dan Carpenter
On Mon, Sep 16, 2019 at 10:31:35AM +0300, Jani Nikula wrote: > On Sat, 14 Sep 2019, Dan Carpenter wrote: > > tree: > > https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: a7f89616b7376495424f682b

[kbuild] [linux-next:master 11119/13351] drivers/memory/samsung/exynos5422-dmc.c:272 exynos5_init_freq_table() warn: passing devm_ allocated variable to kfree. 'dmc->opp'

2019-09-19 Thread Dan Carpenter
Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/memory/samsung/exynos5422-dmc.c:272 exynos5_init_freq_table() warn: passing devm_ allocated variable to kfree. 'dmc->opp' git remote add linux-next https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/li

Re: [kbuild] [linux-next:master 11119/13351] drivers/memory/samsung/exynos5422-dmc.c:272 exynos5_init_freq_table() warn: passing devm_ allocated variable to kfree. 'dmc->opp'

2019-09-19 Thread Dan Carpenter
On Thu, Sep 19, 2019 at 08:42:40AM +0200, Krzysztof Kozlowski wrote: > On Thu, 19 Sep 2019 at 08:37, Dan Carpenter wrote: > > > > tree: > > https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next.git > > master > > head: 288b9117de5cc1b7fb

[kbuild] [rcu:dev.2019.09.23a 62/77] kernel/rcu/tree.c:2882 kfree_call_rcu() warn: inconsistent returns 'irqsave:flags'.

2019-09-24 Thread Dan Carpenter
, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: kernel/rcu/tree.c:2882 kfree_call_rcu() warn: inconsistent returns 'irqsave:flags'. Locked on: line 2867 Unlocked on: line 2882 git remote add rcu https://kernel.googlesource.com/pub/scm

[kbuild] [ti:ti-android-linux-4.19.y 10746/10785] drivers/pci/endpoint/functions/pci-epf-ntb.c:180 epf_ntb_configure_db() error: uninitialized symbol 'db_data'.

2019-09-24 Thread Dan Carpenter
add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/pci/endpoint/functions/pci-epf-ntb.c:180 epf_ntb_configure_db() error: uninitialized symbol 'db_data'. git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git git remote update

[kbuild] [goldwynr:btrfs-iomap 11/12] fs/btrfs/iomap.c:490 btrfs_dio_iomap_begin() error: 'em' dereferencing possible ERR_PTR()

2019-06-14 Thread Dan Carpenter
Reported-by: Dan Carpenter New smatch warnings: fs/btrfs/iomap.c:490 btrfs_dio_iomap_begin() error: 'em' dereferencing possible ERR_PTR() Old smatch warnings: fs/btrfs/iomap.c:504 btrfs_dio_iomap_begin() error: 'em' dereferencing possible ERR_PTR() # https://github.com/goldwynr/linux/commit

[kbuild] Re: drivers/usb/usbip/stub_rx.c:505 stub_recv_cmd_submit() error: uninitialized symbol 'nents'.

2019-10-30 Thread Dan Carpenter
On Sat, Oct 26, 2019 at 11:41:41AM +0900, Suwan Kim wrote: > On Thu, Oct 24, 2019 at 04:52:52PM -0600, shuah wrote: > > On 10/24/19 1:45 PM, Dan Carpenter wrote: > > > On Wed, Oct 23, 2019 at 04:11:20PM +0900, Suwan Kim wrote: > > > > On Tue, Oct 22, 2019 at 12:28:3

[kbuild] [linux-next:master 7938/8210] fs/erofs/super.c:190 erofs_read_superblock() warn: passing the wrong variable to kunmap()

2019-11-02 Thread Dan Carpenter
test robot Reported-by: Dan Carpenter smatch warnings: fs/erofs/super.c:190 erofs_read_superblock() warn: passing the wrong variable to kunmap() # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=f0a6634246f9d8f73be2b22bdd475530914d22c7 git remote add linux-next

[kbuild] [chao-linux:compression 1/3] fs/f2fs/data.c:433 __has_merged_page() error: 'target' dereferencing possible ERR_PTR()

2019-11-02 Thread Dan Carpenter
Reported-by: Dan Carpenter New smatch warnings: fs/f2fs/data.c:433 __has_merged_page() error: 'target' dereferencing possible ERR_PTR() Old smatch warnings: fs/f2fs/data.c:2451 f2fs_write_single_data_page() warn: should '(page->index + 1) << 12' be a 64 bit type? # https://git.k

[kbuild] [pm:bleeding-edge 62/70] drivers/acpi/acpica/dbnames.c:576 acpi_db_walk_for_fields() error: double free of 'buffer.pointer'

2019-11-01 Thread Dan Carpenter
add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/acpi/acpica/dbnames.c:576 acpi_db_walk_for_fields() error: double free of 'buffer.pointer' # https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?id

[kbuild] [km13park-linux-1:master 4/7] drivers/iommu/intel-iommu.c:3227 audit_iommu_capabilities() error: potentially dereferencing uninitialized 'first_drhd'.

2019-11-14 Thread Dan Carpenter
the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/iommu/intel-iommu.c:3227 audit_iommu_capabilities() error: potentially dereferencing uninitialized 'first_drhd'. Old smatch warnings: drivers/iommu/intel-iommu.c:823

[kbuild] Re: [PATCH v4 15/16] leds: Add common LED binding parsing support to LED class/core

2019-11-17 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/leds/led-core.c:400 fw_is_match() error: uninitialized symbol 'ret'. drivers/leds/led-core.c:465 led_find_fwnode() error: double free of 'val' # https://github.com/0day-ci/linux/commit

[kbuild] [feng:master 7/12] mm/page_alloc.c:5644 dump_node_zonelists() error: format specifier '%]' invalid

2019-11-17 Thread Dan Carpenter
tree: feng/master head: 2c92de2e1f348ec7ea1884503b8b873276f37ed3 commit: 16d2d0ab190b72af553cb361ccdd9a6a7b20cc0d [7/12] zonelist: add dump If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: mm/page_alloc.c:5644

[kbuild] [dhowells-fs:fscache-next 10/11] fs/cachefiles/interface.c:101 cachefiles_alloc_object() error: uninitialized symbol 'lookup_data'.

2019-11-03 Thread Dan Carpenter
tag Reported-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: fs/cachefiles/interface.c:101 cachefiles_alloc_object() error: uninitialized symbol 'lookup_data'. # https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/commit/?id

[kbuild] Re: [PATCH v2 1/2] kernfs: Convert to u64 id

2019-11-05 Thread Dan Carpenter
tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: kernel/trace/blktrace.c:104 trace_note() warn: potential pointer math issue ('t' is a 384 bit pointer) # https://github.com/0day-ci/linux/commit/a2dbd125b386ea824c182d058d78ddb627bb633c git remote add linux-review

[kbuild] [wireless-drivers-next:master 8/21] drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c:596 qtnf_pcie_skb_send() warn: variable dereferenced before check 'skb' (see line 560)

2019-11-21 Thread Dan Carpenter
Reported-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c:596 qtnf_pcie_skb_send() warn: variable dereferenced before check 'skb' (see line 560) # https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers

[kbuild] Re: [wireless-drivers-next:master 8/21] drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c:596 qtnf_pcie_skb_send() warn: variable dereferenced before check 'skb' (see line 560)

2019-11-21 Thread Dan Carpenter
y cares about consistent checking. Or it will accept inconsistent NULL checks so long as it is convinced that the pointer can't be NULL. regards, dan carpenter ___ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org

[kbuild] Re: [linux-drivers-review] [PATCH 2/3] hqm: add HQM PF device support

2019-12-03 Thread Dan Carpenter
b78cda795ac8293f1bfa3165572a47e550c2 If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/misc/hqm/hqm_ioctl.c:114 hqm_domain_ioctl_enable_ldb_port() warn: potential spectre issue 'dev->intr.ldb_cq_intr' [w] drivers/m

[kbuild] Re: [PATCH next 2/3] debugfs: introduce debugfs_create_single[,_data]

2019-12-03 Thread Dan Carpenter
-ci/linux/commits/Kefeng-Wang/debugfs-introduce-debugfs_create_single-seq-_data/20191129-173440 base:d26b0e226f222c22c3b7e9d16e5b886e7c51057a If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: fs/debugfs/file.c:1193

[kbuild] Re: [kbuild-all] Re: [PATCH next 2/3] debugfs: introduce debugfs_create_single[,_data]

2019-12-03 Thread Dan Carpenter
On Tue, Dec 03, 2019 at 05:02:54PM +0800, Rong Chen wrote: > > > On 12/3/19 4:38 PM, Dan Carpenter wrote: > > [ How do I fetch 0day git branchs? > >git fetch > > https://github.com/0day-ci/linux/commits/Kefeng-Wang/debugfs-introduce-debugfs_create_singl

[kbuild] drivers/clk/ingenic/jz4770-cgu.c:442 jz4770_cgu_init() error: we previously assumed 'cgu' could be null (see line 435)

2019-12-13 Thread Dan Carpenter
following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/clk/ingenic/jz4770-cgu.c:442 jz4770_cgu_init() error: we previously assumed 'cgu' could be null (see line 435) # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id

[kbuild] Re: [Intel-gfx] [PATCH] drm/i915: Add lmem fault handler

2019-12-13 Thread Dan Carpenter
If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/gpu/drm/i915/gem/i915_gem_lmem.c:40 vm_fault_lmem() error: uninitialized symbol 'vmf_ret'. # https://github.com/0day-ci/linux/commit

[kbuild] sound/firewire/motu/motu-pcm.c:191 pcm_open() error: double unlocked 'motu->mutex' (orig line 179)

2019-12-08 Thread Dan Carpenter
add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: sound/firewire/motu/motu-pcm.c:191 pcm_open() error: double unlocked 'motu->mutex' (orig line 179) # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/

[kbuild] [linux-review:UPDATE-20191027-161609/Michal-Suchanek/Fix-cdrom-autoclose/20191025-101637 7/8] drivers/scsi/scsi_devinfo.c:458 scsi_dev_info_list_find() warn: add some parenthesis here?

2019-10-28 Thread Dan Carpenter
. If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/scsi/scsi_devinfo.c:458 scsi_dev_info_list_find() warn: add some parenthesis here? drivers/scsi/scsi_devinfo.c:458 scsi_dev_info_list_find() warn: maybe use &&

[kbuild] [thierryreding:for-5.5/dp 79/124] drivers/memory/core.c:79 of_memory_controller_get() error: double unlock 'mutex:_lock'

2019-10-21 Thread Dan Carpenter
Reported-by: Dan Carpenter New smatch warnings: drivers/memory/core.c:79 of_memory_controller_get() error: double unlock 'mutex:_lock' Old smatch warnings: include/linux/compiler.h:226 __write_once_size() warn: potential memory corrupting cast 8 vs 4 bytes # https://github.com/thierryreding

Re: [PATCH nf-next] netfilter: ctnetlink: don't dump ct extensions of unconfirmed conntracks

2019-10-15 Thread Dan Carpenter
If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: net/netfilter/nf_conntrack_netlink.c:537 ctnetlink_dump_info() warn: if statement not indented # https://github.com/0day-ci/linux/commit

[kbuild] [drm-intel:drm-intel-next-queued 1/1] drivers/gpu/drm/i915/i915_irq.c:2283 icp_irq_handler() error: uninitialized symbol 'tc_port_hotplug_long_detect'.

2019-10-15 Thread Dan Carpenter
Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/gpu/drm/i915/i915_irq.c:2283 icp_irq_handler() error: uninitialized symbol 'tc_port_hotplug_long_detect'. git remote add drm-intel git://anongit.freedesktop.org/drm-intel git remote update drm-intel git checkout

[kbuild] Re: [PATCH v2 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver

2019-10-15 Thread Dan Carpenter
tag Reported-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/gpu/drm/bridge/analogix/anx7625.c:1274 anx7625_start_dp_work() error: uninitialized symbol 'sp_tx_lane_count'. # https://github.com/0day-ci/linux/commit/152a82b6747f10d6c13c7a422173947c2f2e1aa2 git

[kbuild] [alexandrebelloni:rtc-misc 34/39] drivers/rtc/rtc-cros-ec.c:112 cros_ec_rtc_set_time() error: uninitialized symbol 'time'.

2019-10-16 Thread Dan Carpenter
-by: Dan Carpenter smatch warnings: drivers/rtc/rtc-cros-ec.c:112 cros_ec_rtc_set_time() error: uninitialized symbol 'time'. # https://github.com/alexandrebelloni/linux/commit/f8d8bea4a97442957ea627754319f0b7a05f399c git remote add alexandrebelloni https://github.com/alexandrebelloni/linux git

[kbuild] drivers/gpu/drm/mxsfb/mxsfb_drv.c:304 mxsfb_load() error: we previously assumed 'mxsfb->panel' could be null (see line 262)

2019-10-16 Thread Dan Carpenter
the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/gpu/drm/mxsfb/mxsfb_drv.c:304 mxsfb_load() error: we previously assumed 'mxsfb->panel' could be null (see line 262) git remote add drm-drm-misc git://anongit.freedesktop.org/drm/

[kbuild] drivers/usb/usbip/stub_rx.c:505 stub_recv_cmd_submit() error: uninitialized symbol 'nents'.

2019-10-22 Thread Dan Carpenter
following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/usb/usbip/stub_rx.c:505 stub_recv_cmd_submit() error: uninitialized symbol 'nents'. Old smatch warnings: drivers/usb/usbip/stub_rx.c:450 stub_recv_xbuff() error: uninitialized symbol 'ret'. # https

[kbuild] Re: drivers/usb/usbip/stub_rx.c:505 stub_recv_cmd_submit() error: uninitialized symbol 'nents'.

2019-10-24 Thread Dan Carpenter
On Wed, Oct 23, 2019 at 04:11:20PM +0900, Suwan Kim wrote: > On Tue, Oct 22, 2019 at 12:28:39PM +0300, Dan Carpenter wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: 7d194c2100ad2a6dded545887d0275

[kbuild] [linux-next:master 5983/6376] net/dsa/dsa2.c:849 dsa_switch_probe() warn: variable dereferenced before check 'ds->dev' (see line 845)

2019-10-23 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: net/dsa/dsa2.c:849 dsa_switch_probe() warn: variable dereferenced before check 'ds->dev' (see line 845) # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=7e99e34701728d54ccd0466eccf377a42b9db215

Re: [PATCH v4 02/11] crypto: Add Allwinner sun8i-ce Crypto Engine

2019-10-22 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c:371 sun8i_ce_allocate_chanlist() error: uninitialized symbol 'err'. # https://github.com/0day-ci/linux/commit/f113059e7b4f94c545994aeafdc809a3e4907ae4 git remote add linux-review

[kbuild] [plbossart-sound:integration/soundwire-20191022 51/53] drivers/soundwire/stream.c:1557 sdw_prepare_stream() warn: variable dereferenced before check 'stream' (see line 1555)

2019-10-25 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/soundwire/stream.c:1557 sdw_prepare_stream() warn: variable dereferenced before check 'stream' (see line 1555) drivers/soundwire/stream.c:1655 sdw_enable_stream() warn: variable dereferenced before check 'stream' (see line

[kbuild] [djwong-xfs:verifier-fixes 70/141] fs/xfs/xfs_icache.c:628 xfs_iget_cache_hit() warn: inconsistent returns 'spin_lock:>i_flags_lock'.

2019-10-26 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: fs/xfs/xfs_icache.c:628 xfs_iget_cache_hit() warn: inconsistent returns 'spin_lock:>i_flags_lock'. Locked on: line 601 Unlocked on: line 623 Old smatch warnings: include/linux/compiler.h:226 __write_once_size() warn: potent

[kbuild] Re: [Intel-gfx] [PATCH] drm/i915: switch intel_ddi_init() to intel types

2019-11-18 Thread Dan Carpenter
-Marchi/drm-i915-switch-intel_ddi_init-to-intel-types/20191108-185646 base: git://anongit.freedesktop.org/drm-intel for-linux-next If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/gpu/drm/i915/display/intel_ddi.c:4717

[kbuild] [leon-rdma:rdma-next 59/63] net/core/rtnetlink.c:1279 rtnl_fill_vfinfo() warn: check that 'node_guid' doesn't leak information (struct has a hole after 'vf')

2019-11-20 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: net/core/rtnetlink.c:1279 rtnl_fill_vfinfo() warn: check that 'node_guid' doesn't leak information (struct has a hole after 'vf') net/core/rtnetlink.c:1281 rtnl_fill_vfinfo() warn: check that 'port_guid' doesn't leak information

[kbuild] Re: [leon-rdma:rdma-next 59/63] net/core/rtnetlink.c:1279 rtnl_fill_vfinfo() warn: check that 'node_guid' doesn't leak information (struct has a hole after 'vf')

2019-11-20 Thread Dan Carpenter
On Wed, Nov 20, 2019 at 03:45:16PM +0200, Leon Romanovsky wrote: > On Wed, Nov 20, 2019 at 03:49:00PM +0300, Dan Carpenter wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git > > rdma-next > > head: 7f9a863f2a4067a38cc6ad330b9425

[kbuild] [zx2c4:jd/wireguard-azinc 1/3] drivers/net/wireguard/send.c:180 encrypt_packet() error: uninitialized symbol 'trailer'.

2019-11-24 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/net/wireguard/socket.c:413 wg_socket_init() warn: variable dereferenced before check 'new4' (see line 393) drivers/net/wireguard/selftest/allowedips.c:419 randomized_test() error: double lock 'mutex:' # https

[kbuild] Re: [PATCH 2/2] tty: add retry to tty_init_dev() to workaround a race condition

2019-11-24 Thread Dan Carpenter
Reported-by: Dan Carpenter smatch warnings: drivers/tty/tty_io.c:1360 tty_init_dev() error: we previously assumed 'tty->port' could be null (see line 1348) # https://github.com/0day-ci/linux/commit/8de47da07f8c6fe6f631965cafb384cd0d72ce40 git remote add linux-review https://github.com/0day

[kbuild] Re: [PATCH v5 25/27] NFS: Add fs_context support.

2019-11-22 Thread Dan Carpenter
Hi Scott, url: https://github.com/0day-ci/linux/commits/Scott-Mayhew/nfs-Mount-API-conversion/20191121-164447 base:af42d3466bdc8f39806b26f593604fdc54140bcb If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: fs/nfs

[kbuild] drivers/staging/vboxsf/vboxsf_wrappers.c:95 vboxsf_map_folder() error: uninitialized symbol 'status'.

2019-11-14 Thread Dan Carpenter
If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/staging/vboxsf/super.c:393 vboxsf_parse_monolithic() warn: impossible condition '(options[1] == (255)) => ((-128)-127 == 255)' Old smatch warnings: drivers/stag

[kbuild] [usb:usb-next 32/38] drivers/usb/typec/hd3ss3220.c:182 hd3ss3220_probe() warn: passing zero to 'PTR_ERR'

2019-10-07 Thread Dan Carpenter
tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/usb/typec/hd3ss3220.c:182 hd3ss3220_probe() warn: passing zero to 'PTR_ERR' # https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/commit/?id=1c48c759ef4bb9031b3347277f04484e07e27d97 git remote add

[kbuild] Re: [brauner:debugfs_namespaces 3/5] kernel/utsname.c:108 copy_utsname() error: 'new_ns' dereferencing possible ERR_PTR()

2019-10-07 Thread Dan Carpenter
On Mon, Oct 07, 2019 at 12:05:31PM +0200, Christian Brauner wrote: > On Mon, Oct 07, 2019 at 12:57:57PM +0300, Dan Carpenter wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git > > debugfs_namespaces > > head: aef8406e30cf9b60c76e5de205fa77

[kbuild] [brauner:debugfs_namespaces 3/5] kernel/utsname.c:108 copy_utsname() error: 'new_ns' dereferencing possible ERR_PTR()

2019-10-07 Thread Dan Carpenter
-by: Dan Carpenter smatch warnings: kernel/utsname.c:108 copy_utsname() error: 'new_ns' dereferencing possible ERR_PTR() # https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git/commit/?id=fce9acb4ffd1b7b342c69f0c39d49835b7232414 git remote add brauner https://git.kernel.org/pub/scm/linux

[kbuild] Re: [usb:usb-next 32/38] drivers/usb/typec/hd3ss3220.c:182 hd3ss3220_probe() warn: passing zero to 'PTR_ERR'

2019-10-07 Thread Dan Carpenter
his case, only one error label is sufficient. Yes. You could fix the leak by passing an invalid pointer to typec_unregister_port() but that way is asking for trouble in the future... These are the kinds of bugs I fix all the time because I'm working with static analysis. Clearly defined error labels are more re

[kbuild] [usb:usb-next 32/38] drivers/usb/typec/hd3ss3220.c:182 hd3ss3220_probe() warn: passing zero to 'PTR_ERR'

2019-10-07 Thread Dan Carpenter
controller If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/usb/typec/hd3ss3220.c:182 hd3ss3220_probe() warn: passing zero to 'PTR_ERR' # https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/commit/?id

[kbuild] Re: [usb:usb-next 32/38] drivers/usb/typec/hd3ss3220.c:182 hd3ss3220_probe() warn: passing zero to 'PTR_ERR'

2019-10-07 Thread Dan Carpenter
R(hd3ss3220->port)) { > + usb_role_switch_put(hd3ss3220->role_sw); > return PTR_ERR(hd3ss3220->port); ret = PTR_ERR(hd3ss3220->port); goto err_put_role > + } Otherwise I think it's the right thing. Thanks! r

[kbuild] [staging:staging-next 50/93] drivers/staging/wfx/debug.c:112 wfx_send_hif_msg_read() warn: maybe return -EFAULT instead of the bytes remaining?

2019-10-07 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/staging/wfx/debug.c:112 wfx_send_hif_msg_read() warn: maybe return -EFAULT instead of the bytes remaining? # https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/commit/?id

[kbuild] Re: [linux-stable-rc:linux-3.16.y 6719/6738] net/sched/sch_netem.c:581 netem_enqueue() error: we previously assumed 'skb' could be null (see line 505)

2019-10-10 Thread Dan Carpenter
On Wed, Oct 09, 2019 at 04:05:44PM +0100, Ben Hutchings wrote: > On Wed, 2019-10-09 at 11:12 +0300, Dan Carpenter wrote: > > tree: > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > > linux-3.16.y > > head: c508a924ddd1119a8037c1ec

[kbuild] [linux-next:master 2697/3843] drivers/mtd/nand/raw/cadence-nand-controller.c:1903 cadence_nand_read_buf() error: we previously assumed 'cdns_ctrl->dmac' could be null (see line 1889)

2019-10-10 Thread Dan Carpenter
tag Reported-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/mtd/nand/raw/cadence-nand-controller.c:1903 cadence_nand_read_buf() error: we previously assumed 'cdns_ctrl->dmac' could be null (see line 1889) drivers/mtd/nand/raw/cadence-nand-controller.c:1

[kbuild] Re: [RFC PATCH V3 2/2] scsi: core: don't limit per-LUN queue depth for SSD

2019-10-09 Thread Dan Carpenter
If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/scsi/scsi_lib.c:1293 scsi_dev_queue_ready() error: uninitialized symbol 'busy'. # https://github.com/0day-ci/linux/commit/74eb6c22dc70e395b333c9ca579855cd88db8845

[kbuild] [staging:staging-testing 55/111] drivers/staging/wfx/wfx.h:91 wdev_to_wvif() warn: potential spectre issue 'wdev->vif' [r] (local cap)

2019-10-09 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/staging/wfx/wfx.h:91 wdev_to_wvif() warn: potential spectre issue 'wdev->vif' [r] (local cap) drivers/staging/wfx/data_tx.c:479 wfx_tx_get_raw_link_id() warn: signedness bug returning '(-2)' # ht

[kbuild] [trace:ftrace/text-poke 1/6] arch/x86/kernel/alternative.c:1098 text_poke_bp_batch() warn: impossible condition '(tp[i]->text[0] == 204) => ((-128)-127 == 204)'

2019-10-09 Thread Dan Carpenter
add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: arch/x86/kernel/alternative.c:1098 text_poke_bp_batch() warn: impossible condition '(tp[i]->text[0] == 204) => ((-128)-127 == 204)' # https://git.kernel.org/pub/scm/linux/kernel/git/rostedt

[kbuild] [omap-audio:peter/ti-linux-4.19.y/wip 40/47] sound/soc/ti/j721e-evm.c:399 j721e_audio_hw_params() warn: inconsistent returns 'mutex:>mutex'.

2019-10-09 Thread Dan Carpenter
Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: sound/soc/ti/j721e-evm.c:399 j721e_audio_hw_params() warn: inconsistent returns 'mutex:>mutex'. Locked on: line 367 Unlocked on: line 399 # https://github.com/omap-audio/linux-audio/com

[kbuild] [peterz-queue:locking/jump_label 19/30] kernel/tracepoint.c:296 tracepoint_remove_func() error: we previously assumed 'tp_funcs' could be null (see line 286)

2019-10-09 Thread Dan Carpenter
test robot Reported-by: Dan Carpenter smatch warnings: kernel/tracepoint.c:296 tracepoint_remove_func() error: we previously assumed 'tp_funcs' could be null (see line 286) # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=0e669b8d46545cae6903cb0dd6fbfb4058728ce1 git

[kbuild] Re: [PATCH v4] drm/ioctl: Add a ioctl to label GEM objects

2019-10-12 Thread Dan Carpenter
-by: Dan Carpenter smatch warnings: drivers/gpu/drm/drm_gem.c:967 drm_dumb_set_label_ioctl() error: 'label' dereferencing possible ERR_PTR() # https://github.com/0day-ci/linux/commit/0f0cd7ef9f3b1623ab982f12dc748998f31e10b4 git remote add linux-review https://github.com/0day-ci/linux git remote

[kbuild] Re: [arm-integrator:ixp4xx-test 22/23] drivers/crypto/ixp4xx_crypto.c:1060 aead_perform() error: uninitialized symbol 'icv_rev_aes'.

2019-10-12 Thread Dan Carpenter
On Fri, Oct 11, 2019 at 11:48:16PM +0200, Arnd Bergmann wrote: > On Fri, Oct 11, 2019 at 12:41 PM Dan Carpenter > wrote: > > > > tree: > > https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git > > ixp4xx-test > > head: 1b82

[kbuild] [drm-drm-intel:drm-intel-next-queued 9/12] drivers/gpu/drm/i915/i915_perf.c:386 i915_oa_config_release() warn: passing zero to 'PTR_ERR'

2019-10-13 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/gpu/drm/i915/i915_perf.c:386 i915_oa_config_release() warn: passing zero to 'PTR_ERR' Old smatch warnings: drivers/gpu/drm/i915/i915_perf.c:388 i915_oa_config_release() warn: passing zero to 'PTR_ERR' drivers/gpu/drm

[kbuild] Re: [PATCH] staging: wfx: fix potential vulnerability to spectre

2019-10-11 Thread Dan Carpenter
on rebase-able trees as well as non-rebase/published trees so the hash could change as well. I am a little bit surprised that checkpatch.pl doesn't complain about this, though. You could consider adding that? regards, dan carpenter ___ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org

[kbuild] [arm-integrator:ixp4xx-test 22/23] drivers/crypto/ixp4xx_crypto.c:1060 aead_perform() error: uninitialized symbol 'icv_rev_aes'.

2019-10-11 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/crypto/ixp4xx_crypto.c:1060 aead_perform() error: uninitialized symbol 'icv_rev_aes'. # https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git/commit/?id=811c4aaa704314770fe5a70944100732fdc1f3b8

[kbuild] [ath6kl:pending-ath11k 316/345] drivers/net/wireless/ath/ath11k/debug.c:575 ath11k_write_simulate_fw_crash() error: we previously assumed 'ar' could be null (see line 549)

2019-10-11 Thread Dan Carpenter
tag Reported-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: drivers/net/wireless/ath/ath11k/debug.c:575 ath11k_write_simulate_fw_crash() error: we previously assumed 'ar' could be null (see line 549) Old smatch warnings: drivers/net/wireless/ath/ath11k/debug.c:566

[kbuild] [arm-integrator:ixp4xx-test 17/23] drivers/net/ethernet/xscale/ptp_ixp46x.c:283 ixp46x_ptp_find() warn: variable dereferenced before check 'ixp_clock.ptp_clock' (see line 281)

2019-10-11 Thread Dan Carpenter
fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/net/ethernet/xscale/ptp_ixp46x.c:283 ixp46x_ptp_find() warn: variable dereferenced before check 'ixp_clock.ptp_clock' (see line 281) # https://git.kernel.org/pub/scm

[kbuild] [sashal-linux-stable:queue-4.9 37/96] drivers/crypto/atmel-aes.c:944 atmel_aes_ctr_transfer() warn: right shifting more than type allows 16 vs 16

2020-02-10 Thread Dan Carpenter
Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/crypto/atmel-aes.c:944 atmel_aes_ctr_transfer() warn: right shifting more than type allows 16 vs 16 # https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/commit/?id

[kbuild] [rcar:gmsl/dev 23/23] lib/vsprintf.c:800 ptr_to_id() warn: ignoring unreachable code.

2020-02-10 Thread Dan Carpenter
Reported-by: Dan Carpenter New smatch warnings: lib/vsprintf.c:800 ptr_to_id() warn: ignoring unreachable code. Old smatch warnings: lib/vsprintf.c:1405 ip6_compressed_string() warn: possible spectre second half. '*p' lib/vsprintf.c:1408 ip6_compressed_string() warn: possible spectre second half

[kbuild] Re: Smatch indenting warnings?

2020-03-02 Thread Dan Carpenter
wc -l > > 321 > > > > These are generally not bugs, but the check has a low false positive > > ratio and it's all stuff which really should be fixed. I seldom report > > them but it would be nice if kbuild reported them automatically. > Thanks Dan, we will handl

[kbuild] Smatch indenting warnings?

2020-03-02 Thread Dan Carpenter
indenting $ grep "inconsistent indenting" smatch_warns.txt | wc -l 321 These are generally not bugs, but the check has a low false positive ratio and it's all stuff which really should be fixed. I seldom report them but it would be nice if kbuild reported them automatically. re

[kbuild] Re: [PATCH 03/51] drm: add managed resources tied to drm_device

2020-03-03 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/gpu/drm/drm_drv.c:843 drm_dev_release() error: dereferencing freed memory 'dev' # https://github.com/0day-ci/linux/commit/5aba700d4c32ae5722a9931c959b13a6217a86e2 git remote add linux-review https://github.com/0day-ci/linux git

[kbuild] [linux-next:master 4108/4964] kernel/bpf/hashtab.c:1341 __htab_map_lookup_and_delete_batch() warn: potential spectre issue 'htab->buckets' [r] (local cap)

2020-03-02 Thread Dan Carpenter
date: 3 days ago If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: kernel/bpf/hashtab.c:1341 __htab_map_lookup_and_delete_batch() warn: potential spectre issue 'htab->buckets' [r] (local cap) # https://git.kernel.org/

[kbuild] Re: [PATCH 1/4] staging: wilc1000: remove use of infinite loop conditions

2020-01-23 Thread Dan Carpenter
, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/staging/wilc1000/wlan.c:663 wilc_wlan_handle_txq() error: double unlocked 'wilc->hif_cs' (orig line 575) # https://github.com/0day-ci/linux/com

[kbuild] Re: [PATCH] mm: Add MREMAP_DONTUNMAP to mremap().

2020-01-26 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: mm/mremap.c:561 mremap_to() error: potentially dereferencing uninitialized 'vma'. # https://github.com/0day-ci/linux/commit/98663ca05501623c3da7f0f30be8ba7d632cf010 git remote add linux-review https://github.com/0day-ci/linux

[kbuild] Re: [PATCH 1/2] Bluetooth: Add initial implementation of CIS connections

2020-01-27 Thread Dan Carpenter
Reported-by: kbuild test robot Reported-by: Dan Carpenter New smatch warnings: net/bluetooth/hci_event.c:3188 hci_cc_le_set_cig_params() warn: inconsistent returns 'hdev->lock'. Old smatch warnings: net/bluetooth/hci_event.c:5567 hci_le_adv_report_evt() warn: potential spectre issue 'ev-&g

[kbuild] [brauner:pidfd_capabilities 5/7] kernel/fork.c:2388 copy_process() warn: passing zero to 'ERR_PTR'

2020-01-27 Thread Dan Carpenter
-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: kernel/fork.c:2388 copy_process() warn: passing zero to 'ERR_PTR' kernel/fork.c:2388 copy_process() warn: inconsistent returns 'irq'. # https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git/commit/?id

[kbuild] Re: [PATCH 5/5] vdpasim: vDPA device simulator

2020-01-27 Thread Dan Carpenter
Hi Jason, url: https://github.com/0day-ci/linux/commits/Jason-Wang/vDPA-support/20200117-170243 base: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch

[kbuild] [hwmon:hwmon-playground 6/16] drivers/hwmon/pmbus/pmbus_core.c:174 pmbus_set_page() warn: this array is probably non-NULL. 'data->info->phases'

2020-02-03 Thread Dan Carpenter
Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/hwmon/pmbus/pmbus_core.c:174 pmbus_set_page() warn: this array is non-NULL. 'data->info->phases' # https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git/comm

[kbuild] [chrome-os:chromeos-4.19 5/5] drivers/gpu/drm/i915/intel_modes.c:168 intel_attach_privacy_screen_property() error: uninitialized symbol 'prop'.

2020-02-03 Thread Dan Carpenter
following tag Reported-by: kbuild test robot Reported-by: Dan Carpenter smatch warnings: drivers/gpu/drm/i915/intel_modes.c:168 intel_attach_privacy_screen_property() error: uninitialized symbol 'prop'. git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel

<    3   4   5   6   7   8   9   10   11   12   >