All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-goldfish:android-3.18 396/1051] arch/arm64/kernel/psci.c:88:2-3: Unneeded semicolon
@ 2021-05-13 14:56 kernel test robot
  2021-05-13 14:56 ` [PATCH] scripts/dtc: fix semicolon.cocci warnings kernel test robot
  0 siblings, 1 reply; 11+ messages in thread
From: kernel test robot @ 2021-05-13 14:56 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 775 bytes --]

Hi Lee,

First bad commit (maybe != root cause):

tree:   https://android.googlesource.com/kernel/goldfish android-3.18
head:   dd54b61f1458c03f68fc019b4874d98f2f0ae3a5
commit: 8214bf079208b146e63cd0a3ce0ed335a87ce7b3 [396/1051] scripts/dtc: Export YYLOC global declaration
config: arm64-randconfig-c003-20210513 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 5.5.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


cocci warnings: (new ones prefixed by >>)
>> arch/arm64/kernel/psci.c:88:2-3: Unneeded semicolon

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 15566 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [android-goldfish:android-3.18 396/1051] block/blk-throttle.c:956:9-10: WARNING: return of 0/1 in function 'tg_may_dispatch' with return type bool
@ 2021-05-20 18:22 kernel test robot
  2021-05-20 18:28 ` [PATCH] scripts/dtc: fix semicolon.cocci warnings kernel test robot
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: kernel test robot @ 2021-05-20 18:22 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 13194 bytes --]

Hi Lee,

First bad commit (maybe != root cause):

tree:   https://android.googlesource.com/kernel/goldfish android-3.18
head:   dd54b61f1458c03f68fc019b4874d98f2f0ae3a5
commit: 8214bf079208b146e63cd0a3ce0ed335a87ce7b3 [396/1051] scripts/dtc: Export YYLOC global declaration
config: arc-randconfig-c023-20210520 (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


cocci warnings: (new ones prefixed by >>)
>> block/blk-throttle.c:956:9-10: WARNING: return of 0/1 in function 'tg_may_dispatch' with return type bool
>> block/blk-throttle.c:911:8-9: WARNING: return of 0/1 in function 'tg_with_in_bps_limit' with return type bool
>> block/blk-throttle.c:869:8-9: WARNING: return of 0/1 in function 'tg_with_in_iops_limit' with return type bool
>> block/blk-throttle.c:760:8-9: WARNING: return of 0/1 in function 'throtl_slice_used' with return type bool
--
>> sound/usb/clock.c:150:9-10: WARNING: return of 0/1 in function 'uac_clock_source_is_valid' with return type bool
--
>> fs/nfsd/nfsfh.c:437:10-11: WARNING: return of 0/1 in function 'fsid_type_ok_for_exp' with return type bool
--
>> net/key/af_key.c:950:2-5: WARNING: Use BUG_ON
   net/key/af_key.c:967:2-5: WARNING: Use BUG_ON
   net/key/af_key.c:3227:2-5: WARNING: Use BUG_ON
   net/key/af_key.c:3243:2-5: WARNING: Use BUG_ON
   net/key/af_key.c:3440:2-5: WARNING: Use BUG_ON
   net/key/af_key.c:3463:2-5: WARNING: Use BUG_ON
   net/key/af_key.c:2117:2-5: WARNING: Use BUG_ON
--
>> net/packet/af_packet.c:551:2-5: WARNING: Use BUG_ON
--
>> fs/ntfs/aops.c:1198:3-6: WARNING: Use BUG_ON
--
>> net/rxrpc/ar-accept.c:381:2-5: WARNING: Use BUG_ON
   net/rxrpc/ar-accept.c:383:2-5: WARNING: Use BUG_ON
--
>> net/rxrpc/ar-ack.c:676:3-6: WARNING: Use BUG_ON
   net/rxrpc/ar-ack.c:806:3-6: WARNING: Use BUG_ON
--
>> net/rxrpc/ar-call.c:625:2-5: WARNING: Use BUG_ON
--
>> net/rxrpc/ar-input.c:689:2-5: WARNING: Use BUG_ON
   net/rxrpc/ar-input.c:482:3-6: WARNING: Use BUG_ON
--
>> net/rxrpc/ar-key.c:847:2-5: WARNING: Use BUG_ON
--
>> net/rxrpc/ar-recvmsg.c:125:4-7: WARNING: Use BUG_ON
   net/rxrpc/ar-recvmsg.c:217:5-8: WARNING: Use BUG_ON
   net/rxrpc/ar-recvmsg.c:242:3-6: WARNING: Use BUG_ON
   net/rxrpc/ar-recvmsg.c:269:4-7: WARNING: Use BUG_ON
   net/rxrpc/ar-recvmsg.c:321:3-6: WARNING: Use BUG_ON
--
>> mm/balloon_compaction.c:99:3-6: WARNING: Use BUG_ON
--
>> net/ipv4/devinet.c:1687:2-5: WARNING: Use BUG_ON
--
>> fs/ocfs2/dlmfs/dlmfs.c:140:2-5: WARNING: Use BUG_ON
   fs/ocfs2/dlmfs/dlmfs.c:187:2-5: WARNING: Use BUG_ON
--
>> fs/ocfs2/dlm/dlmmaster.c:2216:4-7: WARNING: Use BUG_ON
--
>> fs/ocfs2/dlm/dlmrecovery.c:1634:4-7: WARNING: Use BUG_ON
   fs/ocfs2/dlm/dlmrecovery.c:1338:2-5: WARNING: Use BUG_ON
--
>> fs/ocfs2/dlm/dlmthread.c:191:4-7: WARNING: Use BUG_ON
--
>> net/ipv4/esp4.c:295:2-5: WARNING: Use BUG_ON
--
>> fs/afs/flock.c:243:2-5: WARNING: Use BUG_ON
   fs/afs/flock.c:245:2-5: WARNING: Use BUG_ON
   fs/afs/flock.c:143:3-6: WARNING: Use BUG_ON
   fs/afs/flock.c:177:3-6: WARNING: Use BUG_ON
--
>> net/ipv4/icmp.c:925:2-5: WARNING: Use BUG_ON
--
>> net/ipv4/inetpeer.c:356:2-5: WARNING: Use BUG_ON
--
>> fs/ext4/inline.c:997:3-6: WARNING: Use BUG_ON
--
>> fs/ntfs/inode.c:349:2-5: WARNING: Use BUG_ON
   fs/ntfs/inode.c:372:2-5: WARNING: Use BUG_ON
--
>> fs/cachefiles/interface.c:298:3-6: WARNING: Use BUG_ON
--
>> net/ipv4/ip_output.c:712:3-6: WARNING: Use BUG_ON
--
>> fs/reiserfs/journal.c:1112:3-6: WARNING: Use BUG_ON
   fs/reiserfs/journal.c:1397:2-5: WARNING: Use BUG_ON
   fs/reiserfs/journal.c:742:3-6: WARNING: Use BUG_ON
   fs/reiserfs/journal.c:654:2-5: WARNING: Use BUG_ON
   fs/reiserfs/journal.c:656:2-5: WARNING: Use BUG_ON
   fs/reiserfs/journal.c:666:2-5: WARNING: Use BUG_ON
   fs/reiserfs/journal.c:1666:5-8: WARNING: Use BUG_ON
--
>> fs/ocfs2/journal.c:955:2-5: WARNING: Use BUG_ON
   fs/ocfs2/journal.c:1613:3-6: WARNING: Use BUG_ON
   fs/ocfs2/journal.c:1643:2-5: WARNING: Use BUG_ON
--
>> fs/ntfs/mft.c:590:4-7: WARNING: Use BUG_ON
   fs/ntfs/mft.c:783:3-6: WARNING: Use BUG_ON
--
>> fs/ocfs2/namei.c:1223:3-6: WARNING: Use BUG_ON
--
>> drivers/usb/host/oxu210hp-hcd.c:398:2-5: WARNING: Use BUG_ON
   drivers/usb/host/oxu210hp-hcd.c:1714:2-5: WARNING: Use BUG_ON
--
>> net/ipv4/ping.c:613:3-6: WARNING: Use BUG_ON
--
>> drivers/block/pktcdvd.c:1073:3-6: WARNING: Use BUG_ON
   drivers/block/pktcdvd.c:1313:3-6: WARNING: Use BUG_ON
--
>> net/core/rtnetlink.c:1752:4-7: WARNING: Use BUG_ON
--
>> fs/afs/rxrpc.c:152:3-6: WARNING: Use BUG_ON
   fs/afs/rxrpc.c:741:2-5: WARNING: Use BUG_ON
   fs/afs/rxrpc.c:743:2-5: WARNING: Use BUG_ON
   fs/afs/rxrpc.c:855:2-5: WARNING: Use BUG_ON
   fs/afs/rxrpc.c:182:2-5: WARNING: Use BUG_ON
   fs/afs/rxrpc.c:169:3-6: WARNING: Use BUG_ON
   fs/afs/rxrpc.c:673:2-5: WARNING: Use BUG_ON
--
>> drivers/mmc/host/sdhci.c:324:3-6: WARNING: Use BUG_ON
   drivers/mmc/host/sdhci.c:370:3-6: WARNING: Use BUG_ON
--
>> net/core/skbuff.c:1497:2-5: WARNING: Use BUG_ON
   net/core/skbuff.c:1084:2-5: WARNING: Use BUG_ON
   net/core/skbuff.c:986:2-5: WARNING: Use BUG_ON
   net/core/skbuff.c:1220:2-5: WARNING: Use BUG_ON
--
>> mm/slab.c:1474:3-6: WARNING: Use BUG_ON
--
>> net/sunrpc/svc_xprt.c:931:2-5: WARNING: Use BUG_ON
--
>> net/ipv4/tcp_input.c:4658:5-8: WARNING: Use BUG_ON
   net/ipv4/tcp_input.c:4997:4-7: WARNING: Use BUG_ON
--
>> net/ipv4/tcp_minisocks.c:319:5-8: WARNING: Use BUG_ON
--
>> fs/jbd2/transaction.c:2217:2-5: WARNING: Use BUG_ON
--
>> fs/ocfs2/dlmfs/userdlm.c:173:2-5: WARNING: Use BUG_ON
--
>> drivers/virtio/virtio_balloon.c:365:3-6: WARNING: Use BUG_ON
--
>> fs/afs/write.c:336:2-5: WARNING: Use BUG_ON
   fs/afs/write.c:338:2-5: WARNING: Use BUG_ON
   fs/afs/write.c:376:4-7: WARNING: Use BUG_ON
   fs/afs/write.c:378:4-7: WARNING: Use BUG_ON
--
>> net/xfrm/xfrm_policy.c:310:2-5: WARNING: Use BUG_ON
--
>> drivers/media/usb/zr364xx/zr364xx.c:381:2-5: WARNING: Use BUG_ON
--
>> net/nfc/netlink.c:1096:21-24: ERROR: dev is NULL but dereferenced.
--
>> drivers/scsi/libfc/fc_disc.c:595:1-11: second lock on line 599
--
>> sound/core/timer.c:1964:1-11: second lock on line 2002
   sound/core/timer.c:1982:3-13: second lock on line 2002
--
>> fs/binfmt_elf.c:1249:48-67: duplicated argument to && or ||
--
>> security/tomoyo/common.c:603:8-26: duplicated argument to && or ||
--
>> drivers/media/usb/go7007/go7007-usb.c:662:6-63: duplicated argument to && or ||
--
>> drivers/video/backlight/lm3639_bl.c:403:1-3: ERROR: test of a variable/field address
   drivers/video/backlight/lm3639_bl.c:405:1-3: ERROR: test of a variable/field address
--
>> fs/ocfs2/alloc.c:6998:2-7: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoid passing NULL values.
--
>> fs/dlm/lockspace.c:679:3-8: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoid passing NULL values.
--
>> net/tipc/name_distr.c:278:2-7: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoid passing NULL values.
--
>> drivers/power/max8903_charger.c:298:8-28: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT
   drivers/power/max8903_charger.c:310:8-28: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT
   drivers/power/max8903_charger.c:322:8-28: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT
--
>> drivers/mfd/wm831x-auxadc.c:286:8-28: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT
--
>> drivers/power/wm831x_power.c:569:7-27: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT
   drivers/power/wm831x_power.c:579:7-27: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT
   drivers/power/wm831x_power.c:592:8-28: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT
--
>> drivers/md/bcache/super.c:1392:6-8: ERROR: iterator variable bound on line 1391 cannot be NULL
--
>> drivers/mmc/card/block.c:604:14-21: WARNING opportunity for memdup_user
--
>> drivers/media/dvb-core/dvb_frontend.c:1964:8-15: WARNING opportunity for memdup_user
   drivers/media/dvb-core/dvb_frontend.c:1995:8-15: WARNING opportunity for memdup_user
--
>> drivers/usb/misc/iowarrior.c:373:8-15: WARNING opportunity for memdup_user
--
>> fs/ocfs2/file.c:2454:1-7: preceding lock on line 2357
--
>> net/ipv4/inet_connection_sock.c:247:1-7: preceding lock on line 142
>> net/ipv4/inet_connection_sock.c:247:1-7: preceding lock on line 142
--
>> fs/ocfs2/inode.c:803:2-8: preceding lock on line 754
--
>> fs/ocfs2/ioctl.c:614:1-7: preceding lock on line 550
   fs/ocfs2/ioctl.c:324:1-7: preceding lock on line 290
--
>> fs/ocfs2/localalloc.c:555:1-7: preceding lock on line 516
   fs/ocfs2/localalloc.c:730:1-7: preceding lock on line 653
--
>> fs/ocfs2/refcounttree.c:881:1-7: preceding lock on line 812
--
>> drivers/tty/tty_io.c:2138:1-7: preceding lock on line 2030
--
>> drivers/usb/host/xhci-ring.c:2523:4-10: preceding lock on line 2604
>> drivers/usb/host/xhci-ring.c:2523:4-10: preceding lock on line 2604
   drivers/usb/host/xhci-ring.c:2615:1-7: preceding lock on line 2604
--
>> drivers/usb/serial/cyberjack.c:153:5-11: Unneeded variable: "result". Return "0" on line 165
--
>> drivers/md/bcache/debug.c:248:5-8: Unneeded variable: "ret". Return "0" on line 251
--
>> fs/ocfs2/dlmglue.c:4162:5-11: Unneeded variable: "status". Return "0" on line 4180
--
>> drivers/usb/serial/garmin_gps.c:864:5-11: Unneeded variable: "status". Return "0" on line 874
--
>> drivers/rtc/interface.c:981:5-8: Unneeded variable: "ret". Return "0" on line 986
--
>> net/bluetooth/l2cap_core.c:6546:5-8: Unneeded variable: "err". Return "0" on line 6578
--
>> net/9p/mod.c:174:5-8: Unneeded variable: "ret". Return "0" on line 180
--
>> drivers/mfd/pcf50633-irq.c:58:5-8: Unneeded variable: "ret". Return "0" on line 75
--
>> net/dccp/proto.c:263:5-8: Unneeded variable: "err". Return "0" on line 307
--
>> net/ipv4/route.c:2853:5-7: Unneeded variable: "rc". Return "0" on line 2898
--
>> fs/ocfs2/stack_o2cb.c:77:5-16: Unneeded variable: "o2dlm_flags". Return "0" on line 92
--
>> net/ipv4/tcp.c:2239:5-8: Unneeded variable: "err". Return "0" on line 2305
--
>> net/sunrpc/xprtsock.c:2042:5-8: Unneeded variable: "err". Return "0" on line 2052
--
>> crypto/af_alg.c:489:2-3: Unneeded semicolon
--
>> drivers/bluetooth/bfusb.c:495:2-3: Unneeded semicolon
--
>> fs/ocfs2/dlmglue.c:558:2-3: Unneeded semicolon
--
>> drivers/usb/serial/keyspan.c:1970:49-50: Unneeded semicolon
--
>> drivers/md/md.c:7001:43-44: Unneeded semicolon
--
>> fs/ocfs2/cluster/quorum.c:89:2-3: Unneeded semicolon
--
>> fs/dlm/rcom.c:580:2-3: Unneeded semicolon
--
>> net/tipc/socket.c:2366:2-3: Unneeded semicolon
--
>> sound/core/control.c:55:7-23: WARNING: snd_ctl_f_ops: .read() has stream semantic; safe to change nonseekable_open -> stream_open.
--
>> net/batman-adv/debugfs.c:106:1-17: WARNING: batadv_log_fops: .read() has stream semantic; safe to change nonseekable_open -> stream_open.
--
>> net/batman-adv/icmp_socket.c:46:1-17: ERROR: batadv_fops: .read() can deadlock .write(); change nonseekable_open -> stream_open to fix.
--
>> sound/core/rawmidi.c:388:7-23: WARNING: snd_rawmidi_f_ops: .read() and .write() have stream semantic; safe to change nonseekable_open -> stream_open.
--
>> sound/core/seq/seq_clientmgr.c:325:7-23: WARNING: snd_seq_f_ops: .read() and .write() have stream semantic; safe to change nonseekable_open -> stream_open.
--
>> sound/core/timer.c:1338:7-23: WARNING: snd_timer_f_ops: .read() has stream semantic; safe to change nonseekable_open -> stream_open.
--
>> mm/balloon_compaction.c:103:8-12: ERROR: invalid reference to the index variable of the iterator on line 65
--
>> net/ipv4/ipmr.c:1090:5-6: ERROR: invalid reference to the index variable of the iterator on line 1041
   net/ipv4/ipmr.c:1149:2-3: ERROR: invalid reference to the index variable of the iterator on line 1138
   net/ipv4/ipmr.c:1195:31-33: ERROR: invalid reference to the index variable of the iterator on line 1181
   net/ipv4/ipmr.c:2371:27-30: ERROR: invalid reference to the index variable of the iterator on line 2386
--
>> net/tipc/subscr.c:250:5-8: ERROR: invalid reference to the index variable of the iterator on line 239
--
>> kernel/debug/debug_core.c:431:2-8: SUGGESTION: printk + WARN_ON_ONCE can be just WARN_ONCE
--
>> drivers/md/raid5.c:547:3-9: SUGGESTION: printk + WARN_ON can be just WARN

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 19307 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [android-goldfish:android-3.18 396/653] drivers/clk/clk-s2mps11.c:198:2-3: Unneeded semicolon
@ 2021-03-15 19:29 kernel test robot
  2021-03-15 19:29 ` [PATCH] scripts/dtc: fix semicolon.cocci warnings kernel test robot
  0 siblings, 1 reply; 11+ messages in thread
From: kernel test robot @ 2021-03-15 19:29 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 783 bytes --]

Hi Lee,

First bad commit (maybe != root cause):

tree:   https://android.googlesource.com/kernel/goldfish android-3.18
head:   c5caa66ccf9b3801561e418a3dfba0c3befc8d00
commit: 8214bf079208b146e63cd0a3ce0ed335a87ce7b3 [396/653] scripts/dtc: Export YYLOC global declaration
config: xtensa-randconfig-c004-20210315 (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


"coccinelle warnings: (new ones prefixed by >>)"
>> drivers/clk/clk-s2mps11.c:198:2-3: Unneeded semicolon

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 16023 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-05-20 18:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-13 14:56 [android-goldfish:android-3.18 396/1051] arch/arm64/kernel/psci.c:88:2-3: Unneeded semicolon kernel test robot
2021-05-13 14:56 ` [PATCH] scripts/dtc: fix semicolon.cocci warnings kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-05-20 18:22 [android-goldfish:android-3.18 396/1051] block/blk-throttle.c:956:9-10: WARNING: return of 0/1 in function 'tg_may_dispatch' with return type bool kernel test robot
2021-05-20 18:28 ` [PATCH] scripts/dtc: fix semicolon.cocci warnings kernel test robot
2021-05-20 18:28 ` kernel test robot
2021-05-20 18:28 ` kernel test robot
2021-05-20 18:29 ` kernel test robot
2021-05-20 18:29 ` kernel test robot
2021-05-20 18:29 ` kernel test robot
2021-05-20 18:29 ` kernel test robot
2021-05-20 18:29 ` kernel test robot
2021-03-15 19:29 [android-goldfish:android-3.18 396/653] drivers/clk/clk-s2mps11.c:198:2-3: Unneeded semicolon kernel test robot
2021-03-15 19:29 ` [PATCH] scripts/dtc: fix semicolon.cocci warnings kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.