This is a note to let you know that I've just added the patch titled
coresight: Fixes coresight DT parse to get correct output port ID.
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
coresight-fixes-coresight-dt-parse-to-get-correct-output-port-id.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Mike Leach <mike.leach(a)linaro.org>
Date: Mon, 27 Mar 2017 11:09:33 -0600
Subject: coresight: Fixes coresight DT parse to get correct output port ID.
From: Mike Leach <mike.leach(a)linaro.org>
[ Upstream commit eeedc5421dd3b51de73e6106405c5c77f920f281 ]
Corrected to get the port numbering to allow programmable replicator driver
to operate correctly.
By convention, CoreSight devices number ports, not endpoints in
the .dts files:-
port {
reg<N>
endpoint {
}
}
Existing code read endpoint number - always 0x0, rather than the correct
port number.
Signed-off-by: Mike Leach <mike.leach(a)linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier(a)linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/hwtracing/coresight/of_coresight.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/hwtracing/coresight/of_coresight.c
+++ b/drivers/hwtracing/coresight/of_coresight.c
@@ -150,7 +150,7 @@ struct coresight_platform_data *of_get_c
continue;
/* The local out port number */
- pdata->outports[i] = endpoint.id;
+ pdata->outports[i] = endpoint.port;
/*
* Get a handle on the remote port and parent
Patches currently in stable-queue which might be from mike.leach(a)linaro.org are
queue-4.4/coresight-fixes-coresight-dt-parse-to-get-correct-output-port-id.patch
This is a note to let you know that I've just added the patch titled
braille-console: Fix value returned by _braille_console_setup
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
braille-console-fix-value-returned-by-_braille_console_setup.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Samuel Thibault <samuel.thibault(a)ens-lyon.org>
Date: Sun, 26 Mar 2017 22:47:36 +0200
Subject: braille-console: Fix value returned by _braille_console_setup
From: Samuel Thibault <samuel.thibault(a)ens-lyon.org>
[ Upstream commit 2ed2b8621be2708c0f6d61fe9841e9ad8b9753f0 ]
commit bbeddf52adc1 ("printk: move braille console support into
separate braille.[ch] files") introduced _braille_console_setup()
to outline the braille initialization code. There was however some
confusion over the value it was supposed to return. commit 2cfe6c4ac7ee
("printk: Fix return of braille_register_console()") tried to fix it
but failed to.
This fixes and documents the returned value according to the use
in printk.c: non-zero return means a parsing error, and thus this
console configuration should be ignored.
Signed-off-by: Samuel Thibault <samuel.thibault(a)ens-lyon.org>
Cc: Aleksey Makarov <aleksey.makarov(a)linaro.org>
Cc: Joe Perches <joe(a)perches.com>
Cc: Ming Lei <ming.lei(a)canonical.com>
Cc: Steven Rostedt <rostedt(a)goodmis.org>
Acked-by: Petr Mladek <pmladek(a)suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
kernel/printk/braille.c | 15 ++++++++-------
kernel/printk/braille.h | 13 ++++++++++---
2 files changed, 18 insertions(+), 10 deletions(-)
--- a/kernel/printk/braille.c
+++ b/kernel/printk/braille.c
@@ -2,12 +2,13 @@
#include <linux/kernel.h>
#include <linux/console.h>
+#include <linux/errno.h>
#include <linux/string.h>
#include "console_cmdline.h"
#include "braille.h"
-char *_braille_console_setup(char **str, char **brl_options)
+int _braille_console_setup(char **str, char **brl_options)
{
if (!strncmp(*str, "brl,", 4)) {
*brl_options = "";
@@ -15,14 +16,14 @@ char *_braille_console_setup(char **str,
} else if (!strncmp(*str, "brl=", 4)) {
*brl_options = *str + 4;
*str = strchr(*brl_options, ',');
- if (!*str)
+ if (!*str) {
pr_err("need port name after brl=\n");
- else
- *((*str)++) = 0;
- } else
- return NULL;
+ return -EINVAL;
+ }
+ *((*str)++) = 0;
+ }
- return *str;
+ return 0;
}
int
--- a/kernel/printk/braille.h
+++ b/kernel/printk/braille.h
@@ -9,7 +9,14 @@ braille_set_options(struct console_cmdli
c->brl_options = brl_options;
}
-char *
+/*
+ * Setup console according to braille options.
+ * Return -EINVAL on syntax error, 0 on success (or no braille option was
+ * actually given).
+ * Modifies str to point to the serial options
+ * Sets brl_options to the parsed braille options.
+ */
+int
_braille_console_setup(char **str, char **brl_options);
int
@@ -25,10 +32,10 @@ braille_set_options(struct console_cmdli
{
}
-static inline char *
+static inline int
_braille_console_setup(char **str, char **brl_options)
{
- return NULL;
+ return 0;
}
static inline int
Patches currently in stable-queue which might be from samuel.thibault(a)ens-lyon.org are
queue-4.4/braille-console-fix-value-returned-by-_braille_console_setup.patch
queue-4.4/staging-speakup-replace-bug_on-with-warn_on.patch
This is a note to let you know that I've just added the patch titled
clk: qcom: msm8916: fix mnd_width for codec_digcodec
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
clk-qcom-msm8916-fix-mnd_width-for-codec_digcodec.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Srinivas Kandagatla <srinivas.kandagatla(a)linaro.org>
Date: Wed, 6 Dec 2017 12:11:38 +0000
Subject: clk: qcom: msm8916: fix mnd_width for codec_digcodec
From: Srinivas Kandagatla <srinivas.kandagatla(a)linaro.org>
[ Upstream commit d8e488e8242ecf129eebc440c92d800a99ca109d ]
This patch fixes missing mnd_width for codec_digital clk, this is now set to
8 inline with datasheet.
Fixes: 3966fab8b6ab ("clk: qcom: Add MSM8916 Global Clock Controller support")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla(a)linaro.org>
Signed-off-by: Stephen Boyd <sboyd(a)codeaurora.org>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/clk/qcom/gcc-msm8916.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/clk/qcom/gcc-msm8916.c
+++ b/drivers/clk/qcom/gcc-msm8916.c
@@ -1437,6 +1437,7 @@ static const struct freq_tbl ftbl_codec_
static struct clk_rcg2 codec_digcodec_clk_src = {
.cmd_rcgr = 0x1c09c,
+ .mnd_width = 8,
.hid_width = 5,
.parent_map = gcc_xo_gpll1_emclk_sleep_map,
.freq_tbl = ftbl_codec_clk,
Patches currently in stable-queue which might be from srinivas.kandagatla(a)linaro.org are
queue-4.4/clk-qcom-msm8916-fix-mnd_width-for-codec_digcodec.patch
This is a note to let you know that I've just added the patch titled
bonding: refine bond_fold_stats() wrap detection
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
bonding-refine-bond_fold_stats-wrap-detection.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Eric Dumazet <edumazet(a)google.com>
Date: Wed, 29 Mar 2017 10:45:44 -0700
Subject: bonding: refine bond_fold_stats() wrap detection
From: Eric Dumazet <edumazet(a)google.com>
[ Upstream commit 142c6594acbcc32391af9c15f8cd65c6c177698f ]
Some device drivers reset their stats at down/up events, possibly
fooling bonding stats, since they operate with relative deltas.
It is nearly not possible to fix drivers, since some of them compute the
tx/rx counters based on per rx/tx queue stats, and the queues can be
reconfigured (ethtool -L) between the down/up sequence.
Lets avoid accumulating 'negative' values that render bonding stats
useless.
It is better to lose small deltas, assuming the bonding stats are
fetched at a reasonable frequency.
Fixes: 5f0c5f73e5ef ("bonding: make global bonding stats more reliable")
Signed-off-by: Eric Dumazet <edumazet(a)google.com>
Signed-off-by: David S. Miller <davem(a)davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/net/bonding/bond_main.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -3276,12 +3276,17 @@ static void bond_fold_stats(struct rtnl_
for (i = 0; i < sizeof(*_res) / sizeof(u64); i++) {
u64 nv = new[i];
u64 ov = old[i];
+ s64 delta = nv - ov;
/* detects if this particular field is 32bit only */
if (((nv | ov) >> 32) == 0)
- res[i] += (u32)nv - (u32)ov;
- else
- res[i] += nv - ov;
+ delta = (s64)(s32)((u32)nv - (u32)ov);
+
+ /* filter anomalies, some drivers reset their stats
+ * at down/up events.
+ */
+ if (delta > 0)
+ res[i] += delta;
}
}
Patches currently in stable-queue which might be from edumazet(a)google.com are
queue-4.4/selinux-check-for-address-length-in-selinux_socket_bind.patch
queue-4.4/bonding-refine-bond_fold_stats-wrap-detection.patch
This is a note to let you know that I've just added the patch titled
blk-throttle: make sure expire time isn't too big
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
blk-throttle-make-sure-expire-time-isn-t-too-big.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Shaohua Li <shli(a)fb.com>
Date: Mon, 27 Mar 2017 10:51:36 -0700
Subject: blk-throttle: make sure expire time isn't too big
From: Shaohua Li <shli(a)fb.com>
[ Upstream commit 06cceedcca67a93ac7f7aa93bbd9980c7496d14e ]
cgroup could be throttled to a limit but when all cgroups cross high
limit, queue enters a higher state and so the group should be throttled
to a higher limit. It's possible the cgroup is sleeping because of
throttle and other cgroups don't dispatch IO any more. In this case,
nobody can trigger current downgrade/upgrade logic. To fix this issue,
we could either set up a timer to wakeup the cgroup if other cgroups are
idle or make sure this cgroup doesn't sleep too long. Setting up a timer
means we must change the timer very frequently. This patch chooses the
latter. Making cgroup sleep time not too big wouldn't change cgroup
bps/iops, but could make it wakeup more frequently, which isn't a big
issue because throtl_slice * 8 is already quite big.
Signed-off-by: Shaohua Li <shli(a)fb.com>
Signed-off-by: Jens Axboe <axboe(a)fb.com>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
block/blk-throttle.c | 11 +++++++++++
1 file changed, 11 insertions(+)
--- a/block/blk-throttle.c
+++ b/block/blk-throttle.c
@@ -505,6 +505,17 @@ static void throtl_dequeue_tg(struct thr
static void throtl_schedule_pending_timer(struct throtl_service_queue *sq,
unsigned long expires)
{
+ unsigned long max_expire = jiffies + 8 * throtl_slice;
+
+ /*
+ * Since we are adjusting the throttle limit dynamically, the sleep
+ * time calculated according to previous limit might be invalid. It's
+ * possible the cgroup sleep time is very long and no other cgroups
+ * have IO running so notify the limit changes. Make sure the cgroup
+ * doesn't sleep too long to avoid the missed notification.
+ */
+ if (time_after(expires, max_expire))
+ expires = max_expire;
mod_timer(&sq->pending_timer, expires);
throtl_log(sq, "schedule timer. delay=%lu jiffies=%lu",
expires - jiffies, jiffies);
Patches currently in stable-queue which might be from shli(a)fb.com are
queue-4.4/md-raid6-fix-anomily-when-recovering-a-single-device-in-raid6.patch
queue-4.4/blk-throttle-make-sure-expire-time-isn-t-too-big.patch
This is a note to let you know that I've just added the patch titled
batman-adv: handle race condition for claims between gateways
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
batman-adv-handle-race-condition-for-claims-between-gateways.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Andreas Pape <APape(a)phoenixcontact.com>
Date: Mon, 5 Sep 2016 13:20:29 +0200
Subject: batman-adv: handle race condition for claims between gateways
From: Andreas Pape <APape(a)phoenixcontact.com>
[ Upstream commit a3a5129e122709306cfa6409781716c2933df99b ]
Consider the following situation which has been found in a test setup:
Gateway B has claimed client C and gateway A has the same backbone
network as B. C sends a broad- or multicast to B and directly after
this packet decides to send another packet to A due to a better TQ
value. B will forward the broad-/multicast into the backbone as it is
the responsible gw and after that A will claim C as it has been
chosen by C as the best gateway. If it now happens that A claims C
before it has received the broad-/multicast forwarded by B (due to
backbone topology or due to some delay in B when forwarding the
packet) we get a critical situation: in the current code A will
immediately unclaim C when receiving the multicast due to the
roaming client scenario although the position of C has not changed
in the mesh. If this happens the multi-/broadcast forwarded by B
will be sent back into the mesh by A and we have looping packets
until one of the gateways claims C again.
In order to prevent this, unclaiming of a client due to the roaming
client scenario is only done after a certain time is expired after
the last claim of the client. 100 ms are used here, which should be
slow enough for big backbones and slow gateways but fast enough not
to break the roaming client use case.
Acked-by: Simon Wunderlich <sw(a)simonwunderlich.de>
Signed-off-by: Andreas Pape <apape(a)phoenixcontact.com>
[sven(a)narfation.org: fix conflicts with current version]
Signed-off-by: Sven Eckelmann <sven(a)narfation.org>
Signed-off-by: Simon Wunderlich <sw(a)simonwunderlich.de>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
net/batman-adv/bridge_loop_avoidance.c | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
--- a/net/batman-adv/bridge_loop_avoidance.c
+++ b/net/batman-adv/bridge_loop_avoidance.c
@@ -1603,10 +1603,22 @@ int batadv_bla_tx(struct batadv_priv *ba
/* if yes, the client has roamed and we have
* to unclaim it.
*/
- batadv_handle_unclaim(bat_priv, primary_if,
- primary_if->net_dev->dev_addr,
- ethhdr->h_source, vid);
- goto allow;
+ if (batadv_has_timed_out(claim->lasttime, 100)) {
+ /* only unclaim if the last claim entry is
+ * older than 100 ms to make sure we really
+ * have a roaming client here.
+ */
+ batadv_dbg(BATADV_DBG_BLA, bat_priv, "bla_tx(): Roaming client %pM detected. Unclaim it.\n",
+ ethhdr->h_source);
+ batadv_handle_unclaim(bat_priv, primary_if,
+ primary_if->net_dev->dev_addr,
+ ethhdr->h_source, vid);
+ goto allow;
+ } else {
+ batadv_dbg(BATADV_DBG_BLA, bat_priv, "bla_tx(): Race for claim %pM detected. Drop packet.\n",
+ ethhdr->h_source);
+ goto handled;
+ }
}
/* check if it is a multicast/broadcast frame */
Patches currently in stable-queue which might be from APape(a)phoenixcontact.com are
queue-4.4/batman-adv-handle-race-condition-for-claims-between-gateways.patch
This is a note to let you know that I've just added the patch titled
ath10k: update tdls teardown state to target
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
ath10k-update-tdls-teardown-state-to-target.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Manikanta Pubbisetty <mpubbise(a)qti.qualcomm.com>
Date: Mon, 6 Nov 2017 13:39:31 +0530
Subject: ath10k: update tdls teardown state to target
From: Manikanta Pubbisetty <mpubbise(a)qti.qualcomm.com>
[ Upstream commit 424ea0d174e82365f85c6770225dba098b8f1d5f ]
It is required to update the teardown state of the peer when
a tdls link with that peer is terminated. This information is
useful for the target to perform some cleanups wrt the tdls peer.
Without proper cleanup, target assumes that the peer is connected and
blocks future connection requests, updating the teardown state of the
peer addresses the problem.
Tested this change on QCA9888 with 10.4-3.5.1-00018 fw version.
Signed-off-by: Manikanta Pubbisetty <mpubbise(a)qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo(a)qca.qualcomm.com>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/net/wireless/ath/ath10k/mac.c | 10 ++++++++++
1 file changed, 10 insertions(+)
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -5497,6 +5497,16 @@ static int ath10k_sta_state(struct ieee8
"mac vdev %d peer delete %pM (sta gone)\n",
arvif->vdev_id, sta->addr);
+ if (sta->tdls) {
+ ret = ath10k_mac_tdls_peer_update(ar, arvif->vdev_id,
+ sta,
+ WMI_TDLS_PEER_STATE_TEARDOWN);
+ if (ret)
+ ath10k_warn(ar, "failed to update tdls peer state for %pM state %d: %i\n",
+ sta->addr,
+ WMI_TDLS_PEER_STATE_TEARDOWN, ret);
+ }
+
ret = ath10k_peer_delete(ar, arvif->vdev_id, sta->addr);
if (ret)
ath10k_warn(ar, "failed to delete peer %pM for vdev %d: %i\n",
Patches currently in stable-queue which might be from mpubbise(a)qti.qualcomm.com are
queue-4.4/ath10k-update-tdls-teardown-state-to-target.patch
This is a note to let you know that I've just added the patch titled
ath10k: fix invalid STS_CAP_OFFSET_MASK
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
ath10k-fix-invalid-sts_cap_offset_mask.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Ben Greear <greearb(a)candelatech.com>
Date: Sat, 2 Dec 2017 16:50:49 +0200
Subject: ath10k: fix invalid STS_CAP_OFFSET_MASK
From: Ben Greear <greearb(a)candelatech.com>
[ Upstream commit 8cec57f5277ef0e354e37a0bf909dc71bc1f865b ]
The 10.4 firmware defines this as a 3-bit field, as does the
mac80211 stack. The 4th bit is defined as CONF_IMPLICIT_BF
at least in the firmware header I have seen. This patch
fixes the ath10k wmi header to match the firmware.
Signed-off-by: Ben Greear <greearb(a)candelatech.com>
Signed-off-by: Kalle Valo <kvalo(a)qca.qualcomm.com>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/net/wireless/ath/ath10k/wmi.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/drivers/net/wireless/ath/ath10k/wmi.h
+++ b/drivers/net/wireless/ath/ath10k/wmi.h
@@ -4826,7 +4826,8 @@ enum wmi_10_4_vdev_param {
#define WMI_VDEV_PARAM_TXBF_MU_TX_BFER BIT(3)
#define WMI_TXBF_STS_CAP_OFFSET_LSB 4
-#define WMI_TXBF_STS_CAP_OFFSET_MASK 0xf0
+#define WMI_TXBF_STS_CAP_OFFSET_MASK 0x70
+#define WMI_TXBF_CONF_IMPLICIT_BF BIT(7)
#define WMI_BF_SOUND_DIM_OFFSET_LSB 8
#define WMI_BF_SOUND_DIM_OFFSET_MASK 0xf00
Patches currently in stable-queue which might be from greearb(a)candelatech.com are
queue-4.4/ath10k-fix-invalid-sts_cap_offset_mask.patch
This is a note to let you know that I've just added the patch titled
ath10k: fix a warning during channel switch with multiple vaps
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
ath10k-fix-a-warning-during-channel-switch-with-multiple-vaps.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Mohammed Shafi Shajakhan <mohammed(a)qti.qualcomm.com>
Date: Wed, 8 Mar 2017 13:52:06 +0200
Subject: ath10k: fix a warning during channel switch with multiple vaps
From: Mohammed Shafi Shajakhan <mohammed(a)qti.qualcomm.com>
[ Upstream commit c73f8c00330f59ce9b1ace9ff698aca83390d358 ]
Doing a channel switch via hostapd_cli seems to update
the new channel context for each VAP's appropriately as below
in 'ath10k_mac_update_vif_chan', hence we can safely suppress the
warning that shows up during this operation and dump the warning only
if no vaps are available for channel switch
hostapd_cli -i wlan0 chan_switch 5 5200
OK
ath10k_pci : mac chanctx switch n_vifs 3 mode 1
ath10k_pci : mac chanctx switch vdev_id 2 freq 5180->5200 width 0->0
ath10k_pci : mac chanctx switch vdev_id 1 freq 5180->5200 width 0->0
ath10k_pci : mac chanctx switch vdev_id 0 freq 5180->5200 width 0->0
Call Trace:
WARNING: backports-20161201-3.14.77-9ab3068/drivers/net/wireless/ath/ath10k/mac.c:7126
[<c022f2d4>] (warn_slowpath_null) from [<bf7f150c>]
(ath10k_reconfig_complete+0xe4/0x25c [ath10k_core])
[<bf7f150c>] (ath10k_reconfig_complete [ath10k_core])
[<bf7f35f0>] (ath10k_mac_vif_ap_csa_work+0x214/0x370 [ath10k_core])
[<bf7f38b8>] (ath10k_mac_op_change_chanctx+0x108/0x128 [ath10k_core])
[<bf782ac0>] (ieee80211_recalc_chanctx_min_def+0x30c/0x430 [mac80211])
[<bf7830a4>] (ieee80211_recalc_smps_chanctx+0x2ec/0x840 [mac80211])
[<bf7843e8>] (ieee80211_vif_use_reserved_context+0x7c/0xf8 [mac80211])
[<bf7843e8>] (ieee80211_vif_use_reserved_context [mac80211])
[<bf76e5d4>] (ieee80211_csa_finalize_work+0x5c/0x88 [mac80211])
Fixes: d7bf4b4aba05 ("ath10k: fix ar->rx_channel updating logic")
Signed-off-by: Mohammed Shafi Shajakhan <mohammed(a)qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo(a)qca.qualcomm.com>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/net/wireless/ath/ath10k/mac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -6427,7 +6427,7 @@ ath10k_mac_update_rx_channel(struct ath1
lockdep_assert_held(&ar->data_lock);
WARN_ON(ctx && vifs);
- WARN_ON(vifs && n_vifs != 1);
+ WARN_ON(vifs && !n_vifs);
/* FIXME: Sort of an optimization and a workaround. Peers and vifs are
* on a linked list now. Doing a lookup peer -> vif -> chanctx for each
Patches currently in stable-queue which might be from mohammed(a)qti.qualcomm.com are
queue-4.4/ath10k-fix-a-warning-during-channel-switch-with-multiple-vaps.patch
queue-4.4/ath10k-disallow-dfs-simulation-if-dfs-channel-is-not-enabled.patch
This is a note to let you know that I've just added the patch titled
ath10k: disallow DFS simulation if DFS channel is not enabled
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
ath10k-disallow-dfs-simulation-if-dfs-channel-is-not-enabled.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Mohammed Shafi Shajakhan <mohammed(a)qti.qualcomm.com>
Date: Wed, 22 Feb 2017 21:03:11 +0530
Subject: ath10k: disallow DFS simulation if DFS channel is not enabled
From: Mohammed Shafi Shajakhan <mohammed(a)qti.qualcomm.com>
[ Upstream commit ca07baab0b1e627ae1d4a55d190fb1c9d32a3445 ]
If DFS is not enabled in hostapd (ieee80211h=0) DFS channels shall
not be available for use even though the hardware may have the capability
to support DFS. With this configuration (DFS disabled in hostapd) trying to
bring up ath10k device in DFS channel for AP mode fails and trying to
simulate DFS in ath10k debugfs results in a warning in cfg80211 complaining
invalid channel and this should be avoided in the driver itself rather than
false propogating RADAR detection to mac80211/cfg80211. Fix this by
checking for the first vif 'is_started' state(should work for client mode
as well) as all the vifs shall be configured for the same channel
sys/kernel/debug/ieee80211/phy1/ath10k# echo 1 > dfs_simulate_radar
WARNING: at net/wireless/chan.c:265 cfg80211_radar_event+0x24/0x60
Workqueue: phy0 ieee80211_dfs_radar_detected_work [mac80211]
[<c022f2d4>] (warn_slowpath_null) from
[<bf72dab8>] (cfg80211_radar_event+0x24/0x60 [cfg80211])
[<bf72dab8>] (cfg80211_radar_event [cfg80211]) from
[<bf7813e0>] (ieee80211_dfs_radar_detected_work+0x94/0xa0 [mac80211])
[<bf7813e0>] (ieee80211_dfs_radar_detected_work [mac80211]) from
[<c0242320>] (process_one_work+0x20c/0x32c)
WARNING: at net/wireless/nl80211.c:2488 nl80211_get_mpath+0x13c/0x4cc
Workqueue: phy0 ieee80211_dfs_radar_detected_work [mac80211]
[<c022f2d4>] (warn_slowpath_null) from
[<bf72dab8>] (cfg80211_radar_event+0x24/0x60 [cfg80211])
[<bf72dab8>] (cfg80211_radar_event [cfg80211]) from
[<bf7813e0>] (ieee80211_dfs_radar_detected_work+0x94/0xa0 [mac80211])
[<bf7813e0>] (ieee80211_dfs_radar_detected_work [mac80211]) from
[<c0242320>] (process_one_work+0x20c/0x32c)
Signed-off-by: Mohammed Shafi Shajakhan <mohammed(a)qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo(a)qca.qualcomm.com>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/net/wireless/ath/ath10k/debug.c | 9 +++++++++
1 file changed, 9 insertions(+)
--- a/drivers/net/wireless/ath/ath10k/debug.c
+++ b/drivers/net/wireless/ath/ath10k/debug.c
@@ -1892,6 +1892,15 @@ static ssize_t ath10k_write_simulate_rad
size_t count, loff_t *ppos)
{
struct ath10k *ar = file->private_data;
+ struct ath10k_vif *arvif;
+
+ /* Just check for for the first vif alone, as all the vifs will be
+ * sharing the same channel and if the channel is disabled, all the
+ * vifs will share the same 'is_started' state.
+ */
+ arvif = list_first_entry(&ar->arvifs, typeof(*arvif), list);
+ if (!arvif->is_started)
+ return -EINVAL;
ieee80211_radar_detected(ar->hw);
Patches currently in stable-queue which might be from mohammed(a)qti.qualcomm.com are
queue-4.4/ath10k-fix-a-warning-during-channel-switch-with-multiple-vaps.patch
queue-4.4/ath10k-disallow-dfs-simulation-if-dfs-channel-is-not-enabled.patch
This is a note to let you know that I've just added the patch titled
ASoC: nuc900: Fix a loop timeout test
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
asoc-nuc900-fix-a-loop-timeout-test.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Dan Carpenter <dan.carpenter(a)oracle.com>
Date: Sat, 9 Dec 2017 14:52:28 +0300
Subject: ASoC: nuc900: Fix a loop timeout test
From: Dan Carpenter <dan.carpenter(a)oracle.com>
[ Upstream commit 65a12b3aafed5fc59f4ce41b22b752b1729e6701 ]
We should be finishing the loop with timeout set to zero but because
this is a post-op we finish with timeout == -1.
Fixes: 1082e2703a2d ("ASoC: NUC900/audio: add nuc900 audio driver support")
Signed-off-by: Dan Carpenter <dan.carpenter(a)oracle.com>
Signed-off-by: Mark Brown <broonie(a)kernel.org>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
sound/soc/nuc900/nuc900-ac97.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/sound/soc/nuc900/nuc900-ac97.c
+++ b/sound/soc/nuc900/nuc900-ac97.c
@@ -67,7 +67,7 @@ static unsigned short nuc900_ac97_read(s
/* polling the AC_R_FINISH */
while (!(AUDIO_READ(nuc900_audio->mmio + ACTL_ACCON) & AC_R_FINISH)
- && timeout--)
+ && --timeout)
mdelay(1);
if (!timeout) {
@@ -121,7 +121,7 @@ static void nuc900_ac97_write(struct snd
/* polling the AC_W_FINISH */
while ((AUDIO_READ(nuc900_audio->mmio + ACTL_ACCON) & AC_W_FINISH)
- && timeout--)
+ && --timeout)
mdelay(1);
if (!timeout)
Patches currently in stable-queue which might be from dan.carpenter(a)oracle.com are
queue-4.4/media-cpia2-fix-a-couple-off-by-one-bugs.patch
queue-4.4/nfc-nfcmrvl-double-free-on-error-path.patch
queue-4.4/asoc-nuc900-fix-a-loop-timeout-test.patch
This is a note to let you know that I've just added the patch titled
ASoC: rcar: ssi: don't set SSICR.CKDV = 000 with SSIWSR.CONT
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
asoc-rcar-ssi-don-t-set-ssicr.ckdv-000-with-ssiwsr.cont.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Kuninori Morimoto <kuninori.morimoto.gx(a)renesas.com>
Date: Wed, 22 Mar 2017 04:02:43 +0000
Subject: ASoC: rcar: ssi: don't set SSICR.CKDV = 000 with SSIWSR.CONT
From: Kuninori Morimoto <kuninori.morimoto.gx(a)renesas.com>
[ Upstream commit 6b8530cc056efd4a11b034ca5b1e9f7e9563f553 ]
R-Car Datasheet is indicating "SSICR.CKDV = 000 is invalid when
SSIWSR.WS_MODE = 1 or SSIWSR.CONT = 1".
Current driver will set CONT, thus, we shouldn't use CKDV = 000.
This patch fixup it.
Reported-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx(a)renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx(a)renesas.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx(a)renesas.com>
Signed-off-by: Mark Brown <broonie(a)kernel.org>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
sound/soc/sh/rcar/ssi.c | 9 +++++++++
1 file changed, 9 insertions(+)
--- a/sound/soc/sh/rcar/ssi.c
+++ b/sound/soc/sh/rcar/ssi.c
@@ -143,6 +143,15 @@ static int rsnd_ssi_master_clk_start(str
for (j = 0; j < ARRAY_SIZE(ssi_clk_mul_table); j++) {
/*
+ * It will set SSIWSR.CONT here, but SSICR.CKDV = 000
+ * with it is not allowed. (SSIWSR.WS_MODE with
+ * SSICR.CKDV = 000 is not allowed either).
+ * Skip it. See SSICR.CKDV
+ */
+ if (j == 0)
+ continue;
+
+ /*
* this driver is assuming that
* system word is 64fs (= 2 x 32bit)
* see rsnd_ssi_init()
Patches currently in stable-queue which might be from kuninori.morimoto.gx(a)renesas.com are
queue-4.4/asoc-rcar-ssi-don-t-set-ssicr.ckdv-000-with-ssiwsr.cont.patch
This is a note to let you know that I've just added the patch titled
ARM: dts: r8a7791: Correct parent of SSI[0-9] clocks
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
arm-dts-r8a7791-correct-parent-of-ssi-clocks.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Geert Uytterhoeven <geert+renesas(a)glider.be>
Date: Mon, 3 Apr 2017 11:45:42 +0200
Subject: ARM: dts: r8a7791: Correct parent of SSI[0-9] clocks
From: Geert Uytterhoeven <geert+renesas(a)glider.be>
[ Upstream commit 16fe68dcab5702a024d85229ff7e98979cb701a5 ]
The SSI-ALL gate clock is located in between the P clock and the
individual SSI[0-9] clocks, hence the former should be listed as their
parent.
Fixes: ee9141522dcf13f8 ("ARM: shmobile: r8a7791: add MSTP10 support on DTSI")
Signed-off-by: Geert Uytterhoeven <geert+renesas(a)glider.be>
Signed-off-by: Simon Horman <horms+renesas(a)verge.net.au>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
arch/arm/boot/dts/r8a7791.dtsi | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -1374,8 +1374,11 @@
compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe6150998 0 4>, <0 0xe61509a8 0 4>;
clocks = <&p_clk>,
- <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
- <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
+ <&mstp10_clks R8A7791_CLK_SSI_ALL>, <&mstp10_clks R8A7791_CLK_SSI_ALL>,
+ <&mstp10_clks R8A7791_CLK_SSI_ALL>, <&mstp10_clks R8A7791_CLK_SSI_ALL>,
+ <&mstp10_clks R8A7791_CLK_SSI_ALL>, <&mstp10_clks R8A7791_CLK_SSI_ALL>,
+ <&mstp10_clks R8A7791_CLK_SSI_ALL>, <&mstp10_clks R8A7791_CLK_SSI_ALL>,
+ <&mstp10_clks R8A7791_CLK_SSI_ALL>, <&mstp10_clks R8A7791_CLK_SSI_ALL>,
<&p_clk>,
<&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
<&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
Patches currently in stable-queue which might be from geert+renesas(a)glider.be are
queue-4.4/arm-dts-r8a7791-correct-parent-of-ssi-clocks.patch
queue-4.4/arm-dts-koelsch-correct-clock-frequency-of-x2-du-clock-input.patch
queue-4.4/arm-dts-r8a7790-correct-parent-of-ssi-clocks.patch
This is a note to let you know that I've just added the patch titled
ARM: dts: r8a7790: Correct parent of SSI[0-9] clocks
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
arm-dts-r8a7790-correct-parent-of-ssi-clocks.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Geert Uytterhoeven <geert+renesas(a)glider.be>
Date: Mon, 3 Apr 2017 11:45:41 +0200
Subject: ARM: dts: r8a7790: Correct parent of SSI[0-9] clocks
From: Geert Uytterhoeven <geert+renesas(a)glider.be>
[ Upstream commit d13d4e063d4a08eb1686e890e9183dde709871bf ]
The SSI-ALL gate clock is located in between the P clock and the
individual SSI[0-9] clocks, hence the former should be listed as their
parent.
Fixes: bcde372254386872 ("ARM: shmobile: r8a7790: add MSTP10 support on DTSI")
Signed-off-by: Geert Uytterhoeven <geert+renesas(a)glider.be>
Signed-off-by: Simon Horman <horms+renesas(a)verge.net.au>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
arch/arm/boot/dts/r8a7790.dtsi | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -1360,8 +1360,11 @@
compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe6150998 0 4>, <0 0xe61509a8 0 4>;
clocks = <&p_clk>,
- <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
- <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
+ <&mstp10_clks R8A7790_CLK_SSI_ALL>, <&mstp10_clks R8A7790_CLK_SSI_ALL>,
+ <&mstp10_clks R8A7790_CLK_SSI_ALL>, <&mstp10_clks R8A7790_CLK_SSI_ALL>,
+ <&mstp10_clks R8A7790_CLK_SSI_ALL>, <&mstp10_clks R8A7790_CLK_SSI_ALL>,
+ <&mstp10_clks R8A7790_CLK_SSI_ALL>, <&mstp10_clks R8A7790_CLK_SSI_ALL>,
+ <&mstp10_clks R8A7790_CLK_SSI_ALL>, <&mstp10_clks R8A7790_CLK_SSI_ALL>,
<&p_clk>,
<&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
<&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
Patches currently in stable-queue which might be from geert+renesas(a)glider.be are
queue-4.4/arm-dts-r8a7791-correct-parent-of-ssi-clocks.patch
queue-4.4/arm-dts-koelsch-correct-clock-frequency-of-x2-du-clock-input.patch
queue-4.4/arm-dts-r8a7790-correct-parent-of-ssi-clocks.patch
This is a note to let you know that I've just added the patch titled
ARM: dts: omap3-n900: Fix the audio CODEC's reset pin
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
arm-dts-omap3-n900-fix-the-audio-codec-s-reset-pin.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: "Andrew F. Davis" <afd(a)ti.com>
Date: Wed, 29 Nov 2017 11:13:59 -0600
Subject: ARM: dts: omap3-n900: Fix the audio CODEC's reset pin
From: "Andrew F. Davis" <afd(a)ti.com>
[ Upstream commit 7be4b5dc7ffa9499ac6ef33a5ffa9ff43f9b7057 ]
The correct DT property for specifying a GPIO used for reset
is "reset-gpios", fix this here.
Fixes: 14e3e295b2b9 ("ARM: dts: omap3-n900: Add TLV320AIC3X support")
Signed-off-by: Andrew F. Davis <afd(a)ti.com>
Signed-off-by: Tony Lindgren <tony(a)atomide.com>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
arch/arm/boot/dts/omap3-n900.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -488,7 +488,7 @@
tlv320aic3x: tlv320aic3x@18 {
compatible = "ti,tlv320aic3x";
reg = <0x18>;
- gpio-reset = <&gpio2 28 GPIO_ACTIVE_HIGH>; /* 60 */
+ reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; /* 60 */
ai3x-gpio-func = <
0 /* AIC3X_GPIO1_FUNC_DISABLED */
5 /* AIC3X_GPIO2_FUNC_DIGITAL_MIC_INPUT */
@@ -505,7 +505,7 @@
tlv320aic3x_aux: tlv320aic3x@19 {
compatible = "ti,tlv320aic3x";
reg = <0x19>;
- gpio-reset = <&gpio2 28 GPIO_ACTIVE_HIGH>; /* 60 */
+ reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; /* 60 */
AVDD-supply = <&vmmc2>;
DRVDD-supply = <&vmmc2>;
Patches currently in stable-queue which might be from afd(a)ti.com are
queue-4.4/arm-dts-omap3-n900-fix-the-audio-codec-s-reset-pin.patch
queue-4.4/arm-dts-am335x-pepper-fix-the-audio-codec-s-reset-pin.patch
This is a note to let you know that I've just added the patch titled
ARM: dts: koelsch: Correct clock frequency of X2 DU clock input
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
arm-dts-koelsch-correct-clock-frequency-of-x2-du-clock-input.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Geert Uytterhoeven <geert+renesas(a)glider.be>
Date: Mon, 3 Apr 2017 11:55:19 +0200
Subject: ARM: dts: koelsch: Correct clock frequency of X2 DU clock input
From: Geert Uytterhoeven <geert+renesas(a)glider.be>
[ Upstream commit ebf06af55c7594ed1fc18469a5cddf911c40e687 ]
The X2 crystal oscillator on the Koelsch development board provides a
74.25 MHz clock, not a 148.5 MHz clock.
Fixes: cd21cb46e14aae3a ("ARM: shmobile: koelsch: Add DU external pixel clocks to DT")
Signed-off-by: Geert Uytterhoeven <geert+renesas(a)glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart(a)ideasonboard.com>
Tested-by: Niklas Söderlund <niklas.soderlund+renesas(a)ragnatech.se>
Signed-off-by: Simon Horman <horms+renesas(a)verge.net.au>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
arch/arm/boot/dts/r8a7791-koelsch.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -280,7 +280,7 @@
x2_clk: x2-clock {
compatible = "fixed-clock";
#clock-cells = <0>;
- clock-frequency = <148500000>;
+ clock-frequency = <74250000>;
};
x13_clk: x13-clock {
Patches currently in stable-queue which might be from geert+renesas(a)glider.be are
queue-4.4/arm-dts-r8a7791-correct-parent-of-ssi-clocks.patch
queue-4.4/arm-dts-koelsch-correct-clock-frequency-of-x2-du-clock-input.patch
queue-4.4/arm-dts-r8a7790-correct-parent-of-ssi-clocks.patch
This is a note to let you know that I've just added the patch titled
ARM: dts: exynos: Correct Trats2 panel reset line
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
arm-dts-exynos-correct-trats2-panel-reset-line.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Simon Shields <simon(a)lineageos.org>
Date: Tue, 21 Nov 2017 22:24:24 +1100
Subject: ARM: dts: exynos: Correct Trats2 panel reset line
From: Simon Shields <simon(a)lineageos.org>
[ Upstream commit 1b377924841df1e13ab5b225be3a83f807a92b52 ]
Trats2 uses gpf2-1 as the panel reset GPIO. gpy4-5 was only used
on early revisions of the board.
Fixes: 420ae8451a22 ("ARM: dts: exynos4412-trats2: add panel node")
Signed-off-by: Simon Shields <simon(a)lineageos.org>
Acked-by: Marek Szyprowski <m.szyprowski(a)samsung.com>
Tested-by: Marek Szyprowski <m.szyprowski(a)samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk(a)kernel.org>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
arch/arm/boot/dts/exynos4412-trats2.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/arm/boot/dts/exynos4412-trats2.dts
+++ b/arch/arm/boot/dts/exynos4412-trats2.dts
@@ -359,7 +359,7 @@
reg = <0>;
vdd3-supply = <&lcd_vdd3_reg>;
vci-supply = <&ldo25_reg>;
- reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>;
+ reset-gpios = <&gpf2 1 GPIO_ACTIVE_HIGH>;
power-on-delay= <50>;
reset-delay = <100>;
init-delay = <100>;
Patches currently in stable-queue which might be from simon(a)lineageos.org are
queue-4.4/arm-dts-exynos-correct-trats2-panel-reset-line.patch
This is a note to let you know that I've just added the patch titled
ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
arm-dts-am335x-pepper-fix-the-audio-codec-s-reset-pin.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: "Andrew F. Davis" <afd(a)ti.com>
Date: Wed, 29 Nov 2017 11:13:56 -0600
Subject: ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin
From: "Andrew F. Davis" <afd(a)ti.com>
[ Upstream commit e153db03c6b7a035c797bcdf35262586f003ee93 ]
The correct DT property for specifying a GPIO used for reset
is "reset-gpios", fix this here.
Fixes: 4341881d0562 ("ARM: dts: Add devicetree for Gumstix Pepper board")
Signed-off-by: Andrew F. Davis <afd(a)ti.com>
Signed-off-by: Tony Lindgren <tony(a)atomide.com>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
arch/arm/boot/dts/am335x-pepper.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/arm/boot/dts/am335x-pepper.dts
+++ b/arch/arm/boot/dts/am335x-pepper.dts
@@ -139,7 +139,7 @@
&audio_codec {
status = "okay";
- gpio-reset = <&gpio1 16 GPIO_ACTIVE_LOW>;
+ reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
AVDD-supply = <&ldo3_reg>;
IOVDD-supply = <&ldo3_reg>;
DRVDD-supply = <&ldo3_reg>;
Patches currently in stable-queue which might be from afd(a)ti.com are
queue-4.4/arm-dts-omap3-n900-fix-the-audio-codec-s-reset-pin.patch
queue-4.4/arm-dts-am335x-pepper-fix-the-audio-codec-s-reset-pin.patch
This is a note to let you know that I've just added the patch titled
ARM: DRA7: hwmod_data: Prevent wait_target_disable error for usb_otg_ss
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
arm-dra7-hwmod_data-prevent-wait_target_disable-error-for-usb_otg_ss.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Roger Quadros <rogerq(a)ti.com>
Date: Mon, 13 Mar 2017 13:53:16 +0200
Subject: ARM: DRA7: hwmod_data: Prevent wait_target_disable error for usb_otg_ss
From: Roger Quadros <rogerq(a)ti.com>
[ Upstream commit e2d54fe76997301b49311bde7ba8ef52b47896f9 ]
It seems that if L3_INIT clkdomain is kept in HW_AUTO while usb_otg_ss
is in use then there are random chances that the usb_otg_ss module
will fail to completely idle. i.e. IDLEST = 0x2 instead of 0x3.
Preventing L3_INIT from HW_AUTO while usb_otg_ss module is in use
fixes this issue.
We don't know yet if usb_otg_ss instances 3 and 4 are affected by this
issue or not so don't add this flag for those instances.
Cc: Tero Kristo <t-kristo(a)ti.com>
Signed-off-by: Roger Quadros <rogerq(a)ti.com>
Signed-off-by: Tony Lindgren <tony(a)atomide.com>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 2 ++
1 file changed, 2 insertions(+)
--- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
@@ -2240,6 +2240,7 @@ static struct omap_hwmod dra7xx_usb_otg_
.class = &dra7xx_usb_otg_ss_hwmod_class,
.clkdm_name = "l3init_clkdm",
.main_clk = "dpll_core_h13x2_ck",
+ .flags = HWMOD_CLKDM_NOAUTO,
.prcm = {
.omap4 = {
.clkctrl_offs = DRA7XX_CM_L3INIT_USB_OTG_SS1_CLKCTRL_OFFSET,
@@ -2261,6 +2262,7 @@ static struct omap_hwmod dra7xx_usb_otg_
.class = &dra7xx_usb_otg_ss_hwmod_class,
.clkdm_name = "l3init_clkdm",
.main_clk = "dpll_core_h13x2_ck",
+ .flags = HWMOD_CLKDM_NOAUTO,
.prcm = {
.omap4 = {
.clkctrl_offs = DRA7XX_CM_L3INIT_USB_OTG_SS2_CLKCTRL_OFFSET,
Patches currently in stable-queue which might be from rogerq(a)ti.com are
queue-4.4/arm-dra7-hwmod_data-prevent-wait_target_disable-error-for-usb_otg_ss.patch
This is a note to let you know that I've just added the patch titled
ALSA: firewire-digi00x: handle all MIDI messages on streaming packets
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
alsa-firewire-digi00x-handle-all-midi-messages-on-streaming-packets.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Takashi Sakamoto <o-takashi(a)sakamocchi.jp>
Date: Sun, 2 Apr 2017 23:48:25 +0900
Subject: ALSA: firewire-digi00x: handle all MIDI messages on streaming packets
From: Takashi Sakamoto <o-takashi(a)sakamocchi.jp>
[ Upstream commit 8820a4cf0cb4cd5c6540a9a18b2cedbdfd5a6891 ]
At a commit 9dc5d31cdceb ("ALSA: firewire-digi00x: handle MIDI messages in
isochronous packets"), a functionality to handle MIDI messages on
isochronous packet was supported. But this includes some of my
misunderstanding. This commit is to fix them.
For digi00x series, first data channel of data blocks in rx/tx packet
includes MIDI messages. The data channel has 0x80 in 8 bit of its MSB,
however it's against IEC 61883-6. Unique data format is applied:
- Upper 4 bits of LSB represent port number.
- 0x0: port 1.
- 0x2: port 2.
- 0xe: console port.
- Lower 4 bits of LSB represent the number of included MIDI message bytes;
0x0/0x1/0x2.
- Two bytes of middle of this data channel have MIDI bytes.
Especially, MIDI messages from/to console surface are also transferred by
isochronous packets, as well as physical MIDI ports.
Signed-off-by: Takashi Sakamoto <o-takashi(a)sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai(a)suse.de>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
sound/firewire/digi00x/amdtp-dot.c | 53 +++++++++++++++++++++++++------------
1 file changed, 36 insertions(+), 17 deletions(-)
--- a/sound/firewire/digi00x/amdtp-dot.c
+++ b/sound/firewire/digi00x/amdtp-dot.c
@@ -28,6 +28,9 @@
*/
#define MAX_MIDI_RX_BLOCKS 8
+/* 3 = MAX(DOT_MIDI_IN_PORTS, DOT_MIDI_OUT_PORTS) + 1. */
+#define MAX_MIDI_PORTS 3
+
/*
* The double-oh-three algorithm was discovered by Robin Gareus and Damien
* Zammit in 2012, with reverse-engineering for Digi 003 Rack.
@@ -42,10 +45,8 @@ struct amdtp_dot {
unsigned int pcm_channels;
struct dot_state state;
- unsigned int midi_ports;
- /* 2 = MAX(DOT_MIDI_IN_PORTS, DOT_MIDI_OUT_PORTS) */
- struct snd_rawmidi_substream *midi[2];
- int midi_fifo_used[2];
+ struct snd_rawmidi_substream *midi[MAX_MIDI_PORTS];
+ int midi_fifo_used[MAX_MIDI_PORTS];
int midi_fifo_limit;
void (*transfer_samples)(struct amdtp_stream *s,
@@ -124,8 +125,8 @@ int amdtp_dot_set_parameters(struct amdt
return -EBUSY;
/*
- * A first data channel is for MIDI conformant data channel, the rest is
- * Multi Bit Linear Audio data channel.
+ * A first data channel is for MIDI messages, the rest is Multi Bit
+ * Linear Audio data channel.
*/
err = amdtp_stream_set_parameters(s, rate, pcm_channels + 1);
if (err < 0)
@@ -135,11 +136,6 @@ int amdtp_dot_set_parameters(struct amdt
p->pcm_channels = pcm_channels;
- if (s->direction == AMDTP_IN_STREAM)
- p->midi_ports = DOT_MIDI_IN_PORTS;
- else
- p->midi_ports = DOT_MIDI_OUT_PORTS;
-
/*
* We do not know the actual MIDI FIFO size of most devices. Just
* assume two bytes, i.e., one byte can be received over the bus while
@@ -281,13 +277,25 @@ static void write_midi_messages(struct a
b = (u8 *)&buffer[0];
len = 0;
- if (port < p->midi_ports &&
+ if (port < MAX_MIDI_PORTS &&
midi_ratelimit_per_packet(s, port) &&
p->midi[port] != NULL)
len = snd_rawmidi_transmit(p->midi[port], b + 1, 2);
if (len > 0) {
- b[3] = (0x10 << port) | len;
+ /*
+ * Upper 4 bits of LSB represent port number.
+ * - 0000b: physical MIDI port 1.
+ * - 0010b: physical MIDI port 2.
+ * - 1110b: console MIDI port.
+ */
+ if (port == 2)
+ b[3] = 0xe0;
+ else if (port == 1)
+ b[3] = 0x20;
+ else
+ b[3] = 0x00;
+ b[3] |= len;
midi_use_bytes(s, port, len);
} else {
b[1] = 0;
@@ -309,11 +317,22 @@ static void read_midi_messages(struct am
for (f = 0; f < data_blocks; f++) {
b = (u8 *)&buffer[0];
- port = b[3] >> 4;
+
len = b[3] & 0x0f;
+ if (len > 0) {
+ /*
+ * Upper 4 bits of LSB represent port number.
+ * - 0000b: physical MIDI port 1. Use port 0.
+ * - 1110b: console MIDI port. Use port 2.
+ */
+ if (b[3] >> 4 > 0)
+ port = 2;
+ else
+ port = 0;
- if (port < p->midi_ports && p->midi[port] && len > 0)
- snd_rawmidi_receive(p->midi[port], b + 1, len);
+ if (port < MAX_MIDI_PORTS && p->midi[port])
+ snd_rawmidi_receive(p->midi[port], b + 1, len);
+ }
buffer += s->data_block_quadlets;
}
@@ -364,7 +383,7 @@ void amdtp_dot_midi_trigger(struct amdtp
{
struct amdtp_dot *p = s->protocol;
- if (port < p->midi_ports)
+ if (port < MAX_MIDI_PORTS)
ACCESS_ONCE(p->midi[port]) = midi;
}
Patches currently in stable-queue which might be from o-takashi(a)sakamocchi.jp are
queue-4.4/alsa-firewire-digi00x-handle-all-midi-messages-on-streaming-packets.patch
This is a note to let you know that I've just added the patch titled
agp/intel: Flush all chipset writes after updating the GGTT
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
agp-intel-flush-all-chipset-writes-after-updating-the-ggtt.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Mar 19 09:58:12 CET 2018
From: Chris Wilson <chris(a)chris-wilson.co.uk>
Date: Fri, 8 Dec 2017 21:46:16 +0000
Subject: agp/intel: Flush all chipset writes after updating the GGTT
From: Chris Wilson <chris(a)chris-wilson.co.uk>
[ Upstream commit 8516673a996870ea0ceb337ee4f83c33c5ec3111 ]
Before accessing the GGTT we must flush the PTE writes and make them
visible to the chipset, or else the indirect access may end up in the
wrong page. In commit 3497971a71d8 ("agp/intel: Flush chipset writes
after updating a single PTE"), we noticed corruption of the uploads for
pwrite and for capturing GPU error states, but it was presumed that the
explicit calls to intel_gtt_chipset_flush() were sufficient for the
execbuffer path. However, we have not been flushing the chipset between
the PTE writes and access via the GTT itself.
For simplicity, do the flush after any PTE update rather than try and
batch the flushes on a just-in-time basis.
References: 3497971a71d8 ("agp/intel: Flush chipset writes after updating a single PTE")
Signed-off-by: Chris Wilson <chris(a)chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin(a)intel.com>
Cc: Mika Kuoppala <mika.kuoppala(a)intel.com>
Cc: drm-intel-fixes(a)lists.freedesktop.org
Reviewed-by: Joonas Lahtinen <joonas.lahtinen(a)linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171208214616.30147-1-chris@…
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/char/agp/intel-gtt.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/char/agp/intel-gtt.c
+++ b/drivers/char/agp/intel-gtt.c
@@ -859,6 +859,8 @@ void intel_gtt_insert_sg_entries(struct
}
}
wmb();
+ if (intel_private.driver->chipset_flush)
+ intel_private.driver->chipset_flush();
}
EXPORT_SYMBOL(intel_gtt_insert_sg_entries);
Patches currently in stable-queue which might be from chris(a)chris-wilson.co.uk are
queue-4.4/drm-defer-disabling-the-vblank-irq-until-the-next-interrupt-for-instant-off.patch
queue-4.4/agp-intel-flush-all-chipset-writes-after-updating-the-ggtt.patch
This is a note to let you know that I've just added the patch titled
powerpc/xmon: Fix an unexpected xmon on/off state change
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
powerpc-xmon-fix-an-unexpected-xmon-on-off-state-change.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Sun Mar 18 16:55:33 CET 2018
From: Pan Xinhui <xinhui.pan(a)linux.vnet.ibm.com>
Date: Wed, 22 Mar 2017 16:27:49 -0300
Subject: powerpc/xmon: Fix an unexpected xmon on/off state change
From: Pan Xinhui <xinhui.pan(a)linux.vnet.ibm.com>
[ Upstream commit 3b5bf42b81d56085fd58692b5117f69aa77fdff7 ]
Once xmon is triggered by sysrq-x, it is enabled always afterwards even
if it is disabled during boot. This will cause a system reset interrupt
fail to dump. So keep xmon in its original state after exit.
We have several ways to set xmon on or off.
1) by a build config CONFIG_XMON_DEFAULT.
2) by a boot cmdline with xmon or xmon=early or xmon=on to enable xmon
and xmon=off to disable xmon. This value will override that in step 1.
3) by a debugfs interface, as proposed in this patchset.
And this value can override those in step 1 and 2.
Signed-off-by: Pan Xinhui <xinhui.pan(a)linux.vnet.ibm.com>
Signed-off-by: Guilherme G. Piccoli <gpiccoli(a)linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe(a)ellerman.id.au>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
arch/powerpc/xmon/xmon.c | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -74,6 +74,7 @@ static int xmon_gate;
#endif /* CONFIG_SMP */
static unsigned long in_xmon __read_mostly = 0;
+static int xmon_on = IS_ENABLED(CONFIG_XMON_DEFAULT);
static unsigned long adrs;
static int size = 1;
@@ -3244,6 +3245,8 @@ static void sysrq_handle_xmon(int key)
/* ensure xmon is enabled */
xmon_init(1);
debugger(get_irq_regs());
+ if (!xmon_on)
+ xmon_init(0);
}
static struct sysrq_key_op sysrq_xmon_op = {
@@ -3260,7 +3263,7 @@ static int __init setup_xmon_sysrq(void)
__initcall(setup_xmon_sysrq);
#endif /* CONFIG_MAGIC_SYSRQ */
-static int __initdata xmon_early, xmon_off;
+static int __initdata xmon_early;
static int __init early_parse_xmon(char *p)
{
@@ -3268,10 +3271,12 @@ static int __init early_parse_xmon(char
/* just "xmon" is equivalent to "xmon=early" */
xmon_init(1);
xmon_early = 1;
- } else if (strncmp(p, "on", 2) == 0)
+ xmon_on = 1;
+ } else if (strncmp(p, "on", 2) == 0) {
xmon_init(1);
- else if (strncmp(p, "off", 3) == 0)
- xmon_off = 1;
+ xmon_on = 1;
+ } else if (strncmp(p, "off", 3) == 0)
+ xmon_on = 0;
else if (strncmp(p, "nobt", 4) == 0)
xmon_no_auto_backtrace = 1;
else
@@ -3283,10 +3288,8 @@ early_param("xmon", early_parse_xmon);
void __init xmon_setup(void)
{
-#ifdef CONFIG_XMON_DEFAULT
- if (!xmon_off)
+ if (xmon_on)
xmon_init(1);
-#endif
if (xmon_early)
debugger(NULL);
}
Patches currently in stable-queue which might be from xinhui.pan(a)linux.vnet.ibm.com are
queue-4.9/powerpc-xmon-fix-an-unexpected-xmon-on-off-state-change.patch
Tree/Branch: v3.17.8
Git describe: v3.17.8
Commit: bc15d4627a Linux 3.17.8
Build Time: 27 min 11 sec
Passed: 3 / 10 ( 30.00 %)
Failed: 7 / 10 ( 70.00 %)
Errors: 12
Warnings: 179
Section Mismatches: 0
Failed defconfigs:
arm64-allmodconfig
arm-multi_v5_defconfig
arm-multi_v7_defconfig
x86_64-defconfig
arm-allmodconfig
x86_64-allnoconfig
x86_64-allmodconfig
Errors:
arm64-allmodconfig
/tmp/ccLMQ4NA.s:22: Error: .err encountered
/tmp/ccLMQ4NA.s:23: Error: .err encountered
/tmp/ccLMQ4NA.s:24: Error: .err encountered
/tmp/ccLMQ4NA.s:52: Error: .err encountered
/tmp/ccLMQ4NA.s:53: Error: .err encountered
/tmp/ccLMQ4NA.s:54: Error: .err encountered
arm-multi_v5_defconfig
../arch/arm/kernel/return_address.c:66:7: error: redefinition of 'return_address'
arm-multi_v7_defconfig
../arch/arm/kernel/return_address.c:66:7: error: redefinition of 'return_address'
x86_64-defconfig
../scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
../scripts/mod/devicetable-offsets.c:1:0: error: code model kernel does not support PIC mode
../kernel/bounds.c:1:0: error: code model kernel does not support PIC mode
arm-allmodconfig
../arch/arm/kernel/return_address.c:66:7: error: redefinition of 'return_address'
../drivers/scsi/qla2xxx/qla_nx2.c:1633:1: error: static declaration of 'qla8044_need_reset_handler' follows non-static declaration
x86_64-allnoconfig
../scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
../scripts/mod/devicetable-offsets.c:1:0: error: code model kernel does not support PIC mode
../kernel/bounds.c:1:0: error: code model kernel does not support PIC mode
x86_64-allmodconfig
../scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
../scripts/mod/devicetable-offsets.c:1:0: error: code model kernel does not support PIC mode
../include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc6.h: No such file or directory
../include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc6.h: No such file or directory
../include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc6.h: No such file or directory
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
3 warnings 0 mismatches : arm64-allnoconfig
85 warnings 0 mismatches : arm64-allmodconfig
13 warnings 0 mismatches : arm-multi_v5_defconfig
7 warnings 0 mismatches : arm-multi_v7_defconfig
242 warnings 0 mismatches : arm-allmodconfig
3 warnings 0 mismatches : arm-allnoconfig
3 warnings 0 mismatches : x86_64-allnoconfig
8 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 12
3 ../scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
3 ../scripts/mod/devicetable-offsets.c:1:0: error: code model kernel does not support PIC mode
3 ../include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc6.h: No such file or directory
3 ../arch/arm/kernel/return_address.c:66:7: error: redefinition of 'return_address'
2 ../kernel/bounds.c:1:0: error: code model kernel does not support PIC mode
1 /tmp/ccLMQ4NA.s:54: Error: .err encountered
1 /tmp/ccLMQ4NA.s:53: Error: .err encountered
1 /tmp/ccLMQ4NA.s:52: Error: .err encountered
1 /tmp/ccLMQ4NA.s:24: Error: .err encountered
1 /tmp/ccLMQ4NA.s:23: Error: .err encountered
1 /tmp/ccLMQ4NA.s:22: Error: .err encountered
1 ../drivers/scsi/qla2xxx/qla_nx2.c:1633:1: error: static declaration of 'qla8044_need_reset_handler' follows non-static declaration
Warnings Summary: 179
18 ../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
17 ../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
14 ../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
12 ../drivers/staging/rtl8192e/rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
6 ../scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
6 ../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_authentication_req' which is not static
6 ../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_association_req' which is not static
6 ../drivers/tty/sysrq.c:956:33: warning: array subscript is above array bounds [-Warray-bounds]
4 warning: (DRM_RADEON && DRM_NOUVEAU && DRM_I915 && DRM_GMA500 && DRM_SHMOBILE && DRM_TILCDC && FB_BACKLIGHT && FB_MX3 && USB_APPLEDISPLAY && FB_OLPC_DCON && ASUS_LAPTOP && SONY_LAPTOP && THINKPAD_ACPI && EEEPC_LAPTOP && ACPI_CMPC && SAMSUNG_Q10) selects BACKLIGHT_CLASS_DEVICE which has unmet direct dependencies (HAS_IOMEM && BACKLIGHT_LCD_SUPPORT)
4 ../mm/rmap.c:529:26: warning: '__vma_address' is static but used in inline function 'vma_address' which is not static
4 ../include/linux/blkdev.h:625:26: warning: switch condition has boolean value [-Wswitch-bool]
3 ../scripts/kconfig/menu.c:590:18: warning: 'jump' may be used uninitialized in this function [-Wmaybe-uninitialized]
3 ../lib/decompress_unlzo.c:82:6: warning: 'get_unaligned_be32' is static but used in inline function 'parse_header' which is not static
3 ../lib/decompress_unlzo.c:78:12: warning: 'get_unaligned_be16' is static but used in inline function 'parse_header' which is not static
3 ../lib/decompress_unlzo.c:72:19: warning: 'lzop_magic' is static but used in inline function 'parse_header' which is not static
3 ../include/uapi/linux/swab.h:117:2: warning: '__fswab32' is static but used in inline function 'qla24xx_build_scsi_iocbs' which is not static
3 ../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'softmac_ps_mgmt_xmit' which is not static
3 ../fs/nfs/nfs4proc.c:3066:10: warning: switch condition has boolean value [-Wswitch-bool]
3 ../fs/namespace.c:2712:6: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
3 ../fs/namespace.c:2712:6: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
2 ../net/netfilter/nft_reject.c:59:2: warning: enumeration value 'NFT_REJECT_TCP_RST' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_MARK' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_LABELS' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_LABELS' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_MARK' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_LABELS' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
2 ../net/netfilter/nft_compat.c:295:9: warning: switch condition has boolean value [-Wswitch-bool]
2 ../net/netfilter/nfnetlink_cthelper.c:97:9: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
2 ../net/bluetooth/hci_sock.c:980:8: warning: passing argument 2 of 'hci_test_bit' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
2 ../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_disauth_skb' which is not static
2 ../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_disassociate_skb' which is not static
2 ../include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
2 ../fs/namespace.c:2712:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
2 ../fs/namespace.c:2712:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
2 ../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/ldlm_lockd.c:74:9: warning: 'cfs_time_seconds' is static but used in inline function 'round_timeout' which is not static
2 ../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/ldlm_lockd.c:74:48: warning: 'cfs_time_sub' is static but used in inline function 'round_timeout' which is not static
2 ../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/ldlm_lockd.c:74:31: warning: 'cfs_duration_sec' is static but used in inline function 'round_timeout' which is not static
2 ../drivers/staging/lustre/lnet/selftest/rpc.c:1100:23: warning: 'cfs_time_add' is static but used in inline function 'srpc_add_client_rpc_timer' which is not static
2 ../drivers/staging/lustre/lnet/selftest/rpc.c:1097:2: warning: 'INIT_LIST_HEAD' is static but used in inline function 'srpc_add_client_rpc_timer' which is not static
2 ../drivers/md/md.c:6228:26: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
2 ../drivers/isdn/mISDN/layer2.c:702:2: warning: 'l2up_create' is static but used in inline function 'lapb_dl_release_l2l3' which is not static
2 ../drivers/isdn/mISDN/layer2.c:701:40: warning: 'l2_newid' is static but used in inline function 'lapb_dl_release_l2l3' which is not static
2 ../drivers/isdn/mISDN/layer2.c:701:3: warning: 'l2down_create' is static but used in inline function 'lapb_dl_release_l2l3' which is not static
2 ../drivers/isdn/mISDN/layer2.c:700:6: warning: 'test_bit' is static but used in inline function 'lapb_dl_release_l2l3' which is not static
2 ../drivers/isdn/mISDN/layer2.c:694:2: warning: 'l2up_create' is static but used in inline function 'st5_dl_release_l2l3' which is not static
2 ../drivers/isdn/mISDN/layer2.c:505:9: warning: 'test_bit' is static but used in inline function 'IsRNR' which is not static
2 ../drivers/isdn/mISDN/layer2.c:492:9: warning: 'test_bit' is static but used in inline function 'IsREJ' which is not static
2 ../drivers/isdn/mISDN/layer2.c:486:9: warning: 'test_bit' is static but used in inline function 'IsSABME' which is not static
2 ../drivers/isdn/mISDN/layer2.c:476:7: warning: 'test_bit' is static but used in inline function 'IsSFrame' which is not static
2 ../drivers/isdn/mISDN/layer2.c:465:6: warning: 'test_bit' is static but used in inline function 'IsRR' which is not static
2 ../drivers/isdn/mISDN/layer2.c:396:2: warning: 'clear_peer_busy' is static but used in inline function 'clear_exception' which is not static
2 ../drivers/isdn/mISDN/layer2.c:387:31: warning: 'test_bit' is static but used in inline function 'cansend' which is not static
2 ../drivers/isdn/mISDN/layer2.c:383:6: warning: 'test_bit' is static but used in inline function 'cansend' which is not static
2 ../drivers/isdn/mISDN/layer2.c:129:9: warning: 'test_bit' is static but used in inline function 'l2addrsize' which is not static
2 ../drivers/isdn/mISDN/layer2.c:123:4: warning: 'test_bit' is static but used in inline function 'l2headersize' which is not static
2 ../drivers/isdn/mISDN/layer2.c:122:11: warning: 'test_bit' is static but used in inline function 'l2headersize' which is not static
2 ../drivers/isdn/mISDN/layer2.c:1148:3: warning: 'enquiry_cr' is static but used in inline function 'transmit_enquiry' which is not static
2 ../drivers/isdn/mISDN/layer2.c:1146:3: warning: 'enquiry_cr' is static but used in inline function 'transmit_enquiry' which is not static
2 ../drivers/isdn/mISDN/layer2.c:1145:6: warning: 'test_bit' is static but used in inline function 'transmit_enquiry' which is not static
2 ../drivers/isdn/mISDN/layer2.c:1138:3: warning: 'enquiry_cr' is static but used in inline function 'enquiry_response' which is not static
2 ../drivers/isdn/mISDN/layer2.c:1136:3: warning: 'enquiry_cr' is static but used in inline function 'enquiry_response' which is not static
2 ../drivers/isdn/mISDN/layer2.c:1135:6: warning: 'test_bit' is static but used in inline function 'enquiry_response' which is not static
2 ../arch/arm/include/asm/io.h:197:18: warning: '__typesafe_io' is static but used in inline function 'writepcibridge' which is not static
2 ../arch/arm/include/asm/io.h:197:18: warning: '__typesafe_io' is static but used in inline function 'readpcibridge' which is not static
2 ../arch/arm/include/asm/barrier.h:45:30: warning: 'outer_sync' is static but used in inline function 'writepcibridge' which is not static
1 ../sound/soc/fsl/fsl_sai.c:337:7: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../sound/pci/oxygen/oxygen_mixer.c:91:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
1 ../net/rds/iw_rdma.c:200:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../include/uapi/linux/swab.h:13:15: warning: integer overflow in expression [-Woverflow]
1 ../include/uapi/linux/swab.h:117:2: warning: '__fswab32' is static but used in inline function 'writepcibridge' which is not static
1 ../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'writepcibridge' which is not static
1 ../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'readpcibridge' which is not static
1 ../include/scsi/scsi_cmnd.h:191:14: warning: 'scsi_sglist' is static but used in inline function 'qla24xx_build_scsi_iocbs' which is not static
1 ../include/linux/spinlock.h:333:24: warning: 'spinlock_check' is static but used in inline function 'megasas_return_cmd' which is not static
1 ../include/linux/kernel.h:709:17: warning: comparison of distinct pointer types lacks a cast
1 ../include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'sk_buff_data_t {aka unsigned char *}' [-Wformat=]
1 ../include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'sk_buff_data_t {aka unsigned char *}' [-Wformat=]
1 ../include/linux/etherdevice.h:181:33: warning: 'eth_random_addr' is static but used in inline function 'rtllib_randomize_cell' which is not static
1 ../drivers/staging/wlan-ng/prism2fw.c:792:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/staging/vt6655/device_main.c:3091:1: warning: the frame size of 1296 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/staging/rtl8192e/rtllib_tx.c:169:9: warning: 'RFC1042_OUI' is static but used in inline function 'rtllib_put_snap' which is not static
1 ../drivers/staging/rtl8192e/rtllib_tx.c:167:9: warning: 'P802_1H_OUI' is static but used in inline function 'rtllib_put_snap' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:805:2: warning: 'skb_reserve' is static but used in inline function 'rtllib_authentication_req' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:800:8: warning: 'dev_alloc_skb' is static but used in inline function 'rtllib_authentication_req' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:3521:2: warning: 'skb_reserve' is static but used in inline function 'rtllib_disassociate_skb' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:3516:8: warning: 'dev_alloc_skb' is static but used in inline function 'rtllib_disassociate_skb' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:3495:2: warning: 'skb_reserve' is static but used in inline function 'rtllib_disauth_skb' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:3491:8: warning: 'dev_alloc_skb' is static but used in inline function 'rtllib_disauth_skb' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:2366:4: warning: 'rtllib_rx_auth_rq' is static but used in inline function 'rtllib_rx_auth' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:2352:6: warning: 'rtllib_auth_challenge' is static but used in inline function 'rtllib_rx_auth' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:2350:6: warning: 'rtllib_associate_step2' is static but used in inline function 'rtllib_rx_auth' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:2312:14: warning: 'auth_parse' is static but used in inline function 'rtllib_rx_auth' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:2280:4: warning: 'rtllib_associate_complete' is static but used in inline function 'rtllib_rx_assoc_resp' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:2270:26: warning: 'kmalloc' is static but used in inline function 'rtllib_rx_assoc_resp' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:2234:6: warning: 'kzalloc' is static but used in inline function 'rtllib_rx_assoc_resp' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:2231:13: warning: 'assoc_parse' is static but used in inline function 'rtllib_rx_assoc_resp' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:1408:23: warning: 'kmalloc' is static but used in inline function 'rtllib_association_req' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:1375:3: warning: 'rtllib_WMM_Info' is static but used in inline function 'rtllib_association_req' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:1327:13: warning: 'CcxRmCapBuf' is static but declared in inline function 'rtllib_association_req' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:1307:13: warning: 'AironetIeOui' is static but declared in inline function 'rtllib_association_req' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:1256:2: warning: 'skb_reserve' is static but used in inline function 'rtllib_association_req' which is not static
1 ../drivers/staging/rtl8192e/rtllib_softmac.c:1251:8: warning: 'dev_alloc_skb' is static but used in inline function 'rtllib_association_req' which is not static
1 ../drivers/staging/rtl8192e/rtllib.h:88:41: warning: 'queue_delayed_work' is static but used in inline function 'rtllib_rx_deauth' which is not static
1 ../drivers/staging/rtl8192e/rtllib.h:88:41: warning: 'queue_delayed_work' is static but used in inline function 'rtllib_rx_assoc_resp' which is not static
1 ../drivers/staging/dgnc/dgnc_tty.c:572:1: warning: the frame size of 1048 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/scsi/qla2xxx/qla_iocb.c:779:15: warning: 'qla2x00_prep_cont_type1_iocb' is static but used in inline function 'qla24xx_build_scsi_iocbs' which is not static
1 ../drivers/scsi/qla2xxx/qla_iocb.c:759:33: warning: 'scsi_bufflen' is static but used in inline function 'qla24xx_build_scsi_iocbs' which is not static
1 ../drivers/scsi/qla2xxx/qla_iocb.c:754:34: warning: 'scsi_bufflen' is static but used in inline function 'qla24xx_build_scsi_iocbs' which is not static
1 ../drivers/scsi/qla2xxx/qla_iocb.c:742:7: warning: 'scsi_bufflen' is static but used in inline function 'qla24xx_build_scsi_iocbs' which is not static
1 ../drivers/scsi/megaraid/megaraid_sas_base.c:245:2: warning: 'spin_unlock_irqrestore' is static but used in inline function 'megasas_return_cmd' which is not static
1 ../drivers/scsi/megaraid/megaraid_sas_base.c:243:2: warning: 'list_add_tail' is static but used in inline function 'megasas_return_cmd' which is not static
1 ../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
1 ../drivers/scsi/be2iscsi/be_main.c:3157:18: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
1 ../drivers/rtc/rtc-pcf8563.c:173:5: warning: 'pending' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
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/sfc/selftest.c:388:9: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
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/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
1 ../drivers/net/ethernet/amd/nmclan_cs.c:624:3: warning: 'pcmcia_request_exclusive_irq' is deprecated [-Wdeprecated-declarations]
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/isdn/hardware/mISDN/hfcmulti.c:1044:4: warning: 'hfcmulti_resync' is static but used in inline function 'plxsd_checksync' which is not static
1 ../drivers/isdn/hardware/mISDN/hfcmulti.c:1040:8: warning: 'debug' is static but used in inline function 'plxsd_checksync' which is not static
1 ../drivers/isdn/hardware/mISDN/hfcmulti.c:1039:7: warning: 'syncmaster' is static but used in inline function 'plxsd_checksync' which is not static
1 ../drivers/isdn/hardware/mISDN/hfcmulti.c:1036:4: warning: 'hfcmulti_resync' is static but used in inline function 'plxsd_checksync' which is not static
1 ../drivers/isdn/hardware/mISDN/hfcmulti.c:1032:8: warning: 'debug' is static but used in inline function 'plxsd_checksync' which is not static
1 ../drivers/isdn/hardware/mISDN/hfcmulti.c:1031:7: warning: 'syncmaster' is static but used in inline function 'plxsd_checksync' which is not static
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 ../drivers/ata/pata_hpt366.c:382:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
1 ../drivers/ata/pata_hpt366.c:379:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
1 ../drivers/ata/pata_hpt366.c:376:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
1 ../arch/arm/mach-cns3xxx/pcie.c:311:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../arch/arm/include/asm/io.h:254:30: warning: '__raw_readb' is static but used in inline function 'readpcibridge' which is not static
1 ../arch/arm/include/asm/io.h:251:33: warning: '__raw_writel' is static but used in inline function 'writepcibridge' which is not static
1 ../arch/arm/include/asm/io.h:249:33: warning: '__raw_writew' is static but used in inline function 'writepcibridge' which is not static
1 ../arch/arm/include/asm/io.h:249:33: warning: '__raw_writew' is static but used in inline function 'readpcibridge' which is not static
1 ../arch/arm/include/asm/barrier.h:45:30: warning: 'outer_sync' is static but used in inline function 'readpcibridge' which is not static
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
../fs/namespace.c:2712:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
../fs/namespace.c:2712:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
../mm/rmap.c:529:26: warning: '__vma_address' is static but used in inline function 'vma_address' which is not static
-------------------------------------------------------------------------------
arm64-allmodconfig : FAIL, 6 errors, 85 warnings, 0 section mismatches
Errors:
/tmp/ccLMQ4NA.s:22: Error: .err encountered
/tmp/ccLMQ4NA.s:23: Error: .err encountered
/tmp/ccLMQ4NA.s:24: Error: .err encountered
/tmp/ccLMQ4NA.s:52: Error: .err encountered
/tmp/ccLMQ4NA.s:53: Error: .err encountered
/tmp/ccLMQ4NA.s:54: Error: .err encountered
Warnings:
../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/bluetooth/hci_sock.c:980:8: warning: passing argument 2 of 'hci_test_bit' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
../lib/decompress_unlzo.c:82:6: warning: 'get_unaligned_be32' is static but used in inline function 'parse_header' which is not static
../lib/decompress_unlzo.c:78:12: warning: 'get_unaligned_be16' is static but used in inline function 'parse_header' which is not static
../lib/decompress_unlzo.c:72:19: warning: 'lzop_magic' is static but used in inline function 'parse_header' which is not static
../sound/soc/fsl/fsl_sai.c:337:7: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../net/netfilter/nfnetlink_cthelper.c:97:9: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
../fs/nfs/nfs4proc.c:3066:10: warning: switch condition has boolean value [-Wswitch-bool]
../net/netfilter/nft_compat.c:295:9: warning: switch condition has boolean value [-Wswitch-bool]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_MARK' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_LABELS' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_MARK' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_LABELS' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_LABELS' not handled in switch [-Wswitch]
../net/netfilter/nft_reject.c:59:2: warning: enumeration value 'NFT_REJECT_TCP_RST' not handled in switch [-Wswitch]
../drivers/isdn/mISDN/layer2.c:1148:3: warning: 'enquiry_cr' is static but used in inline function 'transmit_enquiry' which is not static
../drivers/isdn/mISDN/layer2.c:1146:3: warning: 'enquiry_cr' is static but used in inline function 'transmit_enquiry' which is not static
../drivers/isdn/mISDN/layer2.c:1145:6: warning: 'test_bit' is static but used in inline function 'transmit_enquiry' which is not static
../drivers/isdn/mISDN/layer2.c:1138:3: warning: 'enquiry_cr' is static but used in inline function 'enquiry_response' which is not static
../drivers/isdn/mISDN/layer2.c:1136:3: warning: 'enquiry_cr' is static but used in inline function 'enquiry_response' which is not static
../drivers/isdn/mISDN/layer2.c:1135:6: warning: 'test_bit' is static but used in inline function 'enquiry_response' which is not static
../drivers/isdn/mISDN/layer2.c:702:2: warning: 'l2up_create' is static but used in inline function 'lapb_dl_release_l2l3' which is not static
../drivers/isdn/mISDN/layer2.c:701:40: warning: 'l2_newid' is static but used in inline function 'lapb_dl_release_l2l3' which is not static
../drivers/isdn/mISDN/layer2.c:701:3: warning: 'l2down_create' is static but used in inline function 'lapb_dl_release_l2l3' which is not static
../drivers/isdn/mISDN/layer2.c:700:6: warning: 'test_bit' is static but used in inline function 'lapb_dl_release_l2l3' which is not static
../drivers/isdn/mISDN/layer2.c:694:2: warning: 'l2up_create' is static but used in inline function 'st5_dl_release_l2l3' which is not static
../drivers/isdn/mISDN/layer2.c:505:9: warning: 'test_bit' is static but used in inline function 'IsRNR' which is not static
../drivers/isdn/mISDN/layer2.c:492:9: warning: 'test_bit' is static but used in inline function 'IsREJ' which is not static
../drivers/isdn/mISDN/layer2.c:486:9: warning: 'test_bit' is static but used in inline function 'IsSABME' which is not static
../drivers/isdn/mISDN/layer2.c:476:7: warning: 'test_bit' is static but used in inline function 'IsSFrame' which is not static
../drivers/isdn/mISDN/layer2.c:465:6: warning: 'test_bit' is static but used in inline function 'IsRR' which is not static
../drivers/isdn/mISDN/layer2.c:396:2: warning: 'clear_peer_busy' is static but used in inline function 'clear_exception' which is not static
../drivers/isdn/mISDN/layer2.c:387:31: warning: 'test_bit' is static but used in inline function 'cansend' which is not static
../drivers/isdn/mISDN/layer2.c:383:6: warning: 'test_bit' is static but used in inline function 'cansend' which is not static
../drivers/isdn/mISDN/layer2.c:129:9: warning: 'test_bit' is static but used in inline function 'l2addrsize' which is not static
../drivers/isdn/mISDN/layer2.c:123:4: warning: 'test_bit' is static but used in inline function 'l2headersize' which is not static
../drivers/isdn/mISDN/layer2.c:122:11: warning: 'test_bit' is static but used in inline function 'l2headersize' which is not static
../drivers/md/md.c:6228:26: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
../include/linux/blkdev.h:625:26: warning: switch condition has boolean value [-Wswitch-bool]
../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
../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/staging/lustre/lnet/selftest/rpc.c:1100:23: warning: 'cfs_time_add' is static but used in inline function 'srpc_add_client_rpc_timer' which is not static
../drivers/staging/lustre/lnet/selftest/rpc.c:1097:2: warning: 'INIT_LIST_HEAD' is static but used in inline function 'srpc_add_client_rpc_timer' which is not static
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/ldlm_lockd.c:74:48: warning: 'cfs_time_sub' is static but used in inline function 'round_timeout' which is not static
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/ldlm_lockd.c:74:31: warning: 'cfs_duration_sec' is static but used in inline function 'round_timeout' which is not static
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/ldlm_lockd.c:74:9: warning: 'cfs_time_seconds' is static but used in inline function 'round_timeout' which is not static
-------------------------------------------------------------------------------
arm-multi_v5_defconfig : FAIL, 1 errors, 13 warnings, 0 section mismatches
Errors:
../arch/arm/kernel/return_address.c:66:7: error: redefinition of 'return_address'
Warnings:
warning: (DRM_RADEON && DRM_NOUVEAU && DRM_I915 && DRM_GMA500 && DRM_SHMOBILE && DRM_TILCDC && FB_BACKLIGHT && FB_MX3 && USB_APPLEDISPLAY && FB_OLPC_DCON && ASUS_LAPTOP && SONY_LAPTOP && THINKPAD_ACPI && EEEPC_LAPTOP && ACPI_CMPC && SAMSUNG_Q10) selects BACKLIGHT_CLASS_DEVICE which has unmet direct dependencies (HAS_IOMEM && BACKLIGHT_LCD_SUPPORT)
warning: (DRM_RADEON && DRM_NOUVEAU && DRM_I915 && DRM_GMA500 && DRM_SHMOBILE && DRM_TILCDC && FB_BACKLIGHT && FB_MX3 && USB_APPLEDISPLAY && FB_OLPC_DCON && ASUS_LAPTOP && SONY_LAPTOP && THINKPAD_ACPI && EEEPC_LAPTOP && ACPI_CMPC && SAMSUNG_Q10) selects BACKLIGHT_CLASS_DEVICE which has unmet direct dependencies (HAS_IOMEM && BACKLIGHT_LCD_SUPPORT)
warning: (DRM_RADEON && DRM_NOUVEAU && DRM_I915 && DRM_GMA500 && DRM_SHMOBILE && DRM_TILCDC && FB_BACKLIGHT && FB_MX3 && USB_APPLEDISPLAY && FB_OLPC_DCON && ASUS_LAPTOP && SONY_LAPTOP && THINKPAD_ACPI && EEEPC_LAPTOP && ACPI_CMPC && SAMSUNG_Q10) selects BACKLIGHT_CLASS_DEVICE which has unmet direct dependencies (HAS_IOMEM && BACKLIGHT_LCD_SUPPORT)
warning: (DRM_RADEON && DRM_NOUVEAU && DRM_I915 && DRM_GMA500 && DRM_SHMOBILE && DRM_TILCDC && FB_BACKLIGHT && FB_MX3 && USB_APPLEDISPLAY && FB_OLPC_DCON && ASUS_LAPTOP && SONY_LAPTOP && THINKPAD_ACPI && EEEPC_LAPTOP && ACPI_CMPC && SAMSUNG_Q10) selects BACKLIGHT_CLASS_DEVICE which has unmet direct dependencies (HAS_IOMEM && BACKLIGHT_LCD_SUPPORT)
../scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
../scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
../fs/namespace.c:2712:6: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
../fs/namespace.c:2712:6: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
../mm/rmap.c:529:26: warning: '__vma_address' is static but used in inline function 'vma_address' which is not static
../include/linux/blkdev.h:625:26: warning: switch condition has boolean value [-Wswitch-bool]
../drivers/rtc/rtc-pcf8563.c:173:5: warning: 'pending' may be used uninitialized in this function [-Wmaybe-uninitialized]
../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 : FAIL, 1 errors, 7 warnings, 0 section mismatches
Errors:
../arch/arm/kernel/return_address.c:66:7: error: redefinition of 'return_address'
Warnings:
../fs/namespace.c:2712:6: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
../fs/namespace.c:2712:6: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
../mm/rmap.c:529:26: warning: '__vma_address' is static but used in inline function 'vma_address' which is not static
../fs/nfs/nfs4proc.c:3066:10: warning: switch condition has boolean value [-Wswitch-bool]
../drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c:1478:8: warning: 'skb' may be used uninitialized in this function [-Wmaybe-uninitialized]
../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]
-------------------------------------------------------------------------------
x86_64-defconfig : FAIL, 3 errors, 0 warnings, 0 section mismatches
Errors:
../scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
../scripts/mod/devicetable-offsets.c:1:0: error: code model kernel does not support PIC mode
../kernel/bounds.c:1:0: error: code model kernel does not support PIC mode
-------------------------------------------------------------------------------
arm-allmodconfig : FAIL, 2 errors, 242 warnings, 0 section mismatches
Errors:
../arch/arm/kernel/return_address.c:66:7: error: redefinition of 'return_address'
../drivers/scsi/qla2xxx/qla_nx2.c:1633:1: error: static declaration of 'qla8044_need_reset_handler' follows non-static declaration
Warnings:
../arch/arm/mach-cns3xxx/pcie.c:311:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../mm/rmap.c:529:26: warning: '__vma_address' is static but used in inline function 'vma_address' which is not static
../drivers/ata/pata_hpt366.c:376:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
../drivers/ata/pata_hpt366.c:379:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
../drivers/ata/pata_hpt366.c:382:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
../include/linux/blkdev.h:625:26: warning: switch condition has boolean value [-Wswitch-bool]
../net/bluetooth/hci_sock.c:980:8: warning: passing argument 2 of 'hci_test_bit' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
../lib/decompress_unlzo.c:82:6: warning: 'get_unaligned_be32' is static but used in inline function 'parse_header' which is not static
../lib/decompress_unlzo.c:78:12: warning: 'get_unaligned_be16' is static but used in inline function 'parse_header' which is not static
../lib/decompress_unlzo.c:72:19: warning: 'lzop_magic' is static but used in inline function 'parse_header' which is not static
../sound/pci/oxygen/oxygen_mixer.c:91:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
../fs/nfs/nfs4proc.c:3066:10: warning: switch condition has boolean value [-Wswitch-bool]
../net/netfilter/nfnetlink_cthelper.c:97:9: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
../net/netfilter/nft_compat.c:295:9: warning: switch condition has boolean value [-Wswitch-bool]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_MARK' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_LABELS' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_MARK' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_LABELS' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
../net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_LABELS' not handled in switch [-Wswitch]
../net/netfilter/nft_reject.c:59:2: warning: enumeration value 'NFT_REJECT_TCP_RST' not handled in switch [-Wswitch]
../net/rds/iw_rdma.c:200:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../include/linux/kernel.h:709:17: warning: comparison of distinct pointer types lacks a cast
../drivers/isdn/hardware/mISDN/hfcmulti.c:1044:4: warning: 'hfcmulti_resync' is static but used in inline function 'plxsd_checksync' which is not static
../drivers/isdn/hardware/mISDN/hfcmulti.c:1040:8: warning: 'debug' is static but used in inline function 'plxsd_checksync' which is not static
../drivers/isdn/hardware/mISDN/hfcmulti.c:1039:7: warning: 'syncmaster' is static but used in inline function 'plxsd_checksync' which is not static
../drivers/isdn/hardware/mISDN/hfcmulti.c:1036:4: warning: 'hfcmulti_resync' is static but used in inline function 'plxsd_checksync' which is not static
../drivers/isdn/hardware/mISDN/hfcmulti.c:1032:8: warning: 'debug' is static but used in inline function 'plxsd_checksync' which is not static
../drivers/isdn/hardware/mISDN/hfcmulti.c:1031:7: warning: 'syncmaster' is static but used in inline function 'plxsd_checksync' which is not static
../arch/arm/include/asm/io.h:197:18: warning: '__typesafe_io' is static but used in inline function 'writepcibridge' which is not static
../include/uapi/linux/swab.h:117:2: warning: '__fswab32' is static but used in inline function 'writepcibridge' which is not static
../arch/arm/include/asm/io.h:251:33: warning: '__raw_writel' is static but used in inline function 'writepcibridge' which is not static
../arch/arm/include/asm/barrier.h:45:30: warning: 'outer_sync' is static but used in inline function 'writepcibridge' which is not static
../arch/arm/include/asm/io.h:197:18: warning: '__typesafe_io' is static but used in inline function 'writepcibridge' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'writepcibridge' which is not static
../arch/arm/include/asm/io.h:249:33: warning: '__raw_writew' is static but used in inline function 'writepcibridge' which is not static
../arch/arm/include/asm/barrier.h:45:30: warning: 'outer_sync' is static but used in inline function 'writepcibridge' which is not static
../arch/arm/include/asm/io.h:197:18: warning: '__typesafe_io' is static but used in inline function 'readpcibridge' which is not static
../arch/arm/include/asm/io.h:254:30: warning: '__raw_readb' is static but used in inline function 'readpcibridge' which is not static
../arch/arm/include/asm/io.h:197:18: warning: '__typesafe_io' is static but used in inline function 'readpcibridge' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'readpcibridge' which is not static
../arch/arm/include/asm/io.h:249:33: warning: '__raw_writew' is static but used in inline function 'readpcibridge' which is not static
../arch/arm/include/asm/barrier.h:45:30: warning: 'outer_sync' is static but used in inline function 'readpcibridge' which is not static
../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/md/md.c:6228:26: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
../drivers/isdn/mISDN/layer2.c:1148:3: warning: 'enquiry_cr' is static but used in inline function 'transmit_enquiry' which is not static
../drivers/isdn/mISDN/layer2.c:1146:3: warning: 'enquiry_cr' is static but used in inline function 'transmit_enquiry' which is not static
../drivers/isdn/mISDN/layer2.c:1145:6: warning: 'test_bit' is static but used in inline function 'transmit_enquiry' which is not static
../drivers/isdn/mISDN/layer2.c:1138:3: warning: 'enquiry_cr' is static but used in inline function 'enquiry_response' which is not static
../drivers/isdn/mISDN/layer2.c:1136:3: warning: 'enquiry_cr' is static but used in inline function 'enquiry_response' which is not static
../drivers/isdn/mISDN/layer2.c:1135:6: warning: 'test_bit' is static but used in inline function 'enquiry_response' which is not static
../drivers/isdn/mISDN/layer2.c:702:2: warning: 'l2up_create' is static but used in inline function 'lapb_dl_release_l2l3' which is not static
../drivers/isdn/mISDN/layer2.c:701:40: warning: 'l2_newid' is static but used in inline function 'lapb_dl_release_l2l3' which is not static
../drivers/isdn/mISDN/layer2.c:701:3: warning: 'l2down_create' is static but used in inline function 'lapb_dl_release_l2l3' which is not static
../drivers/isdn/mISDN/layer2.c:700:6: warning: 'test_bit' is static but used in inline function 'lapb_dl_release_l2l3' which is not static
../drivers/isdn/mISDN/layer2.c:694:2: warning: 'l2up_create' is static but used in inline function 'st5_dl_release_l2l3' which is not static
../drivers/isdn/mISDN/layer2.c:505:9: warning: 'test_bit' is static but used in inline function 'IsRNR' which is not static
../drivers/isdn/mISDN/layer2.c:492:9: warning: 'test_bit' is static but used in inline function 'IsREJ' which is not static
../drivers/isdn/mISDN/layer2.c:486:9: warning: 'test_bit' is static but used in inline function 'IsSABME' which is not static
../drivers/isdn/mISDN/layer2.c:476:7: warning: 'test_bit' is static but used in inline function 'IsSFrame' which is not static
../drivers/isdn/mISDN/layer2.c:465:6: warning: 'test_bit' is static but used in inline function 'IsRR' which is not static
../drivers/isdn/mISDN/layer2.c:396:2: warning: 'clear_peer_busy' is static but used in inline function 'clear_exception' which is not static
../drivers/isdn/mISDN/layer2.c:387:31: warning: 'test_bit' is static but used in inline function 'cansend' which is not static
../drivers/isdn/mISDN/layer2.c:383:6: warning: 'test_bit' is static but used in inline function 'cansend' which is not static
../drivers/isdn/mISDN/layer2.c:129:9: warning: 'test_bit' is static but used in inline function 'l2addrsize' which is not static
../drivers/isdn/mISDN/layer2.c:123:4: warning: 'test_bit' is static but used in inline function 'l2headersize' which is not static
../drivers/isdn/mISDN/layer2.c:122:11: warning: 'test_bit' is static but used in inline function 'l2headersize' which is not static
../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../include/linux/blkdev.h:625:26: warning: switch condition has boolean value [-Wswitch-bool]
../drivers/net/ethernet/amd/nmclan_cs.c:624:3: warning: 'pcmcia_request_exclusive_irq' is deprecated [-Wdeprecated-declarations]
../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
../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]
../drivers/net/ethernet/sfc/selftest.c:388:9: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
../drivers/scsi/be2iscsi/be_main.c:3157:18: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
../drivers/scsi/megaraid/megaraid_sas_base.c:245:2: warning: 'spin_unlock_irqrestore' is static but used in inline function 'megasas_return_cmd' which is not static
../drivers/scsi/megaraid/megaraid_sas_base.c:243:2: warning: 'list_add_tail' is static but used in inline function 'megasas_return_cmd' which is not static
../include/linux/spinlock.h:333:24: warning: 'spinlock_check' is static but used in inline function 'megasas_return_cmd' which is not static
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../include/uapi/linux/swab.h:117:2: warning: '__fswab32' is static but used in inline function 'qla24xx_build_scsi_iocbs' which is not static
../include/uapi/linux/swab.h:117:2: warning: '__fswab32' is static but used in inline function 'qla24xx_build_scsi_iocbs' which is not static
../include/uapi/linux/swab.h:117:2: warning: '__fswab32' is static but used in inline function 'qla24xx_build_scsi_iocbs' which is not static
../drivers/scsi/qla2xxx/qla_iocb.c:779:15: warning: 'qla2x00_prep_cont_type1_iocb' is static but used in inline function 'qla24xx_build_scsi_iocbs' which is not static
../include/scsi/scsi_cmnd.h:191:14: warning: 'scsi_sglist' is static but used in inline function 'qla24xx_build_scsi_iocbs' which is not static
../drivers/scsi/qla2xxx/qla_iocb.c:759:33: warning: 'scsi_bufflen' is static but used in inline function 'qla24xx_build_scsi_iocbs' which is not static
../drivers/scsi/qla2xxx/qla_iocb.c:754:34: warning: 'scsi_bufflen' is static but used in inline function 'qla24xx_build_scsi_iocbs' which is not static
../drivers/scsi/qla2xxx/qla_iocb.c:742:7: warning: 'scsi_bufflen' is static but used in inline function 'qla24xx_build_scsi_iocbs' which is not static
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:754:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
../drivers/scsi/qla2xxx/qla_gbl.h:753:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
../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]
../drivers/staging/dgnc/dgnc_tty.c:572:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../include/uapi/linux/swab.h:13:15: warning: integer overflow in expression [-Woverflow]
../drivers/staging/rtl8192e/rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtllib_tx.c:169:9: warning: 'RFC1042_OUI' is static but used in inline function 'rtllib_put_snap' which is not static
../drivers/staging/rtl8192e/rtllib_tx.c:167:9: warning: 'P802_1H_OUI' is static but used in inline function 'rtllib_put_snap' which is not static
../drivers/staging/rtl8192e/rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_disassociate_skb' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_disassociate_skb' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:3521:2: warning: 'skb_reserve' is static but used in inline function 'rtllib_disassociate_skb' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:3516:8: warning: 'dev_alloc_skb' is static but used in inline function 'rtllib_disassociate_skb' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_disauth_skb' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_disauth_skb' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:3495:2: warning: 'skb_reserve' is static but used in inline function 'rtllib_disauth_skb' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:3491:8: warning: 'dev_alloc_skb' is static but used in inline function 'rtllib_disauth_skb' which is not static
../include/linux/etherdevice.h:181:33: warning: 'eth_random_addr' is static but used in inline function 'rtllib_randomize_cell' which is not static
../drivers/staging/rtl8192e/rtllib.h:88:41: warning: 'queue_delayed_work' is static but used in inline function 'rtllib_rx_deauth' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:2366:4: warning: 'rtllib_rx_auth_rq' is static but used in inline function 'rtllib_rx_auth' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:2352:6: warning: 'rtllib_auth_challenge' is static but used in inline function 'rtllib_rx_auth' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:2350:6: warning: 'rtllib_associate_step2' is static but used in inline function 'rtllib_rx_auth' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:2312:14: warning: 'auth_parse' is static but used in inline function 'rtllib_rx_auth' which is not static
../drivers/staging/rtl8192e/rtllib.h:88:41: warning: 'queue_delayed_work' is static but used in inline function 'rtllib_rx_assoc_resp' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:2280:4: warning: 'rtllib_associate_complete' is static but used in inline function 'rtllib_rx_assoc_resp' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:2270:26: warning: 'kmalloc' is static but used in inline function 'rtllib_rx_assoc_resp' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:2234:6: warning: 'kzalloc' is static but used in inline function 'rtllib_rx_assoc_resp' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:2231:13: warning: 'assoc_parse' is static but used in inline function 'rtllib_rx_assoc_resp' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:1408:23: warning: 'kmalloc' is static but used in inline function 'rtllib_association_req' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:1375:3: warning: 'rtllib_WMM_Info' is static but used in inline function 'rtllib_association_req' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:1327:13: warning: 'CcxRmCapBuf' is static but declared in inline function 'rtllib_association_req' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:1307:13: warning: 'AironetIeOui' is static but declared in inline function 'rtllib_association_req' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_association_req' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_association_req' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_association_req' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_association_req' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_association_req' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_association_req' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:1256:2: warning: 'skb_reserve' is static but used in inline function 'rtllib_association_req' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:1251:8: warning: 'dev_alloc_skb' is static but used in inline function 'rtllib_association_req' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_authentication_req' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_authentication_req' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_authentication_req' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_authentication_req' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_authentication_req' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'rtllib_authentication_req' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:805:2: warning: 'skb_reserve' is static but used in inline function 'rtllib_authentication_req' which is not static
../drivers/staging/rtl8192e/rtllib_softmac.c:800:8: warning: 'dev_alloc_skb' is static but used in inline function 'rtllib_authentication_req' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'softmac_ps_mgmt_xmit' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'softmac_ps_mgmt_xmit' which is not static
../include/uapi/linux/swab.h:108:2: warning: '__fswab16' is static but used in inline function 'softmac_ps_mgmt_xmit' which is not static
../drivers/staging/rtl8192e/rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/lustre/lnet/selftest/rpc.c:1100:23: warning: 'cfs_time_add' is static but used in inline function 'srpc_add_client_rpc_timer' which is not static
../drivers/staging/lustre/lnet/selftest/rpc.c:1097:2: warning: 'INIT_LIST_HEAD' is static but used in inline function 'srpc_add_client_rpc_timer' which is not static
../drivers/staging/rtl8192e/rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:2764:31: warning: inline function 'rtllib_probe_req' declared but never defined
../include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'sk_buff_data_t {aka unsigned char *}' [-Wformat=]
../include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'sk_buff_data_t {aka unsigned char *}' [-Wformat=]
../drivers/staging/vt6655/device_main.c:3091:1: warning: the frame size of 1296 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/ldlm_lockd.c:74:48: warning: 'cfs_time_sub' is static but used in inline function 'round_timeout' which is not static
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/ldlm_lockd.c:74:31: warning: 'cfs_duration_sec' is static but used in inline function 'round_timeout' which is not static
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/ldlm_lockd.c:74:9: warning: 'cfs_time_seconds' is static but used in inline function 'round_timeout' which is not static
../drivers/staging/wlan-ng/prism2fw.c:792:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
-------------------------------------------------------------------------------
arm-allnoconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
../scripts/kconfig/menu.c:590:18: warning: 'jump' may be used uninitialized in this function [-Wmaybe-uninitialized]
../fs/namespace.c:2712:6: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
../fs/namespace.c:2712:6: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
x86_64-allnoconfig : FAIL, 3 errors, 3 warnings, 0 section mismatches
Errors:
../scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
../scripts/mod/devicetable-offsets.c:1:0: error: code model kernel does not support PIC mode
../kernel/bounds.c:1:0: error: code model kernel does not support PIC mode
Warnings:
../scripts/kconfig/menu.c:590:18: warning: 'jump' may be used uninitialized in this function [-Wmaybe-uninitialized]
../scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
../scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
x86_64-allmodconfig : FAIL, 5 errors, 0 warnings, 0 section mismatches
Errors:
../scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
../scripts/mod/devicetable-offsets.c:1:0: error: code model kernel does not support PIC mode
../include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc6.h: No such file or directory
../include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc6.h: No such file or directory
../include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc6.h: No such file or directory
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
../scripts/kconfig/menu.c:590:18: warning: 'jump' may be used uninitialized in this function [-Wmaybe-uninitialized]
../scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
../scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
../fs/namespace.c:2712:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
../fs/namespace.c:2712:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
../lib/decompress_unlzo.c:82:6: warning: 'get_unaligned_be32' is static but used in inline function 'parse_header' which is not static
../lib/decompress_unlzo.c:78:12: warning: 'get_unaligned_be16' is static but used in inline function 'parse_header' which is not static
../lib/decompress_unlzo.c:72:19: warning: 'lzop_magic' is static but used in inline function 'parse_header' which is not static
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches: