The loop in sugov_next_freq_shared() contains an if block to skip the
loop for the current CPU. This turns out to be an unnecessary
conditional in the scheduler's hot-path for every CPU in the policy.
It would be better to drop the conditional and make the loop treat all
the CPUs in the same way. That would eliminate the need of calling
sugov_iowait_boost() at the top of the routine.
To keep the code optimized to return early if the current CPU has RT/DL
flags set, move the flags check to sugov_update_shared() instead in
order to avoid the function call entirely.
Signed-off-by: Viresh Kumar <viresh.kumar(a)linaro.org>
---
V1->V2:
- Keep the flags check separately for the current CPU, but move it to
the parent routine.
- Improved commit log.
kernel/sched/cpufreq_schedutil.c | 25 +++++++++----------------
1 file changed, 9 insertions(+), 16 deletions(-)
diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c
index 78468aa051ab..f5ffe241812e 100644
--- a/kernel/sched/cpufreq_schedutil.c
+++ b/kernel/sched/cpufreq_schedutil.c
@@ -217,30 +217,19 @@ static void sugov_update_single(struct update_util_data *hook, u64 time,
sugov_update_commit(sg_policy, time, next_f);
}
-static unsigned int sugov_next_freq_shared(struct sugov_cpu *sg_cpu,
- unsigned long util, unsigned long max,
- unsigned int flags)
+static unsigned int sugov_next_freq_shared(struct sugov_cpu *sg_cpu)
{
struct sugov_policy *sg_policy = sg_cpu->sg_policy;
struct cpufreq_policy *policy = sg_policy->policy;
- unsigned int max_f = policy->cpuinfo.max_freq;
u64 last_freq_update_time = sg_policy->last_freq_update_time;
+ unsigned long util = 0, max = 1;
unsigned int j;
- if (flags & SCHED_CPUFREQ_RT_DL)
- return max_f;
-
- sugov_iowait_boost(sg_cpu, &util, &max);
-
for_each_cpu(j, policy->cpus) {
- struct sugov_cpu *j_sg_cpu;
+ struct sugov_cpu *j_sg_cpu = &per_cpu(sugov_cpu, j);
unsigned long j_util, j_max;
s64 delta_ns;
- if (j == smp_processor_id())
- continue;
-
- j_sg_cpu = &per_cpu(sugov_cpu, j);
/*
* If the CPU utilization was last updated before the previous
* frequency update and the time elapsed between the last update
@@ -254,7 +243,7 @@ static unsigned int sugov_next_freq_shared(struct sugov_cpu *sg_cpu,
continue;
}
if (j_sg_cpu->flags & SCHED_CPUFREQ_RT_DL)
- return max_f;
+ return policy->cpuinfo.max_freq;
j_util = j_sg_cpu->util;
j_max = j_sg_cpu->max;
@@ -289,7 +278,11 @@ static void sugov_update_shared(struct update_util_data *hook, u64 time,
sg_cpu->last_update = time;
if (sugov_should_update_freq(sg_policy, time)) {
- next_f = sugov_next_freq_shared(sg_cpu, util, max, flags);
+ if (flags & SCHED_CPUFREQ_RT_DL)
+ next_f = sg_policy->policy->cpuinfo.max_freq;
+ else
+ next_f = sugov_next_freq_shared(sg_cpu);
+
sugov_update_commit(sg_policy, time, next_f);
}
--
2.7.1.410.g6faf27b
Tree/Branch: v3.10-rt
Git describe: v3.10.104-rt118-317-g62acb48
Commit: 62acb48c97 Linux 3.10.105-rt119
Build Time: 36 min 59 sec
Passed: 7 / 8 ( 87.50 %)
Failed: 1 / 8 ( 12.50 %)
Errors: 1
Warnings: 181
Section Mismatches: 0
Failed defconfigs:
arm64-allmodconfig
Errors:
arm64-allmodconfig
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
6 warnings 0 mismatches : arm64-allnoconfig
130 warnings 0 mismatches : arm64-allmodconfig
7 warnings 0 mismatches : arm-multi_v7_defconfig
4 warnings 0 mismatches : x86_64-defconfig
56 warnings 0 mismatches : arm-allmodconfig
3 warnings 0 mismatches : arm-allnoconfig
3 warnings 0 mismatches : x86_64-allnoconfig
17 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 1
9 /home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
Warnings Summary: 181
8 /home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
5 /home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
4 /home/broonie/build/linux-stable-rt/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
4 /home/broonie/build/linux-stable-rt/include/linux/ftrace.h:617:40: warning: calling '__builtin_return_address' with a nonzero argument is unsafe [-Wframe-address]
4 /home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:162:3: warning: value computed is not used [-Wunused-value]
3 /home/broonie/build/linux-stable-rt/mm/swap.c:47:30: warning: 'swapvec_lock' defined but not used [-Wunused-const-variable=]
3 /home/broonie/build/linux-stable-rt/mm/swap.c:46:30: warning: 'rotate_lock' defined but not used [-Wunused-const-variable=]
3 /home/broonie/build/linux-stable-rt/kernel/workqueue.c:319:30: warning: 'pendingb_lock' defined but not used [-Wunused-const-variable=]
3 /home/broonie/build/linux-stable-rt/fs/namespace.c:2590:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
3 /home/broonie/build/linux-stable-rt/fs/namespace.c:2590:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
3 /home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:74:3: warning: value computed is not used [-Wunused-value]
2 /home/broonie/build/linux-stable-rt/net/packet/af_packet.c:3674:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
2 /home/broonie/build/linux-stable-rt/net/ipv4/tcp_ipv4.c:593:30: warning: 'tcp_sk_lock' defined but not used [-Wunused-const-variable=]
2 /home/broonie/build/linux-stable-rt/net/ipv4/icmp.c:208:30: warning: 'icmp_sk_lock' defined but not used [-Wunused-const-variable=]
2 /home/broonie/build/linux-stable-rt/net/core/skbuff.c:343:30: warning: 'netdev_alloc_lock' defined but not used [-Wunused-const-variable=]
2 /home/broonie/build/linux-stable-rt/net/core/rtnetlink.c:1142:32: warning: 'ifla_vf_policy' defined but not used [-Wunused-const-variable=]
2 /home/broonie/build/linux-stable-rt/net/core/rtnetlink.c:1138:32: warning: 'ifla_vfinfo_policy' defined but not used [-Wunused-const-variable=]
2 /home/broonie/build/linux-stable-rt/net/core/net-sysfs.c:30:19: warning: 'fmt_long_hex' defined but not used [-Wunused-const-variable=]
2 /home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
2 /home/broonie/build/linux-stable-rt/fs/namespace.c:2590:6: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
2 /home/broonie/build/linux-stable-rt/fs/namespace.c:2590:6: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
2 /home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
2 /home/broonie/build/linux-stable-rt/drivers/net/wireless/iwlwifi/mvm/fw.c:90:64: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
2 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/smsc/smc91x.c:1899:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8991.c:526:38: warning: 'wm8991_dapm_rxvoice_controls' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8991.c:126:27: warning: 'out_omix_tlv' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8991.c:106:27: warning: 'rec_mix_tlv' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8990.c:532:38: warning: 'wm8990_dapm_rxvoice_controls' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8990.c:126:35: warning: 'out_omix_tlv' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8990.c:118:35: warning: 'rec_mix_tlv' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8988.c:273:30: warning: 'wm8988_rline_enum' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8974.c:202:38: warning: 'wm8974_mic_boost_controls' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8974.c:198:38: warning: 'wm8974_aux_boost_controls' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8900.c:451:38: warning: 'wm8900_dapm_routput2_control' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8900.c:448:38: warning: 'wm8900_dapm_loutput2_control' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8737.c:116:30: warning: 'high_3d' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/tlv320aic23.c:56:30: warning: 'tlv320aic23_rec_src' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/ml26124.c:71:35: warning: 'ngth' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/max98090.c:868:30: warning: 'max98090_pa2en_enum' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/max98090.c:864:30: warning: 'max98090_pa1en_enum' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/max98090.c:389:35: warning: 'max98090_alc_tlv' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/max98090.c:387:35: warning: 'max98090_sidetone_tlv' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/max98090.c:2354:12: warning: 'max98090_runtime_suspend' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/max98090.c:2341:12: warning: 'max98090_runtime_resume' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/cs42l73.c:383:38: warning: 'xsp_output_mux' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/cs42l73.c:380:38: warning: 'vsp_output_mux' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/net/wireless/nl80211.c:417:1: warning: 'nl80211_wowlan_tcp_policy' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/net/wireless/nl80211.c:404:1: warning: 'nl80211_wowlan_policy' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/net/sunrpc/xprtrdma/verbs.c:1774:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/net/sched/sch_choke.c:595:37: warning: 'choke_class_ops' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/net/netfilter/xt_recent.c:103:37: warning: 'recent_old_fops' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/net/mac80211/debugfs_sta.c:35:37: warning: 'sta_aid_ops' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/net/mac80211/debugfs.c:70:23: warning: 'rate_ctrl_alg_ops' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/net/ipv4/arp.c:152:31: warning: 'arp_broken_ops' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/net/ieee802154/6lowpan.c:89:17: warning: 'lowpan_unc_ctxconf' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/net/dcb/dcbnl.c:183:32: warning: 'dcbnl_ieee_app' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/net/caif/cfpkt_skbuff.c:296:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
1 /home/broonie/build/linux-stable-rt/kernel/modsign_pubkey.c:28:30: warning: 'annoy_ccache' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/kernel/auditfilter.c:426:3: warning: this decimal constant is unsigned only in ISO C90
1 /home/broonie/build/linux-stable-rt/include/linux/spinlock.h:237:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 /home/broonie/build/linux-stable-rt/include/linux/list.h:457:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
1 /home/broonie/build/linux-stable-rt/include/linux/kernel.h:677:17: warning: comparison of distinct pointer types lacks a cast
1 /home/broonie/build/linux-stable-rt/include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'resource_size_t {aka long long unsigned int}' [-Wformat=]
1 /home/broonie/build/linux-stable-rt/include/linux/ftrace.h:618:40: warning: calling '__builtin_return_address' with a nonzero argument is unsafe [-Wframe-address]
1 /home/broonie/build/linux-stable-rt/include/linux/clocksource.h:345:20: warning: comparison of distinct pointer types lacks a cast
1 /home/broonie/build/linux-stable-rt/fs/ncpfs/dir.c:854:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1 /home/broonie/build/linux-stable-rt/fs/cifs/netmisc.c:133:40: warning: 'mapping_table_ERRHRD' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/fs/cifs/cifsacl.c:43:30: warning: 'sid_user' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/fs/afs/cmservice.c:78:35: warning: 'afs_SRXCBProbeUuid' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/s6e63m0.c:331:29: warning: 'seq_elvss_off' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/s6e63m0.c:317:29: warning: 'seq_acl_off' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/lms501kf03.c:96:28: warning: 'seq_up_dn' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/lms501kf03.c:100:28: warning: 'seq_sleep_in' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:92:29: warning: 'seq_swreset' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:414:29: warning: 'seq_el_on' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:402:29: warning: 'seq_els_en' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:390:29: warning: 'seq_gls_en' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:378:29: warning: 'seq_sd_amp_en' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:366:29: warning: 'seq_gam_amp_en' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:356:29: warning: 'seq_vbl_amp_en' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:346:29: warning: 'seq_vbh_amp_en' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:334:29: warning: 'seq_vint_amp_en' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:324:29: warning: 'seq_vmos_amp_en' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:314:29: warning: 'seq_vgl_amp_en' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:304:29: warning: 'seq_vgh_amp_en' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:294:29: warning: 'seq_vreg1_amp_en' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:284:29: warning: 'seq_vl3_en' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:274:29: warning: 'seq_vci1_2nd_en' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:264:29: warning: 'seq_vl2_en' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:254:29: warning: 'seq_vl1_en' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:244:29: warning: 'seq_vci1_1st_en' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:212:29: warning: 'seq_pwr_ctrl' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:187:29: warning: 'seq_apon' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/video/aty/radeon_pm.c:1718:13: warning: 'radeon_reinitialize_M10' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable-rt/drivers/usb/host/xhci.c:3603:17: warning: unused variable 'dev' [-Wunused-variable]
1 /home/broonie/build/linux-stable-rt/drivers/usb/host/xhci.c:3517:17: warning: unused variable 'dev' [-Wunused-variable]
1 /home/broonie/build/linux-stable-rt/drivers/usb/gadget/nokia.c:57:19: warning: 'product_nokia' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/usb/gadget/mv_udc_core.c:62:19: warning: 'driver_desc' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/usb/gadget/mv_u3d_core.c:39:19: warning: 'driver_desc' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/usb/gadget/gmidi.c:47:19: warning: 'shortname' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/wlan-ng/prism2fw.c:795:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/vt6655/iwctl.c:758:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/vt6655/device_main.c:3257:1: warning: the frame size of 1864 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/sm7xxfb/sm7xxfb.c:117:19: warning: 'sm7xx_vga_setup' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable-rt/drivers/staging/panel/panel.c:1804:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1 /home/broonie/build/linux-stable-rt/drivers/staging/iio/adc/ad7192.c:237:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
1 /home/broonie/build/linux-stable-rt/drivers/spi/spi-pl022.c:281:31: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 /home/broonie/build/linux-stable-rt/drivers/spi/spi-gpio.c:255:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/scsi/pm8001/pm8001_init.c:427:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
1 /home/broonie/build/linux-stable-rt/drivers/scsi/aic7xxx_old.c:8517:5: warning: case value '257' not in enumerated type 'ahc_chip {aka enum <anonymous>}' [-Wswitch]
1 /home/broonie/build/linux-stable-rt/drivers/scsi/aic7xxx_old.c:8510:5: warning: case value '513' not in enumerated type 'ahc_chip {aka enum <anonymous>}' [-Wswitch]
1 /home/broonie/build/linux-stable-rt/drivers/scsi/aic7xxx_old.c:7901:5: warning: case value '257' not in enumerated type 'ahc_chip {aka enum <anonymous>}' [-Wswitch]
1 /home/broonie/build/linux-stable-rt/drivers/scsi/aic7xxx_old.c:7898:5: warning: case value '513' not in enumerated type 'ahc_chip {aka enum <anonymous>}' [-Wswitch]
1 /home/broonie/build/linux-stable-rt/drivers/regulator/tps62360-regulator.c:364:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/regulator/pcap-regulator.c:93:27: warning: 'SW3_table' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/power/twl4030_charger.c:192:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable-rt/drivers/power/pm2301_charger.c:725:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable-rt/drivers/power/ab8500_charger.c:1558:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable-rt/drivers/power/ab8500_charger.c:1389:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable-rt/drivers/pinctrl/pinctrl-bcm2835.c:1053:2: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable-rt/drivers/pinctrl/pinctrl-bcm2835.c:1036:3: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/ti/wlcore/spi.c:321:1: warning: the frame size of 8688 bytes is larger than 2048 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/rtlwifi/efuse.c:38:31: warning: 'RTL8712_SDIO_EFUSE_TABLE' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/rtlwifi/efuse.c:34:17: warning: 'MAX_PGPKT_SIZE' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/libertas_tf/main.c:30:19: warning: 'lbtf_driver_version' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/brcm80211/brcmsmac/phy/phytbl_n.c:9298:18: warning: 'papd_cal_scalars_tbl_core1_rev3' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/brcm80211/brcmsmac/phy/phytbl_n.c:9231:18: warning: 'papd_comp_epsilon_tbl_core1_rev3' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/brcm80211/brcmsmac/phy/phytbl_n.c:9164:18: warning: 'papd_cal_scalars_tbl_core0_rev3' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/brcm80211/brcmsmac/phy/phytbl_n.c:9097:18: warning: 'papd_comp_epsilon_tbl_core0_rev3' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/brcm80211/brcmsmac/phy/phytbl_lcn.c:1523:33: warning: 'dot11lcnphytbl_rx_gain_info_rev1' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c:526:19: warning: 'retry_limit' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c:36:19: warning: 'brcmf_version' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:41:18: warning: 'm2ThreshExt_off' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:40:18: warning: 'm1ThreshExt_off' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:39:18: warning: 'm2ThreshLowExt_off' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:38:18: warning: 'm1ThreshLowExt_off' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:37:18: warning: 'm2CountThrLow_off' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:36:18: warning: 'm2CountThr_off' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:35:18: warning: 'm2Thresh_off' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:34:18: warning: 'm1Thresh_off' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:33:18: warning: 'm2ThreshLow_off' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:32:18: warning: 'm1ThreshLow_off' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/sfc/selftest.c:389:9: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
1 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/neterion/vxge/vxge-main.c:2143:13: warning: 'adaptive_coalesce_rx_interrupts' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/neterion/vxge/vxge-main.c:2115:13: warning: 'adaptive_coalesce_tx_interrupts' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/dec/tulip/winbond-840.c:911:2: warning: #warning Processor architecture undefined [-Wcpp]
1 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/amd/nmclan_cs.c:625:3: warning: 'pcmcia_request_exclusive_irq' is deprecated [-Wdeprecated-declarations]
1 /home/broonie/build/linux-stable-rt/drivers/mtd/chips/cfi_cmdset_0020.c:654:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/mmc/host/tmio_mmc_pio.c:798:3: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable-rt/drivers/misc/lkdtm.c:276:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/misc/bh1770glc.c:184:17: warning: 'prox_curr_ma' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/misc/apds990x.c:191:17: warning: 'ir_currents' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/mfd/tps65217.c:173:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/media/platform/omap3isp/ispccp2.c:167:3: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable-rt/drivers/media/platform/coda.c:952:40: warning: array subscript is above array bounds [-Warray-bounds]
1 /home/broonie/build/linux-stable-rt/drivers/media/platform/coda.c:944:39: warning: array subscript is above array bounds [-Warray-bounds]
1 /home/broonie/build/linux-stable-rt/drivers/iommu/omap-iommu.c:1245:17: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'dma_addr_t {aka unsigned int}' [-Wformat=]
1 /home/broonie/build/linux-stable-rt/drivers/iommu/omap-iommu.c:1238:17: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'dma_addr_t {aka unsigned int}' [-Wformat=]
1 /home/broonie/build/linux-stable-rt/drivers/input/keyboard/cros_ec_keyb.c:210:13: warning: 'cros_ec_keyb_clear_keyboard' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable-rt/drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
1 /home/broonie/build/linux-stable-rt/drivers/infiniband/hw/nes/nes_hw.c:92:23: warning: 'nes_tcp_state_str' defined but not used [-Wunused-variable]
1 /home/broonie/build/linux-stable-rt/drivers/infiniband/hw/nes/nes_hw.c:81:23: warning: 'nes_iwarp_state_str' defined but not used [-Wunused-variable]
1 /home/broonie/build/linux-stable-rt/drivers/infiniband/hw/cxgb4/mem.c:79:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/iio/adc/exynos_adc.c:111:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/iio/adc/ad7793.c:449:37: warning: 'ad7797_attribute_group' defined but not used [-Wunused-const-variable=]
1 /home/broonie/build/linux-stable-rt/drivers/gpu/drm/exynos/exynos_hdmi.c:1702:2: warning: ignoring return value of 'regulator_bulk_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable-rt/drivers/gpio/gpio-mcp23s08.c:622:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/dma/pl330.c:2379:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/dma/pl330.c:2058:5: warning: passing argument 3 of 'dma_alloc_coherent' from incompatible pointer type [-Wincompatible-pointer-types]
1 /home/broonie/build/linux-stable-rt/drivers/dma/amba-pl08x.c:920:5: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=]
1 /home/broonie/build/linux-stable-rt/drivers/dma/amba-pl08x.c:848:31: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
1 /home/broonie/build/linux-stable-rt/drivers/dma/amba-pl08x.c:848:31: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
1 /home/broonie/build/linux-stable-rt/drivers/block/mtip32xx/mtip32xx.c:2827:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/ata/pata_hpt366.c:383:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
1 /home/broonie/build/linux-stable-rt/drivers/ata/pata_hpt366.c:380:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
1 /home/broonie/build/linux-stable-rt/drivers/ata/pata_hpt366.c:377:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
1 /home/broonie/build/linux-stable-rt/arch/arm/mm/init.c:731:35: warning: passing argument 2 of 'free_reserved_area' makes integer from pointer without a cast [-Wint-conversion]
1 /home/broonie/build/linux-stable-rt/arch/arm/mm/init.c:731:21: warning: passing argument 1 of 'free_reserved_area' makes integer from pointer without a cast [-Wint-conversion]
1 /home/broonie/build/linux-stable-rt/arch/arm/mach-omap2/board-am3517crane.c:113:6: warning: unused variable 'ret' [-Wunused-variable]
1 /home/broonie/build/linux-stable-rt/Documentation/misc-devices/mei/mei-amt-version.c:103:5: warning: 'acmd.fd' is used uninitialized in this function [-Wuninitialized]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/mm/swap.c:47:30: warning: 'swapvec_lock' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/mm/swap.c:46:30: warning: 'rotate_lock' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/kernel/workqueue.c:319:30: warning: 'pendingb_lock' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
-------------------------------------------------------------------------------
arm64-allmodconfig : FAIL, 9 errors, 130 warnings, 0 section mismatches
Errors:
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
/home/broonie/build/linux-stable-rt/include/linux/module.h:87:32: error: storage size of '__mod_amba_device_table' isn't known
Warnings:
/home/broonie/build/linux-stable-rt/mm/swap.c:47:30: warning: 'swapvec_lock' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/mm/swap.c:46:30: warning: 'rotate_lock' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/kernel/workqueue.c:319:30: warning: 'pendingb_lock' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:74:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:74:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:74:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/fs/afs/cmservice.c:78:35: warning: 'afs_SRXCBProbeUuid' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/include/linux/ftrace.h:617:40: warning: calling '__builtin_return_address' with a nonzero argument is unsafe [-Wframe-address]
/home/broonie/build/linux-stable-rt/include/linux/ftrace.h:617:40: warning: calling '__builtin_return_address' with a nonzero argument is unsafe [-Wframe-address]
/home/broonie/build/linux-stable-rt/include/linux/ftrace.h:617:40: warning: calling '__builtin_return_address' with a nonzero argument is unsafe [-Wframe-address]
/home/broonie/build/linux-stable-rt/include/linux/ftrace.h:618:40: warning: calling '__builtin_return_address' with a nonzero argument is unsafe [-Wframe-address]
/home/broonie/build/linux-stable-rt/include/linux/ftrace.h:617:40: warning: calling '__builtin_return_address' with a nonzero argument is unsafe [-Wframe-address]
/home/broonie/build/linux-stable-rt/kernel/modsign_pubkey.c:28:30: warning: 'annoy_ccache' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/cs42l73.c:383:38: warning: 'xsp_output_mux' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/cs42l73.c:380:38: warning: 'vsp_output_mux' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/net/caif/cfpkt_skbuff.c:296:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/max98090.c:2354:12: warning: 'max98090_runtime_suspend' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/max98090.c:2341:12: warning: 'max98090_runtime_resume' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/max98090.c:868:30: warning: 'max98090_pa2en_enum' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/max98090.c:864:30: warning: 'max98090_pa1en_enum' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/max98090.c:389:35: warning: 'max98090_alc_tlv' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/max98090.c:387:35: warning: 'max98090_sidetone_tlv' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/ml26124.c:71:35: warning: 'ngth' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/tlv320aic23.c:56:30: warning: 'tlv320aic23_rec_src' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8737.c:116:30: warning: 'high_3d' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/dma/amba-pl08x.c:848:31: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
/home/broonie/build/linux-stable-rt/drivers/dma/amba-pl08x.c:848:31: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
/home/broonie/build/linux-stable-rt/drivers/dma/amba-pl08x.c:920:5: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=]
/home/broonie/build/linux-stable-rt/net/core/skbuff.c:343:30: warning: 'netdev_alloc_lock' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8900.c:451:38: warning: 'wm8900_dapm_routput2_control' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8900.c:448:38: warning: 'wm8900_dapm_loutput2_control' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/dma/pl330.c:2058:5: warning: passing argument 3 of 'dma_alloc_coherent' from incompatible pointer type [-Wincompatible-pointer-types]
/home/broonie/build/linux-stable-rt/drivers/dma/pl330.c:2379:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8974.c:202:38: warning: 'wm8974_mic_boost_controls' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8974.c:198:38: warning: 'wm8974_aux_boost_controls' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8988.c:273:30: warning: 'wm8988_rline_enum' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8990.c:532:38: warning: 'wm8990_dapm_rxvoice_controls' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8990.c:126:35: warning: 'out_omix_tlv' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8990.c:118:35: warning: 'rec_mix_tlv' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:162:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8991.c:526:38: warning: 'wm8991_dapm_rxvoice_controls' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8991.c:126:27: warning: 'out_omix_tlv' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8991.c:106:27: warning: 'rec_mix_tlv' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/drivers/gpio/gpio-mcp23s08.c:622:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/fs/cifs/netmisc.c:133:40: warning: 'mapping_table_ERRHRD' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/net/core/rtnetlink.c:1142:32: warning: 'ifla_vf_policy' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/net/core/rtnetlink.c:1138:32: warning: 'ifla_vfinfo_policy' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/fs/cifs/cifsacl.c:43:30: warning: 'sid_user' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/net/core/net-sysfs.c:30:19: warning: 'fmt_long_hex' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/net/dcb/dcbnl.c:183:32: warning: 'dcbnl_ieee_app' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/net/ieee802154/6lowpan.c:89:17: warning: 'lowpan_unc_ctxconf' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/iio/adc/exynos_adc.c:111:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/drivers/iio/adc/ad7793.c:449:37: warning: 'ad7797_attribute_group' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
/home/broonie/build/linux-stable-rt/net/ipv4/tcp_ipv4.c:593:30: warning: 'tcp_sk_lock' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/input/keyboard/cros_ec_keyb.c:210:13: warning: 'cros_ec_keyb_clear_keyboard' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/net/ipv4/icmp.c:208:30: warning: 'icmp_sk_lock' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/mfd/tps65217.c:173:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/drivers/misc/bh1770glc.c:184:17: warning: 'prox_curr_ma' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/misc/apds990x.c:191:17: warning: 'ir_currents' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/net/mac80211/debugfs.c:70:23: warning: 'rate_ctrl_alg_ops' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/net/mac80211/debugfs_sta.c:35:37: warning: 'sta_aid_ops' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:162:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/smsc/smc91x.c:1899:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/fs/ncpfs/dir.c:854:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
/home/broonie/build/linux-stable-rt/drivers/regulator/pcap-regulator.c:93:27: warning: 'SW3_table' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/regulator/tps62360-regulator.c:364:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:162:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/net/netfilter/xt_recent.c:103:37: warning: 'recent_old_fops' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:41:18: warning: 'm2ThreshExt_off' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:40:18: warning: 'm1ThreshExt_off' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:39:18: warning: 'm2ThreshLowExt_off' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:38:18: warning: 'm1ThreshLowExt_off' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:37:18: warning: 'm2CountThrLow_off' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:36:18: warning: 'm2CountThr_off' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:35:18: warning: 'm2Thresh_off' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:34:18: warning: 'm1Thresh_off' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:33:18: warning: 'm2ThreshLow_off' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/ath/ath9k/ar9003_phy.c:32:18: warning: 'm1ThreshLow_off' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c:36:19: warning: 'brcmf_version' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c:526:19: warning: 'retry_limit' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/brcm80211/brcmsmac/phy/phytbl_lcn.c:1523:33: warning: 'dot11lcnphytbl_rx_gain_info_rev1' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/brcm80211/brcmsmac/phy/phytbl_n.c:9298:18: warning: 'papd_cal_scalars_tbl_core1_rev3' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/brcm80211/brcmsmac/phy/phytbl_n.c:9231:18: warning: 'papd_comp_epsilon_tbl_core1_rev3' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/brcm80211/brcmsmac/phy/phytbl_n.c:9164:18: warning: 'papd_cal_scalars_tbl_core0_rev3' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/brcm80211/brcmsmac/phy/phytbl_n.c:9097:18: warning: 'papd_comp_epsilon_tbl_core0_rev3' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/libertas_tf/main.c:30:19: warning: 'lbtf_driver_version' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/rtlwifi/efuse.c:38:31: warning: 'RTL8712_SDIO_EFUSE_TABLE' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/rtlwifi/efuse.c:34:17: warning: 'MAX_PGPKT_SIZE' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/net/packet/af_packet.c:3674:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
/home/broonie/build/linux-stable-rt/drivers/spi/spi-gpio.c:255:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/drivers/spi/spi-pl022.c:281:31: warning: large integer implicitly truncated to unsigned type [-Woverflow]
/home/broonie/build/linux-stable-rt/include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'resource_size_t {aka long long unsigned int}' [-Wformat=]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/ti/wlcore/spi.c:321:1: warning: the frame size of 8688 bytes is larger than 2048 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/net/sched/sch_choke.c:595:37: warning: 'choke_class_ops' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/include/linux/list.h:457:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
/home/broonie/build/linux-stable-rt/net/wireless/nl80211.c:417:1: warning: 'nl80211_wowlan_tcp_policy' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/net/wireless/nl80211.c:404:1: warning: 'nl80211_wowlan_policy' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/staging/panel/panel.c:1804:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
/home/broonie/build/linux-stable-rt/drivers/staging/iio/adc/ad7192.c:237:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:414:29: warning: 'seq_el_on' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:402:29: warning: 'seq_els_en' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:390:29: warning: 'seq_gls_en' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:378:29: warning: 'seq_sd_amp_en' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:366:29: warning: 'seq_gam_amp_en' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:356:29: warning: 'seq_vbl_amp_en' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:346:29: warning: 'seq_vbh_amp_en' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:334:29: warning: 'seq_vint_amp_en' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:324:29: warning: 'seq_vmos_amp_en' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:314:29: warning: 'seq_vgl_amp_en' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:304:29: warning: 'seq_vgh_amp_en' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:294:29: warning: 'seq_vreg1_amp_en' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:284:29: warning: 'seq_vl3_en' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:274:29: warning: 'seq_vci1_2nd_en' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:264:29: warning: 'seq_vl2_en' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:254:29: warning: 'seq_vl1_en' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:244:29: warning: 'seq_vci1_1st_en' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:212:29: warning: 'seq_pwr_ctrl' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:187:29: warning: 'seq_apon' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/ld9040.c:92:29: warning: 'seq_swreset' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/lms501kf03.c:100:28: warning: 'seq_sleep_in' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/lms501kf03.c:96:28: warning: 'seq_up_dn' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/s6e63m0.c:331:29: warning: 'seq_elvss_off' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/video/backlight/s6e63m0.c:317:29: warning: 'seq_acl_off' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/usb/gadget/gmidi.c:47:19: warning: 'shortname' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/usb/gadget/nokia.c:57:19: warning: 'product_nokia' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/usb/gadget/mv_udc_core.c:62:19: warning: 'driver_desc' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/usb/gadget/mv_u3d_core.c:39:19: warning: 'driver_desc' defined but not used [-Wunused-const-variable=]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:6: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:6: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/include/linux/spinlock.h:237:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
x86_64-defconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
-------------------------------------------------------------------------------
arm-allmodconfig : PASS, 0 errors, 56 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/arch/arm/mm/init.c:731:21: warning: passing argument 1 of 'free_reserved_area' makes integer from pointer without a cast [-Wint-conversion]
/home/broonie/build/linux-stable-rt/arch/arm/mm/init.c:731:35: warning: passing argument 2 of 'free_reserved_area' makes integer from pointer without a cast [-Wint-conversion]
/home/broonie/build/linux-stable-rt/arch/arm/mach-omap2/board-am3517crane.c:113:6: warning: unused variable 'ret' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/drivers/ata/pata_hpt366.c:377:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable-rt/drivers/ata/pata_hpt366.c:380:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable-rt/drivers/ata/pata_hpt366.c:383:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable-rt/kernel/auditfilter.c:426:3: warning: this decimal constant is unsigned only in ISO C90
/home/broonie/build/linux-stable-rt/include/linux/kernel.h:677:17: warning: comparison of distinct pointer types lacks a cast
/home/broonie/build/linux-stable-rt/drivers/block/mtip32xx/mtip32xx.c:2827:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/include/linux/clocksource.h:345:20: warning: comparison of distinct pointer types lacks a cast
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/drivers/gpu/drm/exynos/exynos_hdmi.c:1702:2: warning: ignoring return value of 'regulator_bulk_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/drivers/iommu/omap-iommu.c:1238:17: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'dma_addr_t {aka unsigned int}' [-Wformat=]
/home/broonie/build/linux-stable-rt/drivers/iommu/omap-iommu.c:1245:17: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'dma_addr_t {aka unsigned int}' [-Wformat=]
/home/broonie/build/linux-stable-rt/drivers/infiniband/hw/cxgb4/mem.c:79:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/drivers/infiniband/hw/nes/nes_hw.c:81:23: warning: 'nes_iwarp_state_str' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/drivers/infiniband/hw/nes/nes_hw.c:92:23: warning: 'nes_tcp_state_str' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
/home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
/home/broonie/build/linux-stable-rt/drivers/misc/lkdtm.c:276:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/mmc/host/tmio_mmc_pio.c:798:3: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/drivers/mtd/chips/cfi_cmdset_0020.c:654:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/amd/nmclan_cs.c:625:3: warning: 'pcmcia_request_exclusive_irq' is deprecated [-Wdeprecated-declarations]
/home/broonie/build/linux-stable-rt/drivers/media/platform/omap3isp/ispccp2.c:167:3: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/drivers/media/platform/coda.c:944:39: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/drivers/media/platform/coda.c:952:40: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/dec/tulip/winbond-840.c:911:2: warning: #warning Processor architecture undefined [-Wcpp]
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/neterion/vxge/vxge-main.c:2115:13: warning: 'adaptive_coalesce_tx_interrupts' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/neterion/vxge/vxge-main.c:2143:13: warning: 'adaptive_coalesce_rx_interrupts' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/sfc/selftest.c:389:9: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable-rt/net/sunrpc/xprtrdma/verbs.c:1774:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/pinctrl/pinctrl-bcm2835.c:1053:2: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/drivers/pinctrl/pinctrl-bcm2835.c:1036:3: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/drivers/power/ab8500_charger.c:1389:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/drivers/power/ab8500_charger.c:1558:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/drivers/power/pm2301_charger.c:725:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/drivers/power/twl4030_charger.c:192:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/iwlwifi/mvm/fw.c:90:64: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/iwlwifi/mvm/fw.c:90:64: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable-rt/drivers/scsi/pm8001/pm8001_init.c:427:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
/home/broonie/build/linux-stable-rt/drivers/scsi/aic7xxx_old.c:7901:5: warning: case value '257' not in enumerated type 'ahc_chip {aka enum <anonymous>}' [-Wswitch]
/home/broonie/build/linux-stable-rt/drivers/scsi/aic7xxx_old.c:7898:5: warning: case value '513' not in enumerated type 'ahc_chip {aka enum <anonymous>}' [-Wswitch]
/home/broonie/build/linux-stable-rt/drivers/scsi/aic7xxx_old.c:8517:5: warning: case value '257' not in enumerated type 'ahc_chip {aka enum <anonymous>}' [-Wswitch]
/home/broonie/build/linux-stable-rt/drivers/scsi/aic7xxx_old.c:8510:5: warning: case value '513' not in enumerated type 'ahc_chip {aka enum <anonymous>}' [-Wswitch]
/home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/drivers/video/aty/radeon_pm.c:1718:13: warning: 'radeon_reinitialize_M10' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/drivers/usb/host/xhci.c:3517:17: warning: unused variable 'dev' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/drivers/usb/host/xhci.c:3603:17: warning: unused variable 'dev' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/drivers/staging/sm7xxfb/sm7xxfb.c:117:19: warning: 'sm7xx_vga_setup' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/drivers/staging/vt6655/device_main.c:3257:1: warning: the frame size of 1864 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/staging/wlan-ng/prism2fw.c:795:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/staging/vt6655/iwctl.c:758:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/Documentation/misc-devices/mei/mei-amt-version.c:103:5: warning: 'acmd.fd' is used uninitialized in this function [-Wuninitialized]
-------------------------------------------------------------------------------
arm-allnoconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:6: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:6: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
-------------------------------------------------------------------------------
x86_64-allnoconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/mm/swap.c:47:30: warning: 'swapvec_lock' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/mm/swap.c:46:30: warning: 'rotate_lock' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/kernel/workqueue.c:319:30: warning: 'pendingb_lock' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/net/core/skbuff.c:343:30: warning: 'netdev_alloc_lock' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:162:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/net/core/rtnetlink.c:1142:32: warning: 'ifla_vf_policy' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/net/core/rtnetlink.c:1138:32: warning: 'ifla_vfinfo_policy' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/smsc/smc91x.c:1899:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/net/core/net-sysfs.c:30:19: warning: 'fmt_long_hex' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/net/packet/af_packet.c:3674:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
/home/broonie/build/linux-stable-rt/net/ipv4/tcp_ipv4.c:593:30: warning: 'tcp_sk_lock' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/net/ipv4/arp.c:152:31: warning: 'arp_broken_ops' defined but not used [-Wunused-const-variable=]
/home/broonie/build/linux-stable-rt/net/ipv4/icmp.c:208:30: warning: 'icmp_sk_lock' defined but not used [-Wunused-const-variable=]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
Tree/Branch: v3.18-rt
Git describe: v3.18.47-rt52-38-ge433cbc
Commit: e433cbc1fa Linux 3.18.48-rt53
Build Time: 59 min 6 sec
Passed: 9 / 9 (100.00 %)
Failed: 0 / 9 ( 0.00 %)
Errors: 0
Warnings: 35
Section Mismatches: 0
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
13 warnings 0 mismatches : arm64-allmodconfig
4 warnings 0 mismatches : arm-multi_v5_defconfig
7 warnings 0 mismatches : arm-multi_v7_defconfig
4 warnings 0 mismatches : x86_64-defconfig
30 warnings 0 mismatches : arm-allmodconfig
2 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Warnings Summary: 35
6 ../net/core/dev.c:2903:1: warning: no return statement in function returning non-void [-Wreturn-type]
6 ../drivers/tty/sysrq.c:956:33: warning: array subscript is above array bounds [-Warray-bounds]
6 ../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined
5 ../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined [-Wundef]
3 ../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined, evaluates to 0 [-Wundef]
2 ../include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
2 ../fs/nfs/nfs4proc.c:3062:10: warning: switch condition has boolean value [-Wswitch-bool]
2 ../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
2 ../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
1 ../include/uapi/linux/swab.h:13:15: warning: integer overflow in expression [-Woverflow]
1 ../include/linux/spinlock.h:253:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../include/linux/kernel.h:708:17: warning: comparison of distinct pointer types lacks a cast
1 ../fs/btrfs/extent_io.c:2166:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/usb/gadget/function/f_ncm.c:203:0: warning: "NCAPS" redefined
1 ../drivers/thermal/x86_pkg_temp_thermal.c:414:1: warning: no return statement in function returning non-void [-Wreturn-type]
1 ../drivers/staging/vt6655/device_main.c:2997:1: warning: the frame size of 1312 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/pci/host/pcie-xilinx.c:154:22: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
1 ../drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c:1478:8: warning: 'skb' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
1 ../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/iommu/intel-iommu.c:1749:25: warning: unused variable 'drhd' [-Wunused-variable]
1 ../drivers/infiniband/ulp/iser/iser_verbs.c:1206:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/infiniband/ulp/iser/iser_verbs.c:1201:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/infiniband/ulp/iser/iser_verbs.c:1175:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/infiniband/ulp/iser/iser_verbs.c:1174:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
1 ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
1 ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
1 ../arch/arm/mach-cns3xxx/pcie.c:313:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allmodconfig : PASS, 0 errors, 13 warnings, 0 section mismatches
Warnings:
../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined, evaluates to 0 [-Wundef]
../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined, evaluates to 0 [-Wundef]
../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
../net/core/dev.c:2903:1: warning: no return statement in function returning non-void [-Wreturn-type]
../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
../drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
../drivers/usb/gadget/function/f_ncm.c:203:0: warning: "NCAPS" redefined
../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
-------------------------------------------------------------------------------
arm-multi_v5_defconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined [-Wundef]
../net/core/dev.c:2903:1: warning: no return statement in function returning non-void [-Wreturn-type]
../drivers/tty/sysrq.c:956:33: warning: array subscript is above array bounds [-Warray-bounds]
../drivers/tty/sysrq.c:956:33: warning: array subscript is above array bounds [-Warray-bounds]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined [-Wundef]
../net/core/dev.c:2903:1: warning: no return statement in function returning non-void [-Wreturn-type]
../fs/nfs/nfs4proc.c:3062:10: warning: switch condition has boolean value [-Wswitch-bool]
../drivers/tty/sysrq.c:956:33: warning: array subscript is above array bounds [-Warray-bounds]
../drivers/tty/sysrq.c:956:33: warning: array subscript is above array bounds [-Warray-bounds]
../include/linux/spinlock.h:253:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
../drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c:1478:8: warning: 'skb' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
x86_64-defconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined [-Wundef]
../net/core/dev.c:2903:1: warning: no return statement in function returning non-void [-Wreturn-type]
../drivers/iommu/intel-iommu.c:1749:25: warning: unused variable 'drhd' [-Wunused-variable]
../drivers/thermal/x86_pkg_temp_thermal.c:414:1: warning: no return statement in function returning non-void [-Wreturn-type]
-------------------------------------------------------------------------------
arm-allmodconfig : PASS, 0 errors, 30 warnings, 0 section mismatches
Warnings:
../arch/arm/mach-cns3xxx/pcie.c:313:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined [-Wundef]
../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined [-Wundef]
../fs/btrfs/extent_io.c:2166:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../net/core/dev.c:2903:1: warning: no return statement in function returning non-void [-Wreturn-type]
../fs/nfs/nfs4proc.c:3062:10: warning: switch condition has boolean value [-Wswitch-bool]
../drivers/infiniband/ulp/iser/iser_verbs.c:1174:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/infiniband/ulp/iser/iser_verbs.c:1175:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/infiniband/ulp/iser/iser_verbs.c:1201:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/infiniband/ulp/iser/iser_verbs.c:1206:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined
../include/linux/kernel.h:708:17: warning: comparison of distinct pointer types lacks a cast
../include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
../include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/pci/host/pcie-xilinx.c:154:22: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined
../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined
../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined
../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined
../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined
../drivers/tty/sysrq.c:956:33: warning: array subscript is above array bounds [-Warray-bounds]
../drivers/tty/sysrq.c:956:33: warning: array subscript is above array bounds [-Warray-bounds]
../include/uapi/linux/swab.h:13:15: warning: integer overflow in expression [-Woverflow]
../drivers/staging/vt6655/device_main.c:2997:1: warning: the frame size of 1312 bytes is larger than 1024 bytes [-Wframe-larger-than=]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined, evaluates to 0 [-Wundef]
../net/core/dev.c:2903:1: warning: no return statement in function returning non-void [-Wreturn-type]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
x86_64-allnoconfig
arm64-allnoconfig
arm-allnoconfig
Hi,
The first patch fixes an issue and the other two do cleanups. I have run
hackbench with these patches and no regressions were noticed.
--
viresh
Viresh Kumar (3):
cpufreq: schedutil: move cached_raw_freq to struct sugov_policy
cpufreq: schedutil: Pass sg_policy to get_next_freq()
cpufreq: schedutil: remove redundant code from
sugov_next_freq_shared()
kernel/sched/cpufreq_schedutil.c | 37 +++++++++++++------------------------
1 file changed, 13 insertions(+), 24 deletions(-)
--
2.7.1.410.g6faf27b
Hi,
This series contains minor fixes/cleanups for thermal cooling drivers.
V1->V2:
- s/dev_warn/dev_err (Rafael)
- Two new patches to make similar (^^) change at other places
Viresh Kumar (5):
thermal: devfreq: Simplify expression
thermal: devfreq_cooling: Replace dev_warn with dev_err
thermal: devfreq: Check OPP for errors
thermal: cpu_cooling: Replace dev_warn with dev_err
thermal: cpu_cooling: Check OPP for errors
drivers/thermal/cpu_cooling.c | 19 +++++++++++++------
drivers/thermal/devfreq_cooling.c | 14 ++++++++++----
2 files changed, 23 insertions(+), 10 deletions(-)
--
2.7.1.410.g6faf27b