[kbuild] [target:mfc_target 41/41] drivers/target/mlx4_fc/mfc_rfci.c:987:3-34: code aligned with following code on line 988

2013-11-28 Thread Dan Carpenter
Hi Vu, FYI, there are coccinelle warnings in tree: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git mfc_target head: b4867b474e8e243e4c9a92b0aeb63110792b27a9 commit: b4867b474e8e243e4c9a92b0aeb63110792b27a9 [41/41] mfc_target: WIP check initiator node acl with right mac

[kbuild] [at91:at91-3.14-next_fixes_cleanup_dt-resolution 2454/2602] drivers/hwmon/it87.c:2034 it87_remove_files() error: buffer overflow 'it87_attributes_in_beep' 9 = 9

2013-12-03 Thread Dan Carpenter
Hi Rudolf, FYI, there are new smatch warnings show up in tree: git://github.com/at91linux/linux-at91.git at91-3.14-next_fixes_cleanup_dt-resolution head: e4491207a614e4d9918f4812792c82705db82c4b commit: 6f1a578cf200459198fca517e3f90a2a986d8538 [2454/2602] hwmon: (it87) Add support for the

[kbuild] [danvet-drm:drm-init-cleanup 23/49] drivers/gpu/drm/r128/r128_state.c:1014:10-17: WARNING opportunity for memdup_user

2013-12-05 Thread Dan Carpenter
From: Dan Carpenter dan.carpen...@oracle.com Subject: [PATCH] drm: use memdup_user() as a cleanup TO: Daniel Vetter daniel.vet...@ffwll.ch CC: Daniel Vetter daniel.vet...@ffwll.ch CC: linux-ker...@vger.kernel.org drivers/gpu/drm/r128/r128_state.c:1014:10-17: WARNING opportunity for memdup_user /c

Re: [kbuild] [cryptodev:master 16/25] drivers/crypto/ccp/ccp-crypto-aes-xts.c:147 ccp_aes_xts_crypt() error: buffer overflow 'unit_size_map' 10 = 10

2013-12-09 Thread Dan Carpenter
False positive because the last irteration through the loop always breaks. This functions seems to have a lot of user trigerable pr_err() calls though, so that sucks. regards, dan carpenter On Mon, Dec 09, 2013 at 09:50:39PM +0800, Fengguang Wu wrote: TO: Tom Lendacky thomas.lenda...@amd.com

[kbuild] [bluetooth:master 5/6] net/bluetooth/6lowpan.c:334 bt_6lowpan_recv() error: we previously assumed 'dev' could be null (see line 331)

2013-12-11 Thread Dan Carpenter
Hi Jukka, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master head: 89863109e3dd562529ffd8a559b0de068d1d8502 commit: 18722c247023035b9e2e2a08a887adec2a9a6e49 [5/6] Bluetooth: Enable 6LoWPAN support for BT LE

[kbuild] [congwang:tc-action 498/499] include/net/act_api.h:55 tcf_hashinfo_init() warn: returning -1 instead of -ENOMEM is sloppy

2013-12-12 Thread Dan Carpenter
Hi Cong, FYI, there are new smatch warnings show up in tree: git://github.com/congwang/linux.git tc-action head: 32d1a012f22a3ab30382596c2344b11bd60ffe83 commit: d3d8a84365849b8d0e9be0f717229027fcedfe48 [498/499] sched: init struct tcf_hashinfo at register time include/net/act_api.h:55

[kbuild] [net-next:master 1145/1155] drivers/net/usb/r8152.c:2711 rtl_ops_init() warn: assigning (-14) to unsigned variable 'ret'

2014-01-01 Thread Dan Carpenter
Hi hayeswang, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 8e769788b31438ceb245960a72bec8ed51eb04b2 commit: 43779f8dfb0051b2ecd5f17ea7ad089443278e82 [1145/1155] r8152: support RTL8153

[kbuild] [mmc:mmc-next 35/36] drivers/mmc/host/sh_mmcif.c:824 sh_mmcif_set_cmd() error: we previously assumed 'data' could be null (see line 789)

2014-01-07 Thread Dan Carpenter
Hi Laurent, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git mmc-next head: 259245a845a173124bfe768fa1a2ac88e034b5b8 commit: 0111fc4646a6e84a432dda3e6398a8a69319e617 [35/36] mmc: sh_mmcif: Enable driver compilation with

[kbuild] [wireless-next:master 156/160] drivers/net/wireless/ath/ath9k/debug_sta.c:135 ath_debug_rate_stats() error: buffer overflow 'rstats-ht_stats' 24 = 24

2014-01-13 Thread Dan Carpenter
Hi Sujith, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next.git master head: 608cfbe4abaf76e9d732efd7ed1cfa3998163d91 commit: 350e2dcb4647d144000db1505c94d586fcd57919 [156/160] ath9k: Add a debugfs file node_recv

Re: [kbuild] [f2fs:linux-3.4 83/89] fs/f2fs/checkpoint.c:311:28: sparse: Variable length array is used.

2014-01-20 Thread Dan Carpenter
. If any individual function uses over 1K stack then it's considered a bug unless the call tree is carefully audited. The stack size limit has security implications so orphan_blocks has to be something which is easy to audit. regards, dan carpenter

[kbuild] [ath6kl:ath-next-test 7/9] drivers/net/wireless/ath/ath10k/mac.c:2745:5-11: preceding lock on line 2663

2014-01-24 Thread Dan Carpenter
Hi Michal, FYI, there are coccinelle warnings in tree: git://github.com/kvalo/ath ath-next-test head: 748afc4735361e21ad655c0dc021ea3aaeeb3efd commit: c930f744bdb0774ccf7c00e23637f54b8e71f0b6 [7/9] ath10k: implement channel switching drivers/net/wireless/ath/ath10k/mac.c:2745:5-11:

[kbuild] [xhci:for-usb-next-command-queue 4/10] drivers/usb/host/xhci-hub.c:326 xhci_stop_device() warn: inconsistent returns spin_lock:xhci-lock: locked (294 [(-12)]) unlocked (283 [(-12)], 326 [(-

2014-01-28 Thread Dan Carpenter
Hi Mathias, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci.git for-usb-next-command-queue head: f8480a8dea8e428b6ba1ae8f4a5ed0a7691de7ad commit: 5d8ce20aa8ad5fa1bf7c14833eaa60b94a78321f [4/10] xhci: use command structures for

[kbuild] [omap-audio:peter/topic/ti-audio-next-bnw-wip 4/31] sound/soc/soc-dapm.c:1755 dapm_widget_set_power() warn: was intended here instead of ||?

2014-01-28 Thread Dan Carpenter
Hi Liam, FYI, there are new smatch warnings show up in tree: git://gitorious.org/omap-audio/linux-audio peter/topic/ti-audio-next-bnw-wip head: b21a772eb9594ad1d50a54efdbdcbe6be79d4e4a commit: db7c56150e83b670d52cc07493e44eaca359d60a [4/31] ASoC: dapm: Allow path discovery for active DAI

[kbuild] [omap-audio:peter/topic/ti-audio-next-bnw-wip 18/31] sound/soc/soc-fw.c:945:9-16: ERROR: se is NULL but dereferenced.

2014-01-28 Thread Dan Carpenter
Hi Liam, FYI, there are coccinelle warnings in tree: git://gitorious.org/omap-audio/linux-audio peter/topic/ti-audio-next-bnw-wip head: b21a772eb9594ad1d50a54efdbdcbe6be79d4e4a commit: 7c6163f44cd6b375b3077ab566cf0e461474640b [18/31] ASoC: firmware: Add support for dynamic components

[kbuild] [cgroup:review-post-kernfs-conversion 24/32] kernel/cgroup.c:1554 cgroup_mount() error: 'root' dereferencing possible ERR_PTR()

2014-01-29 Thread Dan Carpenter
[ I can't actually checkout that hash, but probably the bug report is correct. ] Hi Tejun, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-post-kernfs-conversion head: f38cf7665be19d00532d12eb5ae057f12cffb924 commit:

[kbuild] [drm-gma500:blitter_hacking 10/10] drivers/gpu/drm/gma500/blitter.c:97:2-8: preceding lock on line 78

2014-02-07 Thread Dan Carpenter
Hi Patrik, FYI, there are coccinelle warnings in tree: git://github.com/patjak/drm-gma500 blitter_hacking head: c0f1cbb1b1991f5dbb18be5f4c8d04d5b0addb79 commit: c0f1cbb1b1991f5dbb18be5f4c8d04d5b0addb79 [10/10] drm/gma500: Add blitter submit ioctl drivers/gpu/drm/gma500/blitter.c:97:2-8:

[kbuild] [char-misc:char-misc-next 29/29] drivers/w1/masters/ds1wm.c:339 ds1wm_search() error: double lock 'mutex:master_dev-bus_mutex'

2014-02-07 Thread Dan Carpenter
Hi David, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-next head: d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c commit: d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c [29/29] w1: hold bus_mutex in netlink and search

Re: [kbuild] kernfs: implement kernfs_get_parent(), kernfs_name/path() and friends

2014-02-10 Thread Dan Carpenter
); Dereference. 1299 kernfs_link_sibling(kn); 1300 regards, dan carpenter ___ kbuild mailing list kbuild@lists.01.org https://lists.01.org/mailman/listinfo/kbuild

Re: [kbuild] [staging:staging-next 124/151] drivers/staging/bcm/Bcmchar.c:816 bcm_char_ioctl_buffer_download_start() warn: inconsistent returns sem:Adapter-NVMRdmWrmLock: locked (798 [(-16)]) unlock

2014-02-14 Thread Dan Carpenter
Not really new. This code won't move out of staging until these are fixed. regards, dan carpenter On Fri, Feb 14, 2014 at 10:54:35AM +0800, kbuild test robot wrote: TO: Dave Jones da...@redhat.com CC: Greg Kroah-Hartman gre...@linuxfoundation.org Hi Dave, FYI, there are new smatch

[kbuild] [net-next:master 96/108] net/tipc/node.c:258 tipc_node_detach_link() error: buffer overflow 'n_ptr-links' 2 = 2

2014-02-14 Thread Dan Carpenter
)) return; x[i] = 0; OPTION #4: convoluted code for (i = 0; i ARRAY_SIZE(x); i++) { if (!found) continue; x[i] = 0; break; } It's not clear to me what the right answer is... regards, dan

[kbuild] [net-next:master 98/108] net/tipc/link.c:2616 tipc_link_cmd_reset_stats() warn: inconsistent returns spin_lock:node-lock: locked (2611 [s32min-s32max], 2616 [s32min-s32max]) unlocked (2592

2014-02-14 Thread Dan Carpenter
The real bug is that bottom_half is unbalanced because we lock with spin_lock(node-lock) but tipc_node_unlock() which calls spin_unlock_bh(). regards, dan carpenter --- Hi Jon, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net

[kbuild] [net-next:master 40/57] net/appletalk/ddp.c:1811:2-45: code aligned with following code on line 1812

2014-02-16 Thread Dan Carpenter
Hi wangweidong, FYI, there are coccinelle warnings in tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: c1b5994770ad5ae03336b5cdd1e0ad622a870a00 commit: 7b30600cc653be63cfa434e49acc3c434699ae0b [40/57] appletalk: fix checkpatch error with indent

Re: [kbuild] IB/mlx4: Build the port IBoE GID table properly under bonding

2014-02-18 Thread Dan Carpenter
On Mon, Feb 17, 2014 at 09:52:16PM +0200, Or Gerlitz wrote: On Mon, Feb 17, 2014, Dan Carpenter dan.carpen...@oracle.com wrote: Hello Moni Shoua, This is a semi-automatic email about new static checker warnings. The patch ad4885d279b6: IB/mlx4: Build the port IBoE GID table properly

[kbuild] [net-next:master 161/168] net/ieee802154/nl-phy.c:440 phy_set_csma_params() warn: impossible condition '(retries -1) = (0-255 (-1))'

2014-02-18 Thread Dan Carpenter
Hi Phoebe, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: cb6e926e3f734f0934d3cb5cd7c827158183d367 commit: 4244db1b0b7bc9ab7b67d8c1c38de6cf15bc87a8 [161/168] ieee802154: add netlink APIs for smartMAC

Re: [kbuild] net: bcmgenet: add main driver file

2014-02-18 Thread Dan Carpenter
-bcmgenet_irq_work); 2170 2171 if (phy_is_internal(priv-phydev)) Unchecked dereference. 2172 bcmgenet_power_down(priv, GENET_POWER_PASSIVE); 2173 regards, dan carpenter

Re: [kbuild] net: bcmgenet: add main driver file

2014-02-18 Thread Dan Carpenter
(priv-phydev); 2063 regards, dan carpenter ___ kbuild mailing list kbuild@lists.01.org https://lists.01.org/mailman/listinfo/kbuild

Re: [kbuild] [net-next:master 77/82] net/tipc/socket.c:1572 tipc_connect() warn: missing break? reassigning 'res'

2014-02-19 Thread Dan Carpenter
Falls through intentionally, but there is no comment. regards, dan carpenter On Wed, Feb 19, 2014 at 07:31:53AM +0800, kbuild test robot wrote: TO: Ying Xue ying@windriver.com Hi Ying, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel

[kbuild] [ath6kl:ath-next-test 38/45] drivers/net/wireless/ath/ath10k/htt_tx.c:505 ath10k_htt_tx() warn: potential pointer math issue ('skb_cb-htt.txbuf' is a 352 bit pointer)

2014-02-19 Thread Dan Carpenter
Hi Michal, FYI, there are new smatch warnings show up in tree: git://github.com/kvalo/ath ath-next-test head: 4e53f6a3f1aac1a4a2d18f487f6e570b9402adc7 commit: 20b784ea3fb89de48c794cd889104aba64242f3b [38/45] [RFC/RFT 4/7] ath10k: bypass htc for htt tx path

[kbuild] [sound:topic/asoc-enum-fixes 59/102] sound/soc/codecs/wm8995.c:887:14: sparse: duplicate const

2014-02-19 Thread Dan Carpenter
Hi Takashi, FYI, there are new sparse warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/asoc-enum-fixes head: cd968dad05210af141503aa10b796bf325b0c144 commit: b67b9dcee6b29477b0b618269d1c413ea2074c78 [59/102] ASoC: wm8995: Use

[kbuild] [drdb:for-3.15-p2 40/63] drivers/block/drbd/drbd_req.c:1401 request_timer_fn() warn: inconsistent returns spin_lock:connection-resource-req_lock: locked (1359, 1368) unlocked (1401)

2014-02-20 Thread Dan Carpenter
[ Are device-resource-req_lock and connection-resource-req_lock the same lock? ] Hi Andreas, FYI, there are new smatch warnings show up in tree: git://git.drbd.org/linux-drbd.git for-3.15-p2 head: 2457b6d5ee1a9ff8a3c15ea8eaa5bc195a47d326 commit: 0500813fe0c9a617ace86d91344e36839050dad6

[kbuild] [ext3:for_testing 2/2] fs/udf/file.c:161:4-10: preceding lock on line 147

2014-02-20 Thread Dan Carpenter
Hi Jan, FYI, there are coccinelle warnings in tree: git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git for_testing head: cf8a67a17ee09cd37bccf4d8f82ac20a6e2c2558 commit: cf8a67a17ee09cd37bccf4d8f82ac20a6e2c2558 [2/2] udf: Fix data corruption on file type conversion

Re: [kbuild] [next:master 4169/4893] sound/soc/intel/sst-haswell-ipc.c:553 ipc_tx_message() warn: inconsistent returns irqsave:flags: locked (531 [(-16)]) unlocked (551 [(-110), 0], 553 [0])

2014-02-26 Thread Dan Carpenter
: no modifiers for allocation. For some reason Smatch complains about: priv_data-pcm_pg[i][1] = kzalloc(PAGE_SIZE, GFP_DMA); When I added the check to Smatch I thought that was invalid but that was years ago and now I'm not sure if it's valid or not. regards, dan carpenter

[kbuild] [mmotm:master 64/350] fs/ocfs2/dlmglue.c:3184 ocfs2_mark_lockres_freeing() error: double lock 'irqsave:flags'

2014-02-26 Thread Dan Carpenter
[ False positive, this is not a bug, it's just that the second IRQ save is unnecessary ]. Hi Jan, FYI, there are new smatch warnings show up in tree: git://git.cmpxchg.org/linux-mmotm.git master head: a6a1126d3535f0bd8d7c56810061541a4f5595af commit:

[kbuild] [digsig:dm-integrity 1/4] drivers/md/dm-integrity.c:431 dm_int_verify_io() warn: passing the wrong stuff kunmap()

2014-02-26 Thread Dan Carpenter
[ The error message has bad grammar and is confusing. It means that it should be kunmap(bv-bv_page) - dan] Hi Dmitry, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/kasatkin/linux-digsig.git dm-integrity head:

Re: [kbuild] [alexshi:single-balance 8/9] kernel/sched/fair.c:7235 new_idle_balance() error: potentially dereferencing uninitialized 'slip'.

2014-02-28 Thread Dan Carpenter
False positive. regards, dan carpenter On Fri, Feb 28, 2014 at 06:07:03PM +0800, kbuild test robot wrote: TO: Alex Shi alex@linaro.org Hi Alex, FYI, there are new smatch warnings show up in tree: https://github.com/alexshi/power-scheduling.git single-balance head

Re: [kbuild] net: sctp: rework multihoming retransmission path selection to rfc4960

2014-02-28 Thread Dan Carpenter
are the the only way to exit from the loop. 1320 } 1321 1322 if (trans_next != NULL) ^^ Check to late. 1323 asoc-peer.retran_path = trans_next; 1324 regards, dan carpenter

Re: [kbuild] net: add for_each iterators through neighbour lower link's private

2014-02-28 Thread Dan Carpenter
return NULL; 4565 4566 if (iter) Check too late. 4567 *iter = lower-list.next; 4568 The RCU version of this function has the same problem. regards, dan carpenter ___ kbuild

Re: [kbuild] net: sctp: rework multihoming retransmission path selection to rfc4960

2014-03-01 Thread Dan Carpenter
On Sat, Mar 01, 2014 at 12:30:09AM +0100, Daniel Borkmann wrote: On 03/01/2014 12:15 AM, Dan Carpenter wrote: Hello Daniel Borkmann, This is a semi-automatic email about new static checker warnings. The patch 4c47af4d5eb2: net: sctp: rework multihoming retransmission path selection

[kbuild] [wireless-next:master 171/199] drivers/net/wireless/ath/wil6210/debugfs.c:402 wil_txdesc_debugfs_show() warn: buffer overflow 'wil-vring_tx' 24 = 24

2014-03-01 Thread Dan Carpenter
Hi Vladimir, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next.git master head: 3e3831c4fdc53aabf3a56419ef6d96a841c52435 commit: 3a85543e9f9f6821d27d33d436f2bad96e5166df [171/199] wil6210: [DEBUG] allow to query Rx and

[kbuild] [iio:togreg 3/3] drivers/iio/adc/xilinx-xadc-events.c:252 xadc_write_event_value() warn: inconsistent returns mutex:xadc-mutex: locked (218 [(-22)]) unlocked (206 [(-22)], 252 [s32min-s32ma

2014-03-01 Thread Dan Carpenter
Hi Lars-Peter, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg head: 0f97ca5cebaede963ccbfc986b7bf5a57c37ee7c commit: 0f97ca5cebaede963ccbfc986b7bf5a57c37ee7c [3/3] iio:adc: Add Xilinx XADC driver

Re: [kbuild] [omap-dss2:for-next 16/27] drivers/video/fbdev/s3fb.c:1406 s3_pci_remove() warn: variable dereferenced before check 'info' (see line 1404)

2014-03-03 Thread Dan Carpenter
This commit is very old 2011-04-20. regards, dan carpenter On Mon, Mar 03, 2014 at 05:39:52PM +0800, kbuild test robot wrote: TO: Tomi Valkeinen tomi.valkei...@ti.com Hi Tomi, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/tomba

[kbuild] [thermal:next 2/11] drivers/thermal/thermal_core.c:90 thermal_register_governor() error: strncmp() 'step_wise' too small (10 vs 20)

2014-03-03 Thread Dan Carpenter
the string literal is a define so using strncmp() makes sense, I suppose. It's unlikely that using strncmp() with a larger than possible limit will cause a bug so I will add strncmp() to the list of ignored functions smatch_data/kernel.sizeof_param.remove regards, dan carpenter

[kbuild] [mmc:mmc-next 26/64] drivers/mmc/host/rtsx_pci_sdmmc.c:504:6-11: ERROR: cmd is NULL but dereferenced.

2014-03-03 Thread Dan Carpenter
Hi Micky, FYI, there are coccinelle warnings in tree: git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git mmc-next head: 370aede6a18a41e01f2668108d847b598443fbc0 commit: c42deffd5b53c9e583d83c7964854ede2f12410d [26/64] mmc: rtsx: add support for pre_req and post_req

[kbuild] [wireless-next:master 217/219] drivers/net/wireless/rtlwifi/rtl8723be/fw.c:208 _rtl8723be_fill_h2c_command() warn: variable dereferenced before check 'rtlhal' (see line 69)

2014-03-05 Thread Dan Carpenter
Hi Larry, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next.git master head: 997bc71a3601b25dbbe3ac75b77b4f49582c0ae5 commit: a619d1abe20cc892ddd8f6f60345b24d43971fb4 [217/219] rtlwifi: rtl8723be: Add new driver

[kbuild] [linuxtv-media:master 463/499] drivers/media/dvb-frontends/drx39xyj/drxj.c:20803 drx_ctrl_u_code() warn: variable dereferenced before check 'mc_info' (see line 20800)

2014-03-05 Thread Dan Carpenter
Hi Mauro, FYI, there are new smatch warnings show up in tree: git://linuxtv.org/media_tree.git master head: 59432be1c7fbf2a4f608850855ff649bee0f7b3b commit: b240eacdd536bac23c9d48dfc3d527ed6870ddad [463/499] [media] drx-j: get rid of drx_driver.c New smatch warnings:

Re: [kbuild] [linuxtv-media:master 441/499] drivers/media/dvb-frontends/drx39xyj/drxj.c:16798:68: sparse: dubious: x !y

2014-03-05 Thread Dan Carpenter
These are all boolean variables so the result is the same except that maybe | and are faster than || and because they don't have the same ordering requirements? regards, dan carpenter On Wed, Mar 05, 2014 at 07:40:53AM +0800, kbuild test robot wrote: TO: Mauro Carvalho Chehab m.che

[kbuild] [wireless-next:master 217/219] drivers/net/wireless/rtlwifi/rtl8723be/sw.c:374:14: sparse: duplicate const

2014-03-05 Thread Dan Carpenter
Hi Larry, FYI, there are new sparse warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next.git master head: 997bc71a3601b25dbbe3ac75b77b4f49582c0ae5 commit: a619d1abe20cc892ddd8f6f60345b24d43971fb4 [217/219] rtlwifi: rtl8723be: Add new driver

[kbuild] [linuxtv-media:master 467/499] drivers/media/dvb-frontends/drx39xyj/drxj.c:20041 drxj_close() warn: variable dereferenced before check 'demod' (see line 20036)

2014-03-05 Thread Dan Carpenter
Hi Mauro, FYI, there are new smatch warnings show up in tree: git://linuxtv.org/media_tree.git master head: 59432be1c7fbf2a4f608850855ff649bee0f7b3b commit: b78359a6894ac3451bec3fde5d0499fba87b8b67 [467/499] [media] drx-j: get rid of the remaining drx generic functions New smatch warnings:

[kbuild] [l2-mtd:master 32/43] drivers/mtd/nand/nand_base.c:3178:36-63: duplicated argument to or ||

2014-03-05 Thread Dan Carpenter
Hi Huang, FYI, there are coccinelle warnings in tree: git://git.infradead.org/users/dedekind/l2-mtd.git master head: 3192a724e03715a8d33955478307f21249c3196c commit: 67766cd56820b4d81650806fe01ce7a454c6a314 [32/43] mtd: nand: parse out the JEDEC compliant NAND

Re: [kbuild] [l2-mtd:master 32/43] drivers/mtd/nand/nand_base.c:3178:36-63: duplicated argument to or ||

2014-03-05 Thread Dan Carpenter
the function call. Yeah. Sorry about that. I could have figured this one out from the context if I had looked harder. I will also start a review of old messages to see if anyone has been sending them to /dev/null... regards, dan carpenter ___ kbuild

Re: [kbuild] [tip:master 28/29] arch/x86/platform/efi/efi.c:1084 kexec_enter_virtual_mode() warn: bitwise AND condition is false here

2014-03-07 Thread Dan Carpenter
The _PAGE_NX macro is new. I will add it to smatch_data/kernel.unconstant_macros to silence this false positive. regards, dan carpenter On Fri, Mar 07, 2014 at 08:02:15AM +0800, kbuild test robot wrote: TO: Matt Fleming matt.flem...@intel.com CC: Ingo Molnar mi...@kernel.org Hi Ingo

Re: [kbuild] [tip:x86/threadinfo 3/5] arch/x86/kernel/dumpstack_32.c:49 dump_trace() error: we previously assumed 'task' could be null (see line 34)

2014-03-07 Thread Dan Carpenter
was later fixed in 2012 with commit d0caf292505 by who? Dan Carpenter ;-) Haha... Back in those days I knew how current worked. :P regards, dan carpenter ___ kbuild mailing list kbuild@lists.01.org https://lists.01.org/mailman/listinfo/kbuild

[kbuild] [wireless-next:master 237/237] drivers/net/wireless/rtlwifi/rtl8723be/phy.c:648 _rtl8723be_store_tx_power_by_rate() error: buffer overflow 'rtlphy-tx_power_by_rate_offset[band]' 4 = 4

2014-03-26 Thread Dan Carpenter
[ Off by one still. -dan] Hi Larry, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next.git master head: 4e3b3bcd81776527fa6f11624d68849de8c8802e commit: 4e3b3bcd81776527fa6f11624d68849de8c8802e [237/237] rtlwifi:

[kbuild] [scsi:pending-base 121/166] drivers/scsi/qla4xxx/ql4_os.c:1752 qla4xxx_get_ep_param() warn: variable dereferenced before check 'qla_ep' (see line 1745)

2014-03-26 Thread Dan Carpenter
Hi Vikas, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git pending-base head: 5d3b76164c0df1d85f5c388c8b122c6c4dee5658 commit: 154f453dbf1615227bcc513e66fd44da25046652 [121/166] [SCSI] qla4xxx: Updated print for device login,

[kbuild] [ext4:test 39/40] fs/ext4/extents.c:3647 ext4_split_convert_extents() warn: suspicious bitop condition

2014-03-26 Thread Dan Carpenter
Hi Lukas, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git test head: ac15e0ef8030228b98ee2dd4322510e5987fceae commit: 99950cfa591ea073c85798191a1701025e4c65ce [39/40] ext4: Introduce FALLOC_FL_ZERO_RANGE flag for fallocate

[kbuild] [net-next:master 1090/1368] net/netfilter/ipset/ip_set_hash_gen.h:1084 hash_ipmark_create() warn: impossible condition '(markmask 4294967295) = (0-u32max u32max)'

2014-03-26 Thread Dan Carpenter
Hi Vytas, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: e86e180b824e00733bd0e499d412a595078f9b51 commit: 4d0e5c076d01d3fb4767a502a9517923fb9a080e [1090/1368] netfilter: ipset: add markmask for hash:ip,mark

[kbuild] [staging:staging-next 122/153] drivers/staging/slicoss/slicoss.c:1429 slic_cmdq_addcmdpage() error: we previously assumed 'pslic_handle' could be null (see line 1425)

2014-03-26 Thread Dan Carpenter
Hi Monam, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next head: 7b99b5efaab0f8c8c637cb68840e990fbca16878 commit: b0a0fb1e292e1472db7aea8ddce2fc5ceae5ab48 [122/153] Staging: slicoss: Replace macro with inline

Re: [kbuild] [kbuild-all] [wireless-next:master 316/316] drivers/net/wireless/rsi/rsi_91x_debugfs.c:296 rsi_init_dbgfs() error: potential null dereference 'dev_dbgfs'. (kzalloc returns null)

2014-03-27 Thread Dan Carpenter
without debugfs support. The debugfs_create_file() function accepts NULL pointers. There is no need for error handling here by design. regards, dan carpenter 299if (dev_dbgfs-subdir == ERR_PTR(-ENODEV)) 300rsi_dbg(ERR_ZONE, 301

Re: [kbuild] [kbuild-all] [wireless-next:master 316/316] drivers/net/wireless/rsi/rsi_91x_debugfs.c:296 rsi_init_dbgfs() error: potential null dereference 'dev_dbgfs'. (kzalloc returns null)

2014-03-27 Thread Dan Carpenter
On Thu, Mar 27, 2014 at 06:45:07PM +0300, Dan Carpenter wrote: drivers/net/wireless/rsi/rsi_91x_usb.c:289 rsi_usb_write_register_multiple() warn: '__min2' 4096 can't fit into 255 'transfer' The code for this one is: transfer = min_t(int, count, 4096); It's complaining because

Re: [kbuild] [input:next 498/499] drivers/input/touchscreen/edt-ft5x06.c:222 edt_ft5x06_ts_isr() warn: buffer overflow 'rdbuf' 29 = 29

2014-03-31 Thread Dan Carpenter
False positive. Smatch is using the highest possible values of tplen and offset but they both can't be maxed at the same time. regards, dan carpenter On Sat, Mar 29, 2014 at 02:05:37AM +0800, kbuild test robot wrote: TO: Lothar Waßmann l...@karo-electronics.de CC: Dmitry Torokhov dmitry.torok

[kbuild] [nfc-next:master 5/6] drivers/nfc/pn544/i2c.c:1032 pn544_hci_i2c_probe() error: we previously assumed 'pdata' could be null (see line 980)

2014-04-08 Thread Dan Carpenter
tree: git://git.kernel.org/pub/scm/linux/kernel/git/sameo/nfc-next.git master head: 871e11b1a27ff07efb1d23944952a288fdb02845 commit: 49aa75f13ab9eb5f5ad19c69998dd3cf6403942e [5/6] NFC: pn544: i2c: Add device-tree (Open Firmware) support to PN544 drivers/nfc/pn544/i2c.c:1032

Re: [kbuild] [net-next:master 1090/1368] net/netfilter/ipset/ip_set_hash_gen.h:1084 hash_ipmark_create() warn: impossible condition '(markmask 4294967295) = (0-u32max u32max)'

2014-04-08 Thread Dan Carpenter
this fix be submitted fast into the kernel? We are out out the window. You might as well put it into net-next since it's not a bugfix. The net-next window doesn't open up until after the -rc1 is released. regards, dan carpenter ___ kbuild mailing list kbuild

[kbuild] [drm:i915-mst-hacks 74/81] drivers/gpu/drm/drm_dp_helper.c:1500 drm_dp_mst_topology_mgr_set_mst() warn: inconsistent returns mutex:mgr-lock: locked (1479 [(-12)]) unlocked (1500 [0])

2014-04-08 Thread Dan Carpenter
tree: git://people.freedesktop.org/~airlied/linux.git i915-mst-hacks head: af3004ad2f660105ec8c5e623ece3b6055a76bd4 commit: 168c73f18028a35f98707f282576765be7becca7 [74/81] start adding drm MST branch device and port trees drivers/gpu/drm/drm_dp_helper.c:1500

Re: [kbuild] [tchen:timer_debug3 2/2] kernel/time/clocksource.c:367 clocksource_cpu_notify() warn: statement has no effect 3

2014-04-08 Thread Dan Carpenter
This code has a compile problem. Missing argument to spin_lock_irqsave(). regards, dan carpenter On Wed, Apr 09, 2014 at 01:34:15AM +0800, kbuild test robot wrote: TO: Jet Chen jet.c...@intel.com tree: git://bee.sh.intel.com/git/tchen37/linux.git timer_debug3 head

[kbuild] [drm:drm-i915-mst-support 18/18] drivers/gpu/drm/drm_dp_mst_topology.c:379:2-8: preceding lock on line 377

2014-05-08 Thread Dan Carpenter
[ I glanced at the context and it does seem buggy - dan]. tree: git://people.freedesktop.org/~airlied/linux.git drm-i915-mst-support head: 4ec03267a2482d9719006adcc3eec300e0243a5a commit: 4ec03267a2482d9719006adcc3eec300e0243a5a [18/18] WIP: locking fixups

Re: [kbuild] [mmotm:master 192/459] fs/proc/task_mmu.c:769 clear_refs_test_walk() warn: bitwise AND condition is false here

2014-05-13 Thread Dan Carpenter
I have added VM_SOFTDIRTY to smatch_data/kernel.unconstant_macros to silence this false positive. regards, dan carpenter On Sat, May 10, 2014 at 08:57:51AM +0800, kbuild test robot wrote: TO: Cyrill Gorcunov gorcu...@gmail.com CC: Johannes Weiner han...@cmpxchg.org CC: Andrew Morton

[kbuild] [net-next:master 710/719] net/mac802154/llsec.c:781 mac802154_llsec_encrypt() warn: inconsistent returns bottom_half:: locked (781 [(-126)], 781 [(-22)]) unlocked (723 [(-22)], 727 [0], 733 [

2014-05-17 Thread Dan Carpenter
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 97dc48e220282742e4c4a8fde81bdd4dbe011f1e commit: 03556e4d0dbbbf4af9df76f4a3839c86f6afb015 [710/719] mac802154: add llsec encryption method net/mac802154/llsec.c:781 mac802154_llsec_encrypt() warn:

Re: [kbuild] [net-next:master 710/719] net/mac802154/llsec.c:781 mac802154_llsec_encrypt() warn: inconsistent returns bottom_half:: locked (781 [(-126)], 781 [(-22)]) unlocked (723 [(-22)], 727 [0], 7

2014-05-17 Thread Dan Carpenter
On Sat, May 17, 2014 at 11:56:13PM +0300, Dan Carpenter wrote: tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 97dc48e220282742e4c4a8fde81bdd4dbe011f1e commit: 03556e4d0dbbbf4af9df76f4a3839c86f6afb015 [710/719] mac802154: add llsec encryption method

[kbuild] [net:master 54/56] net/vmw_vsock/af_vsock.c:1978 __vsock_core_init() warn: inconsistent returns mutex:vsock_register_mutex: locked (1952 [(-2)]) unlocked (1933 [(-4095)-(-1)], 1969 [0], 1978

2014-05-20 Thread Dan Carpenter
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git master head: 9becd707841207652449a8dfd90fe9c476d88546 commit: 2c4a336e0a3e203fab6aa8d8f7bb70a0ad968a6b [54/56] vsock: Make transport the proto owner net/vmw_vsock/af_vsock.c:1978 __vsock_core_init() warn: inconsistent returns

Re: [kbuild] [linuxtv-samsung:for-v3.16 45/81] drivers/media/dvb-frontends/si2168.c:47 si2168_cmd_execute() warn: add some parenthesis here?

2014-05-20 Thread Dan Carpenter
will hang whole machine when em28xx driver used (em28xx driver is USB bridge for those si2168 and si2157). Wait, what? This is a one liner. I haven't understood the connection with 3.15-rc1? regards, dan carpenter ___ kbuild mailing list kbuild@lists.01

[kbuild] [scsi:for-next 82/88] drivers/scsi/hpsa.c:3038 hpsa_update_scsi_devices() warn: impossible condition '(rescan_hba_mode 0) = (0-255 0)'

2014-05-21 Thread Dan Carpenter
tree: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next head: 0a8c8edf3a8c8c878c1e92ddb9c9df966b2fdefb commit: 96444fbbbf3b55a9cd1e337cc5c8c7d04bb364b7 [82/88] hpsa: do not ignore failure of sense controller parameters command New smatch warnings: drivers/scsi/hpsa.c:3038

[kbuild] [net-next:master 756/758] drivers/net/can/usb/gs_usb.c:830 gs_destroy_candev() error: dereferencing freed memory 'dev'

2014-05-21 Thread Dan Carpenter
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 2a7ede540785cac631a7e7334701a25e949853a8 commit: d08e973a77d128b25e01a08c34d89593fdf222da [756/758] can: gs_usb: Added support for the GS_USB CAN devices drivers/net/can/usb/gs_usb.c:830 gs_destroy_candev()

Re: [kbuild] [scsi:for-next 82/88] drivers/scsi/hpsa.c:3038 hpsa_update_scsi_devices() warn: impossible condition '(rescan_hba_mode 0) = (0-255 0)'

2014-05-21 Thread Dan Carpenter
it correctly. regards, dan carpenter ___ kbuild mailing list kbuild@lists.01.org https://lists.01.org/mailman/listinfo/kbuild

[kbuild] [ext4:dev 21/25] fs/ext4/extents.c:5442:2-8: preceding lock on line 5421

2014-05-26 Thread Dan Carpenter
tree: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev head: 30f902f3886fbefe89641e9edc06d1f0e2fc2280 commit: 00532604c72e159a6d7b28b9bc9f7e364e396bee [21/25] ext4: introduce new i_write_mutex to protect fallocate fs/ext4/extents.c:5442:2-8: preceding lock on line 5421 git

[kbuild] [sound:topic/firewire 18/49] sound/firewire/amdtp.c:199:29: sparse: cannot size expression

2014-05-27 Thread Dan Carpenter
tree: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/firewire head: 9b1ee0b2cb8bffdbb3003b1d5205f3ae0592c15a commit: 1017abed18ae7087e7f3e256c48421d09d83176e [18/49] ALSA: firewire-lib: Add some AV/C general commands reproduce: make C=1 CF=-D__CHECK_ENDIAN__

[kbuild] [usb:usb-next 146/160] drivers/usb/host/max3421-hcd.c:594 max3421_next_transfer() warn: variable dereferenced before check 'urb' (see line 591)

2014-05-27 Thread Dan Carpenter
tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next head: 112fe8e290d9b1c8651de6c7d010041f0ff44b6d commit: 2d53139f31626bad6f8983d8e519ddde2cbba921 [146/160] Add support for using a MAX3421E chip as a host driver. drivers/usb/host/max3421-hcd.c:594

[kbuild] [btrfs:integration 56/62] fs/btrfs/disk-io.c:2601:7-29: duplicated argument to or ||

2014-05-28 Thread Dan Carpenter
TO: Chris Mason chris.ma...@fusionio.com tree: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git integration head: 155850c10bdead0095983733158e997d57b674cc commit: 90f48400f4b06947076d291cf11b8e30a295defc [56/62] Btrfs: async delayed refs fs/btrfs/disk-io.c:2601:7-29:

[kbuild] [staging:staging-next 404/486] drivers/staging/vt6656/rf.c:1060 vnt_rf_table_download() error: __builtin_memcpy() 'addr2' too small (3 vs 64)

2014-05-28 Thread Dan Carpenter
[ This is really an old warning that got bumped to new because of the rename. Anyway, it's a real bug. -dan ] tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next head: f9de4a30a5e647bff71509d6f5d419f6967ba291 commit:

[kbuild] [nfs:devel 30/48] fs/nfs/pagelist.c:1037 __nfs_pageio_add_request() error: 'subreq' dereferencing possible ERR_PTR()

2014-05-29 Thread Dan Carpenter
tree: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git devel head: c75c3b0bfffdb21daecb7dadbd30eb2e353fe66d commit: 89b576af8bc6fc7421ac09e246f6c3d9237fc9b8 [30/48] nfs: add support for multiple nfs reqs per page fs/nfs/pagelist.c:1037 __nfs_pageio_add_request() error: 'subreq'

[kbuild] [mfleming:cqm/pj 3/7] include/linux/perf_event.h:59:30: sparse: marked inline, but without a definition

2014-05-29 Thread Dan Carpenter
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/linux.git cqm/pj head: 20c8876174e697b30efb8f7e02420e99e893917c commit: b531f858f8f20e73b0a70f1dbd5b856876bb335e [3/7] cgroup: Add new cacheqos cgroup subsys to support Cache QoS Monitoring reproduce: make C=1 CF=-D__CHECK_ENDIAN__

Re: [kbuild] [mfleming:cqm/pj 3/7] kernel/sched/cacheqos.c:107:2-8: preceding lock on line 104

2014-05-30 Thread Dan Carpenter
Peter's email is bouncing. Matt, can you take this one? regards, dan carpenter On Fri, May 30, 2014 at 11:52:52AM +0300, Dan Carpenter wrote: tree: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/linux.git cqm/pj head: f2526b7e5c57b422fe3615aaeb637700cc0221f7 commit

Re: [kbuild] [mfleming:cqm/pj 3/7] kernel/sched/cacheqos.c:107:2-8: preceding lock on line 104

2014-05-30 Thread Dan Carpenter
On Fri, May 30, 2014 at 10:18:29AM +0100, Fleming, Matt wrote: Yeah, this branch should really have experimental in the name to avoid the kbuild bot. My bad. The build bot is great, though. :) Tiny bugs like this are easy to fix. regards, dan carpenter

Re: [kbuild] [PATCH] staging: vt6656: Fix vnt_rf_table_download __builtin_memcpy() addr* too small (3 vs 64).

2014-05-31 Thread Dan Carpenter
in the: if (length2 = 64) length = 64; We only ever seem to use the first 64 bytes of u8 array[256]; so my guess is that it was intended to be sizeof(array)? regards, dan carpenter ___ kbuild mailing list kbuild

Re: [kbuild] [PATCH] staging: vt6656: Fix vnt_rf_table_download __builtin_memcpy() addr* too small (3 vs 64).

2014-05-31 Thread Dan Carpenter
On Sat, May 31, 2014 at 04:42:02PM +0300, Dan Carpenter wrote: On Sat, May 31, 2014 at 02:09:27PM +0100, Malcolm Priestley wrote: Fix following errors drivers/staging/vt6656/rf.c:1060 vnt_rf_table_download() error: __builtin_memcpy() 'addr2' too small (3 vs 64) drivers/staging/vt6656

[kbuild] [ipvs-next:master 2/3] net/netfilter/nfnetlink_acct.c:90 nfnl_acct_new() warn: possible memory leak of 'nfacct'

2014-06-01 Thread Dan Carpenter
tree: git://git.kernel.org/pub/scm/linux/kernel/git/horms/ipvs-next.git master head: f768e5bdefe1ec9adbf7a116dfb156b73cacb582 commit: 683399eddb9fff742b1a14c5a5d03e12bfc0afff [2/3] netfilter: nfnetlink_acct: Adding quota support to accounting framework net/netfilter/nfnetlink_acct.c:90

[kbuild] [slave-dma:for-linus 55/57] drivers/dma/sh/rcar-hpbdma.c:627:10-15: ERROR: iterator variable bound on line 626 cannot be NULL

2014-06-02 Thread Dan Carpenter
tree: git://git.infradead.org/users/vkoul/slave-dma.git for-linus head: 654fa24965aafcb4bb8a1a14400c5ecea3be76b6 commit: ebc6d2d9c8cd48c351da84dd467c0edddc149ded [55/57] dmaengine: shdma: Enable driver compilation with COMPILE_TEST drivers/dma/sh/rcar-hpbdma.c:627:10-15: ERROR: iterator

[kbuild] [wsa:i2c/for-next 1/4] drivers/i2c/busses/i2c-rk3x.c:610:69-70: rk3x_i2c_match is not NULL terminated at line 610

2014-06-12 Thread Dan Carpenter
is not NULL terminated at line 610 Please consider folding the attached diff :-) --- 0-DAY kernel build testing backend Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation From: Dan Carpenter dan.carpen...@oracle.com Subject

[kbuild] [iio:testing 25/25] drivers/iio/magnetometer/ak09911.c:301 ak09911_probe() error: we previously assumed 'id' could be null (see line 288)

2014-06-16 Thread Dan Carpenter
ak09911_probe() is called from i2c_device_probe() when we do: status = driver-probe(client, i2c_match_id(driver-id_table, client)); The functions which implement driver-probe() are not very consistent in how the check for a NULL return from i2c_match_id(). tree:

[kbuild] I am offline until Jul 7

2014-06-20 Thread Dan Carpenter
I'm on vacation for the next two weeks. :) Can someone cover for me? Otherwise, I'll catch up when I get back. regards, dan carpenter ___ kbuild mailing list kbuild@lists.01.org https://lists.01.org/mailman/listinfo/kbuild

Re: [kbuild] [PATCH] Potential NULL pointer deference in drbg_ctr_df

2014-07-04 Thread Dan Carpenter
got exactly the same NULL dereference. I was offline for a bit so I'm coming into this late. It's weird that Stephan isn't defending his patch but it looks ok to me... regards, dan carpenter ___ kbuild mailing list kbuild@lists.01.org https://lists.01

[kbuild] [thomash:vmwgfx-next 1/1] drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:482 vmw_cmd_res_reloc_add() warn: variable dereferenced before check 'p_val' (see line 448)

2014-07-07 Thread Dan Carpenter
tree: git://people.freedesktop.org/~thomash/linux vmwgfx-next head: 18e4a4669c5023eb1157f2a3f1bf6ca2b8535572 commit: 18e4a4669c5023eb1157f2a3f1bf6ca2b8535572 [1/1] drm/vmwgfx: Fix compat shader namespace drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:482 vmw_cmd_res_reloc_add() warn: variable

[kbuild] [driver-core:driver-core-next 4/5] drivers/base/component.c:297 component_master_add_with_match() error: we previously assumed 'match' could be null (see line 293)

2014-07-07 Thread Dan Carpenter
tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-next head: 868b60e0550247fc83630070ff64bbfb803b2347 commit: 6955b58254c2bcee8a7b55ce06468a645dc98ec5 [4/5] component: add support for component match array drivers/base/component.c:297

[kbuild] [renesas:rcar-audmapp-for-v3.17 3/3] drivers/dma/sh/rcar-audmapp.c:357:41-42: audmapp_of_match is not NULL terminated at line 357

2014-07-09 Thread Dan Carpenter
/kbuild Intel Corporation From: Dan Carpenter dan.carpen...@oracle.com Subject: [PATCH] dma: rcar-audmapp: fix coccinelle warnings TO: Simon Horman horms+rene...@verge.net.au CC: Kuninori Morimoto kuninori.morimoto...@renesas.com CC: dmaeng...@vger.kernel.org CC: linux-ker

[kbuild] [drm-intel:for-linux-next 143/143] drivers/gpu/drm/i915/i915_irq.c:1385 vlv_calc_delay_from_C0_counters() warn: impossible condition '(adj 0) = (0-255 0)'

2014-07-09 Thread Dan Carpenter
tree: git://anongit.freedesktop.org/drm-intel for-linux-next head: 31685c258e0b0ad6aa486c5ec001382cf8a64212 commit: 31685c258e0b0ad6aa486c5ec001382cf8a64212 [143/143] drm/i915/vlv: WA for Turbo and RC6 to work together. drivers/gpu/drm/i915/i915_irq.c:1385 vlv_calc_delay_from_C0_counters()

[kbuild] [drm-intel:drm-intel-next-queued 126/130] drivers/gpu/drm/i915/i915_gpu_error.c:784 gen8_record_semaphore_state() error: buffer overflow 'ering-semaphore_mboxes' 4 = 4

2014-07-09 Thread Dan Carpenter
tree: git://anongit.freedesktop.org/drm-intel drm-intel-next-queued head: f7d2323c181ed5a2596494b860a99d567fd3e6cd commit: 0ca36d78391dc97b7d3e3d26e4518e30f3e88c16 [126/130] drm/i915/bdw: collect semaphore error state drivers/gpu/drm/i915/i915_gpu_error.c:784 gen8_record_semaphore_state()

[kbuild] [net-next:master 234/273] net/ipv6/ip6_output.c:209 ip6_xmit() error: we previously assumed 'np' could be null (see line 203)

2014-07-09 Thread Dan Carpenter
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 52d14c6661bc08ed51c271a5a9ff3210abef98b4 commit: cb1ce2ef387b01686469487edd45994872d52d73 [234/273] ipv6: Implement automatic flow label generation on transmit New smatch warnings: net/ipv6/ip6_output.c:209

[kbuild] [drdb:for-3.17 44/61] drivers/block/drbd/drbd_req.c:1611 request_timer_fn() warn: inconsistent returns spin_lock:connection-resource-req_lock: locked (1544) unlocked (1611)

2014-07-10 Thread Dan Carpenter
[ It's complaining because of 0500813fe0c9a ('drbd: Move conf_mutex from connection to resource') because connection-resource-req_lock and device-resource-req_lock aren't used consistently. It's old code but still confusing so I'll pass the warning along. -dan ] tree:

[kbuild] [xhci:test_ep_reset_halt 1/2] drivers/usb/host/xhci.c:3111:11-20: ERROR: ctrl_ctx is NULL but dereferenced.

2014-07-11 Thread Dan Carpenter
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mnyman/xhci.git test_ep_reset_halt head: fb58633ed195254fba6794db78946ac54232eefd commit: 73651f7b5ce760f0085ad5e262e62633a2d039b5 [1/2] xhci: Fix endpoint halt and reset handling. WORK IN PROGRESS drivers/usb/host/xhci.c:3111:11-20:

[kbuild] [asoc:topic/rockchip 2/3] sound/soc/rockchip/rockchip_i2s.c:145:8-19: duplicated argument to or |

2014-07-11 Thread Dan Carpenter
tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/rockchip head: 1b21572f8fd791f5b54e5989bc8e0cc5308d2e6c commit: 4495c89fcf2624d542a27f1ecd70aa3524c54195 [2/3] ASoC: add driver for Rockchip RK3xxx I2S controller sound/soc/rockchip/rockchip_i2s.c:145:8-19:

Re: [kbuild] [ext4:dev 8/8] fs/ext4/indirect.c:1462 ext4_ind_remove_space() error: we previously assumed 'partial-bh' could be null (see line 1441)

2014-07-14 Thread Dan Carpenter
On Mon, Jul 14, 2014 at 01:29:02PM +0200, Lukáš Czerner wrote: On Sat, 12 Jul 2014, Dan Carpenter wrote: Date: Sat, 12 Jul 2014 12:34:09 +0300 From: Dan Carpenter dan.carpen...@oracle.com To: Lukas Czerner lczer...@redhat.com, kbu...@01.org Cc: Theodore Ts'o ty...@mit.edu, Dan Carpenter

  1   2   3   4   5   6   7   8   9   10   >