Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2492521ybf; Mon, 2 Mar 2020 09:42:25 -0800 (PST) X-Google-Smtp-Source: ADFU+vv33L8SzxtLtB3keY4xtqHGP6BXS44b6vzh+/0Ef1S/5U32JWr8s/7i9pb6BByKpWQBLAp2 X-Received: by 2002:a05:6830:1e14:: with SMTP id s20mr255160otr.322.1583170945098; Mon, 02 Mar 2020 09:42:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583170945; cv=none; d=google.com; s=arc-20160816; b=NKFLNaR+kvUCFG1XBSKRErIRR3AGiCWukc2FI36PFxnVjEi5WckWDUop0PxofGQ5r+ dCAvBCpklu0365caj0W+DBHrC1ghWZ7Qd7hSNp+MNTAxLL4oI9JqI7sVZUz7XRUoamXg ovrgvEc8BFsaEJHYHZqToKFALGzwlgYn0/4W1VPbmNH8gPu3HrmnEttrA/bd9DBWdXRw 6kXYgQlWkOg33fKip9yVLE2uiSwHoslgY2HDiTeToywEW470hB+L/ndhWXUlEmJqO2WO QamhLU1W/HMyV/NSvnwmj150P/+IP/9cnjOL3MEwWT2tpCwR9M/McjmUcta9/DW2kjD2 u8CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:date:message-id:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=pGEDNg9R3GdB2T1XjdxsXxmg8kulRQ7/yI1wNxH8hx4=; b=WaCUGDQpGHkxddU4I2WJsv9jA21AhitVvRG3mfYyg3n226EpnpRwqrwk69foXf7l3D I21EE3vrFtLa/P57VrPDQTU+A0uaHBvYBqya0Lzw45+FilkNSh5am03Gi5ebGyovUPVJ 0p7iBNHjgJfKqcpl20wdAZzcR/Xf0PY+uOD01rDJs5cGFIyrhHdY80WMcglr7ox35gSz GtPqfJA4huwo1OEo+/Rl+9iqyWXoYZXQbGEqf9rtUNxIIbUWaLLruRgkZoeIvTsXYcM/ hVZEha9JhjqVkbhREAx8/fYNzWhwm06DsalNr5/DU3WckJtmDLaatlLID4cGtRvTvQT4 iwVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zzywysm.com header.s=google header.b="EdNN1/xG"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u78si3794643oia.266.2020.03.02.09.42.13; Mon, 02 Mar 2020 09:42:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@zzywysm.com header.s=google header.b="EdNN1/xG"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727487AbgCBRlw (ORCPT + 99 others); Mon, 2 Mar 2020 12:41:52 -0500 Received: from mail-oi1-f173.google.com ([209.85.167.173]:37985 "EHLO mail-oi1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727362AbgCBRlv (ORCPT ); Mon, 2 Mar 2020 12:41:51 -0500 Received: by mail-oi1-f173.google.com with SMTP id 2so50539oiz.5 for ; Mon, 02 Mar 2020 09:41:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zzywysm.com; s=google; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=pGEDNg9R3GdB2T1XjdxsXxmg8kulRQ7/yI1wNxH8hx4=; b=EdNN1/xGpaYMau6oBYHzvLs8e5yWihTuyLuTdet3u2kuAgLcoX9J22Y/lu8sF1r6XO Q+sEXAWavzmz3QceSi54v4yfwDke+zoWQHzXURbgZC5v4jgNpmrmck3/N09SB3CLfG98 d6XNTARK1tlmS1x9rqSAjoNE55RbVIIKqXvkbTFDaDUa7De20PEYYG4egkmTsAn/cYju 2CnqJkJbCHB7D59uz/SC19zbTIrnnMV5+otH+sTwPy905mMfulEz6ge9jiuQ1SE9RlqB vqm4rZDxSpr65JDBZBz1g7zIpWhR/Hq4v7FqFx/KfgIq6akjd7PWGtv3rkGqw+s/shQg ajrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=pGEDNg9R3GdB2T1XjdxsXxmg8kulRQ7/yI1wNxH8hx4=; b=iX3XPHzaOAbOjaurEsPloza0ZEqV9NlWgk+OwMTszcwDkjUxe2wuI/Zyvtzg59MTOh wfpcsmkB5m7sTVgVVFgsfqztdQjBqiPM7GaohfbsietuqB/Q0cTafQrhhezP5hFT0DAS RMsgoZSrvyhRtfnkcznShZy4qCI3Ug6gSr26ud/wbxIfSkrwWGeDGYx6D4PPQqPf6krc 72oShsZAFby5jmcEJR215tmAGonZmRfzMFg+qxtLwmqnHkjpJt+Z3LsQkZCVVhgX3s8n PXb00XPEAWgBvJ0mL4+xFxblBXjweYh0Hv9g+xOMsr5RwnLZrk6yTj3WI4rwd8mA19Yf qBdA== X-Gm-Message-State: ANhLgQ3EiikGuI4+Lve6oBX++Ulkmp/WsHBMZIxtXx5qdAqBjXjJwMO1 CEQIScvEr6+5soQYc1gk1s9LHAA1LWs= X-Received: by 2002:aca:fd94:: with SMTP id b142mr156171oii.11.1583170909760; Mon, 02 Mar 2020 09:41:49 -0800 (PST) Received: from [10.19.49.2] (ec2-3-17-74-181.us-east-2.compute.amazonaws.com. [3.17.74.181]) by smtp.gmail.com with ESMTPSA id l1sm6583126oic.22.2020.03.02.09.41.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Mar 2020 09:41:49 -0800 (PST) From: Zzy Wysm Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Linux Warning Report - 5.6-rc4 Message-Id: <8F0DCA86-7B91-409C-83D7-06E334B8845B@zzywysm.com> Date: Mon, 2 Mar 2020 11:41:47 -0600 To: linux-kernel@vger.kernel.org X-Mailer: Apple Mail (2.3608.60.0.2.5) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Another week, another release candidate. This week a warning was fixed by Adam Williamson in commit=20 03264ddde2453f6877a7d637d84068079632a3c5. Thanks Adam! We are down to 32 warnings in the defconfig. zzy zzy@esquivalience:~/linux-5.6-rc4$ make -j4 KCFLAGS=3D"-Wall -Wextra = -Wno-unused-parameter -Wno-missing-field-initializers" > = build_log_5.6-rc4 kernel/time/hrtimer.c:120:21: warning: initialized field overwritten = [-Woverride-init] 120 | [CLOCK_REALTIME] =3D HRTIMER_BASE_REALTIME, | ^~~~~~~~~~~~~~~~~~~~~ kernel/time/hrtimer.c:120:21: note: (near initialization for = =E2=80=98hrtimer_clock_to_base_table[0]=E2=80=99) kernel/time/hrtimer.c:121:22: warning: initialized field overwritten = [-Woverride-init] 121 | [CLOCK_MONOTONIC] =3D HRTIMER_BASE_MONOTONIC, | ^~~~~~~~~~~~~~~~~~~~~~ kernel/time/hrtimer.c:121:22: note: (near initialization for = =E2=80=98hrtimer_clock_to_base_table[1]=E2=80=99) kernel/time/hrtimer.c:122:21: warning: initialized field overwritten = [-Woverride-init] 122 | [CLOCK_BOOTTIME] =3D HRTIMER_BASE_BOOTTIME, | ^~~~~~~~~~~~~~~~~~~~~ kernel/time/hrtimer.c:122:21: note: (near initialization for = =E2=80=98hrtimer_clock_to_base_table[7]=E2=80=99) kernel/time/hrtimer.c:123:17: warning: initialized field overwritten = [-Woverride-init] 123 | [CLOCK_TAI] =3D HRTIMER_BASE_TAI, | ^~~~~~~~~~~~~~~~ kernel/time/hrtimer.c:123:17: note: (near initialization for = =E2=80=98hrtimer_clock_to_base_table[11]=E2=80=99) arch/x86/kernel/jump_label.c:61:1: warning: =E2=80=98inline=E2=80=99 is = not at beginning of declaration [-Wold-style-declaration] 61 | static void inline __jump_label_transform(struct jump_entry = *entry, | ^~~~~~ kernel/trace/blktrace.c: In function =E2=80=98__trace_note_message=E2=80=99= : kernel/trace/blktrace.c:145:63: warning: parameter =E2=80=98blkcg=E2=80=99= set but not used [-Wunused-but-set-parameter] 145 | void __trace_note_message(struct blk_trace *bt, struct blkcg = *blkcg, | = ~~~~~~~~~~~~~~^~~~~ In file included from kernel/bpf/core.c:21: kernel/bpf/core.c: In function =E2=80=98___bpf_prog_run=E2=80=99: ./include/linux/filter.h:863:3: warning: cast between incompatible = function types from =E2=80=98u64 (*)(u64, u64, u64, u64, u64)=E2=80=99= {aka =E2=80=98long long unsigned int (*)(long long unsigned int, long = long unsigned int, long long unsigned int, long long unsigned int, = long long unsigned int)=E2=80=99} to =E2=80=98u64 (*)(u64, u64, u64, = u64, u64, const struct bpf_insn *)=E2=80=99 {aka =E2=80=98long long = unsigned int (*)(long long unsigned int, long long unsigned int, long = long unsigned int, long long unsigned int, long long unsigned int, = const struct bpf_insn *)=E2=80=99} [-Wcast-function-type] 863 | ((u64 (*)(u64, u64, u64, u64, u64, const struct bpf_insn *)) \ | ^ kernel/bpf/core.c:1513:13: note: in expansion of macro = =E2=80=98__bpf_call_base_args=E2=80=99 1513 | BPF_R0 =3D (__bpf_call_base_args + insn->imm)(BPF_R1, BPF_R2, | ^~~~~~~~~~~~~~~~~~~~ kernel/bpf/core.c: In function =E2=80=98bpf_patch_call_args=E2=80=99: ./include/linux/filter.h:863:3: warning: cast between incompatible = function types from =E2=80=98u64 (*)(u64, u64, u64, u64, u64)=E2=80=99= {aka =E2=80=98long long unsigned int (*)(long long unsigned int, long = long unsigned int, long long unsigned int, long long unsigned int, = long long unsigned int)=E2=80=99} to =E2=80=98u64 (*)(u64, u64, u64, = u64, u64, const struct bpf_insn *)=E2=80=99 {aka =E2=80=98long long = unsigned int (*)(long long unsigned int, long long unsigned int, long = long unsigned int, long long unsigned int, long long unsigned int, = const struct bpf_insn *)=E2=80=99} [-Wcast-function-type] 863 | ((u64 (*)(u64, u64, u64, u64, u64, const struct bpf_insn *)) \ | ^ kernel/bpf/core.c:1704:3: note: in expansion of macro = =E2=80=98__bpf_call_base_args=E2=80=99 1704 | __bpf_call_base_args; | ^~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/capability.h:16, from security/commoncap.c:5: security/commoncap.c: In function =E2=80=98cap_prctl_drop=E2=80=99: ./include/uapi/linux/capability.h:373:27: warning: comparison of = unsigned expression >=3D 0 is always true [-Wtype-limits] 373 | #define cap_valid(x) ((x) >=3D 0 && (x) <=3D CAP_LAST_CAP) | ^~ security/commoncap.c:1145:7: note: in expansion of macro =E2=80=98cap_vali= d=E2=80=99 1145 | if (!cap_valid(cap)) | ^~~~~~~~~ security/commoncap.c: In function =E2=80=98cap_task_prctl=E2=80=99: ./include/uapi/linux/capability.h:373:27: warning: comparison of = unsigned expression >=3D 0 is always true [-Wtype-limits] 373 | #define cap_valid(x) ((x) >=3D 0 && (x) <=3D CAP_LAST_CAP) | ^~ security/commoncap.c:1175:8: note: in expansion of macro =E2=80=98cap_vali= d=E2=80=99 1175 | if (!cap_valid(arg2)) | ^~~~~~~~~ ./include/uapi/linux/capability.h:373:27: warning: comparison of = unsigned expression >=3D 0 is always true [-Wtype-limits] 373 | #define cap_valid(x) ((x) >=3D 0 && (x) <=3D CAP_LAST_CAP) | ^~ security/commoncap.c:1260:10: note: in expansion of macro = =E2=80=98cap_valid=E2=80=99 1260 | if (((!cap_valid(arg3)) | arg4 | arg5)) | ^~~~~~~~~ drivers/video/fbdev/core/fbmon.c: In function =E2=80=98get_monspecs=E2=80=99= : drivers/video/fbdev/core/fbmon.c:812:47: warning: suggest braces around = empty body in an =E2=80=98if=E2=80=99 statement [-Wempty-body] 812 | DPRINTK(" Configurable signal level\n"); | ^ drivers/video/fbdev/core/fbmon.c:842:24: warning: suggest braces around = empty body in an =E2=80=98else=E2=80=99 statement [-Wempty-body] 842 | DPRINTK("variable\n"); | ^ drivers/video/fbdev/core/fbmon.c:847:24: warning: suggest braces around = empty body in an =E2=80=98else=E2=80=99 statement [-Wempty-body] 847 | DPRINTK("variable\n"); | ^ fs/posix_acl.c: In function =E2=80=98get_acl=E2=80=99: fs/posix_acl.c:127:22: warning: suggest braces around empty body in an = =E2=80=98if=E2=80=99 statement [-Wempty-body] 127 | /* fall through */ ; | ^ drivers/tty/vt/keyboard.c: In function =E2=80=98k_fn=E2=80=99: drivers/tty/vt/keyboard.c:740:22: warning: comparison is always true due = to limited range of data type [-Wtype-limits] 740 | if ((unsigned)value < ARRAY_SIZE(func_table)) { | ^ drivers/acpi/scan.c: In function =E2=80=98acpi_bus_get_wakeup_device_flags= =E2=80=99: drivers/acpi/scan.c:903:43: warning: suggest braces around empty body in = an =E2=80=98if=E2=80=99 statement [-Wempty-body] 903 | "error in _DSW or _PSW evaluation\n")); | ^ drivers/acpi/acpi_processor.c: In function = =E2=80=98acpi_processor_errata_piix4=E2=80=99: drivers/acpi/acpi_processor.c:133:67: warning: suggest braces around = empty body in an =E2=80=98if=E2=80=99 statement [-Wempty-body] 133 | "Bus master activity detection (BM-IDE) erratum = enabled\n")); | = ^ drivers/acpi/acpi_processor.c:136:54: warning: suggest braces around = empty body in an =E2=80=98if=E2=80=99 statement [-Wempty-body] 136 | "Type-F DMA livelock erratum (C3 disabled)\n")); | ^ drivers/acpi/acpi_processor.c: In function = =E2=80=98acpi_processor_get_info=E2=80=99: drivers/acpi/acpi_processor.c:251:49: warning: suggest braces around = empty body in an =E2=80=98else=E2=80=99 statement [-Wempty-body] 251 | "No bus mastering arbitration control\n")); | ^ drivers/acpi/processor_pdc.c: In function =E2=80=98acpi_processor_eval_pdc= =E2=80=99: drivers/acpi/processor_pdc.c:136:65: warning: suggest braces around = empty body in an =E2=80=98if=E2=80=99 statement [-Wempty-body] 136 | "Could not evaluate _PDC, using legacy perf. = control.\n")); | = ^ In file included from drivers/ata/ahci.c:35: drivers/ata/ahci.h:384:16: warning: initialized field overwritten = [-Woverride-init] 384 | .can_queue =3D AHCI_MAX_CMDS, \ | ^~~~~~~~~~~~~ drivers/ata/ahci.c:103:2: note: in expansion of macro =E2=80=98AHCI_SHT=E2= =80=99 103 | AHCI_SHT("ahci"), | ^~~~~~~~ drivers/ata/ahci.h:384:16: note: (near initialization for = =E2=80=98ahci_sht.can_queue=E2=80=99) 384 | .can_queue =3D AHCI_MAX_CMDS, \ | ^~~~~~~~~~~~~ drivers/ata/ahci.c:103:2: note: in expansion of macro =E2=80=98AHCI_SHT=E2= =80=99 103 | AHCI_SHT("ahci"), | ^~~~~~~~ drivers/ata/ahci.h:388:17: warning: initialized field overwritten = [-Woverride-init] 388 | .sdev_attrs =3D ahci_sdev_attrs | ^~~~~~~~~~~~~~~ drivers/ata/ahci.c:103:2: note: in expansion of macro =E2=80=98AHCI_SHT=E2= =80=99 103 | AHCI_SHT("ahci"), | ^~~~~~~~ drivers/ata/ahci.h:388:17: note: (near initialization for = =E2=80=98ahci_sht.sdev_attrs=E2=80=99) 388 | .sdev_attrs =3D ahci_sdev_attrs | ^~~~~~~~~~~~~~~ drivers/ata/ahci.c:103:2: note: in expansion of macro =E2=80=98AHCI_SHT=E2= =80=99 103 | AHCI_SHT("ahci"), | ^~~~~~~~ drivers/usb/core/sysfs.c: In function =E2=80=98usb_create_sysfs_intf_files= =E2=80=99: drivers/usb/core/sysfs.c:1266:3: warning: suggest braces around empty = body in an =E2=80=98if=E2=80=99 statement [-Wempty-body] 1266 | ; /* We don't actually care if the function fails. */ | ^ drivers/input/mouse/synaptics.c: In function = =E2=80=98synaptics_process_packet=E2=80=99: drivers/input/mouse/synaptics.c:1105:6: warning: suggest braces around = empty body in an =E2=80=98if=E2=80=99 statement [-Wempty-body] 1105 | ; /* Nothing, treat a pen as a single finger */ | ^ drivers/md/md.c: In function =E2=80=98bind_rdev_to_array=E2=80=99: drivers/md/md.c:2438:27: warning: suggest braces around empty body in an = =E2=80=98if=E2=80=99 statement [-Wempty-body] 2438 | /* failure here is OK */; | ^ drivers/md/md.c: In function =E2=80=98slot_store=E2=80=99: drivers/md/md.c:3200:28: warning: suggest braces around empty body in an = =E2=80=98if=E2=80=99 statement [-Wempty-body] 3200 | /* failure here is OK */; | ^ drivers/md/md.c: In function =E2=80=98remove_and_add_spares=E2=80=99: drivers/md/md.c:9045:29: warning: suggest braces around empty body in an = =E2=80=98if=E2=80=99 statement [-Wempty-body] 9045 | /* failure here is OK */; | ^ drivers/hid/hid-lgff.c: In function =E2=80=98hid_lgff_play=E2=80=99: drivers/hid/hid-lgff.c:65:24: warning: comparison of unsigned expression = < 0 is always false [-Wtype-limits] 65 | #define CLAMP(x) if (x < 0) x =3D 0; if (x > 0xff) x =3D 0xff | ^ drivers/hid/hid-lgff.c:86:3: note: in expansion of macro =E2=80=98CLAMP=E2= =80=99 86 | CLAMP(left); | ^~~~~ drivers/hid/hid-lgff.c:65:24: warning: comparison of unsigned expression = < 0 is always false [-Wtype-limits] 65 | #define CLAMP(x) if (x < 0) x =3D 0; if (x > 0xff) x =3D 0xff | ^ drivers/hid/hid-lgff.c:87:3: note: in expansion of macro =E2=80=98CLAMP=E2= =80=99 87 | CLAMP(right); | ^~~~~ lib/errname.c:15:67: warning: initialized field overwritten = [-Woverride-init] 15 | #define E(err) [err + BUILD_BUG_ON_ZERO(err <=3D 0 || err > = 300)] =3D "-" #err | = ^~~ lib/errname.c:172:2: note: in expansion of macro =E2=80=98E=E2=80=99 172 | E(EDEADLK), /* EDEADLOCK */ | ^ lib/errname.c:15:67: note: (near initialization for =E2=80=98names_0[35]=E2= =80=99) 15 | #define E(err) [err + BUILD_BUG_ON_ZERO(err <=3D 0 || err > = 300)] =3D "-" #err | = ^~~ lib/errname.c:172:2: note: in expansion of macro =E2=80=98E=E2=80=99 172 | E(EDEADLK), /* EDEADLOCK */ | ^ lib/radix-tree.c: In function =E2=80=98set_iter_tags=E2=80=99: lib/radix-tree.c:1134:15: warning: comparison is always false due to = limited range of data type [-Wtype-limits] 1134 | if (tag_long < RADIX_TREE_TAG_LONGS - 1) { | ^