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
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
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
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
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:
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()
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
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
/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
/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
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
-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
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
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
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
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
-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
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
-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
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
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
-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
-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
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
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
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
, 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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
-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
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
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
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
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/
.
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 &&
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
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
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
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
-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
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/
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
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
-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
-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
-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
-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
-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
-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
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
-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
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
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
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
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
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
-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
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
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
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
-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
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
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
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
-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
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
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
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
-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
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
-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
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
-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
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
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
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
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
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
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
-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
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/
, 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
-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
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
-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
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
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
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
701 - 800 of 1486 matches
Mail list logo