To avoid lot of interrupts from dwc2 core, which can be asserted in
specific conditions need to disable interrupts on HW level instead of
disable IRQs on Kernel level, because of IRQ can be shared between
drivers.
Cc: stable(a)vger.kernel.org
Fixes: a40a00318c7fc ("usb: dwc2: add shutdown callback to platform variant")
Tested-by: Frank Mori Hess <fmh6jj(a)gmail.com>
Reviewed-by: Alan Stern <stern(a)rowland.harvard.edu>
Reviewed-by: Doug Anderson <dianders(a)chromium.org>
Reviewed-by: Frank Mori Hess <fmh6jj(a)gmail.com>
Signed-off-by: Minas Harutyunyan <hminas(a)synopsys.com>
---
Changes in V2:
- added synchronize_irq()
drivers/usb/dwc2/platform.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c
index e571c8ae65ec..a6360f5f6cd4 100644
--- a/drivers/usb/dwc2/platform.c
+++ b/drivers/usb/dwc2/platform.c
@@ -342,7 +342,8 @@ static void dwc2_driver_shutdown(struct platform_device *dev)
{
struct dwc2_hsotg *hsotg = platform_get_drvdata(dev);
- disable_irq(hsotg->irq);
+ dwc2_disable_global_interrupts(hsotg);
+ synchronize_irq(hsotg->irq);
}
/**
--
2.11.0
On Thu, May 28, 2020 at 12:19 AM <gregkh(a)linuxfoundation.org> wrote:
>
>
> This is a note to let you know that I've just added the patch titled
>
> driver core: Update device link status correctly for SYNC_STATE_ONLY
>
> to my driver-core git tree which can be found at
> git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
> in the driver-core-next branch.
>
> The patch will show up in the next release of the linux-next tree
> (usually sometime within the next 24 hours during the week.)
>
> The patch will also be merged in the next major kernel release
> during the merge window.
>
> If you have any questions about this process, please let me know.
Not sure if this is already/automatically queued, but this needs to go
to stable@ too. Cc-ing the list to make sure it's picked up.
-Saravana
>
>
> From 8c3e315d4296421cd26b3300ee0ac117f0877f20 Mon Sep 17 00:00:00 2001
> From: Saravana Kannan <saravanak(a)google.com>
> Date: Tue, 26 May 2020 15:09:27 -0700
> Subject: driver core: Update device link status correctly for SYNC_STATE_ONLY
> links
>
> When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
> core: Add device link support for SYNC_STATE_ONLY flag"),
> SYNC_STATE_ONLY links were treated similar to STATELESS links in terms
> of not blocking consumer probe if the supplier hasn't probed yet.
>
> That caused a SYNC_STATE_ONLY device link's status to not get updated.
> Since SYNC_STATE_ONLY device link is no longer useful once the
> consumer probes, commit 21c27f06587d ("driver core: Fix
> SYNC_STATE_ONLY device link implementation") addresses the status
> update issue by deleting the SYNC_STATE_ONLY device link instead of
> complicating the status update code.
>
> However, there are still some cases where we need to update the status
> of a SYNC_STATE_ONLY device link. This is because a SYNC_STATE_ONLY
> device link can later get converted into a normal MANAGED device link
> when a normal MANAGED device link is created between a supplier and
> consumer that already have a SYNC_STATE_ONLY device link between them.
>
> If a SYNC_STATE_ONLY device link's status isn't maintained correctly
> till it's converted to a normal MANAGED device link, then the normal
> MANAGED device link will end up with a wrong link status. This can cause
> a warning stack trace[1] when the consumer device probes successfully.
>
> This commit fixes the SYNC_STATE_ONLY device link status update issue
> where it wouldn't transition correctly from DL_STATE_DORMANT or
> DL_STATE_AVAILABLE to DL_STATE_CONSUMER_PROBE. It also resets the status
> back to DL_STATE_DORMANT or DL_STATE_AVAILABLE if the consumer probe
> fails.
>
> [1] - https://lore.kernel.org/lkml/20200522204120.3b3c9ed6@apollo/
> Fixes: 05ef983e0d65 ("driver core: Add device link support for SYNC_STATE_ONLY flag")
> Fixes: 21c27f06587d ("driver core: Fix SYNC_STATE_ONLY device link implementation")
> Reported-by: Michael Walle <michael(a)walle.cc>
> Tested-by: Michael Walle <michael(a)walle.cc>
> Signed-off-by: Saravana Kannan <saravanak(a)google.com>
> Reviewed-by: Rafael J. Wysocki <rrafael.j.wysocki(a)intel.com>
> Link: https://lore.kernel.org/r/20200526220928.49939-1-saravanak@google.com
> Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
> ---
> drivers/base/core.c | 34 ++++++++++++++++++++++++++--------
> 1 file changed, 26 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/base/core.c b/drivers/base/core.c
> index 791b7530599f..9a76dd44cb37 100644
> --- a/drivers/base/core.c
> +++ b/drivers/base/core.c
> @@ -646,9 +646,17 @@ static void device_links_missing_supplier(struct device *dev)
> {
> struct device_link *link;
>
> - list_for_each_entry(link, &dev->links.suppliers, c_node)
> - if (link->status == DL_STATE_CONSUMER_PROBE)
> + list_for_each_entry(link, &dev->links.suppliers, c_node) {
> + if (link->status != DL_STATE_CONSUMER_PROBE)
> + continue;
> +
> + if (link->supplier->links.status == DL_DEV_DRIVER_BOUND) {
> WRITE_ONCE(link->status, DL_STATE_AVAILABLE);
> + } else {
> + WARN_ON(!(link->flags & DL_FLAG_SYNC_STATE_ONLY));
> + WRITE_ONCE(link->status, DL_STATE_DORMANT);
> + }
> + }
> }
>
> /**
> @@ -687,11 +695,11 @@ int device_links_check_suppliers(struct device *dev)
> device_links_write_lock();
>
> list_for_each_entry(link, &dev->links.suppliers, c_node) {
> - if (!(link->flags & DL_FLAG_MANAGED) ||
> - link->flags & DL_FLAG_SYNC_STATE_ONLY)
> + if (!(link->flags & DL_FLAG_MANAGED))
> continue;
>
> - if (link->status != DL_STATE_AVAILABLE) {
> + if (link->status != DL_STATE_AVAILABLE &&
> + !(link->flags & DL_FLAG_SYNC_STATE_ONLY)) {
> device_links_missing_supplier(dev);
> ret = -EPROBE_DEFER;
> break;
> @@ -952,11 +960,21 @@ static void __device_links_no_driver(struct device *dev)
> if (!(link->flags & DL_FLAG_MANAGED))
> continue;
>
> - if (link->flags & DL_FLAG_AUTOREMOVE_CONSUMER)
> + if (link->flags & DL_FLAG_AUTOREMOVE_CONSUMER) {
> device_link_drop_managed(link);
> - else if (link->status == DL_STATE_CONSUMER_PROBE ||
> - link->status == DL_STATE_ACTIVE)
> + continue;
> + }
> +
> + if (link->status != DL_STATE_CONSUMER_PROBE &&
> + link->status != DL_STATE_ACTIVE)
> + continue;
> +
> + if (link->supplier->links.status == DL_DEV_DRIVER_BOUND) {
> WRITE_ONCE(link->status, DL_STATE_AVAILABLE);
> + } else {
> + WARN_ON(!(link->flags & DL_FLAG_SYNC_STATE_ONLY));
> + WRITE_ONCE(link->status, DL_STATE_DORMANT);
> + }
> }
>
> dev->links.status = DL_DEV_NO_DRIVER;
> --
> 2.26.2
>
>
Hi Minas,
On Fri, May 29, 2020 at 3:50 PM Minas Harutyunyan
<Minas.Harutyunyan(a)synopsys.com> wrote:
>
> Can you test it on your setup and confirm (to keep "Tested-by: Frank.."
> tag).
>
I just tested the
dwc2_disable_global_interrupts(hsotg);
synchronize_irq(hsotg->irq);
version of dwc2 shutdown, and booting a new kernel with kexec worked
fine for me.
--
Frank
Har har, after I moved the slab freelist pointer into the middle of the
slab, now it looks like the contents are getting poisoned. Adjust the
test to avoid the freelist pointer again.
Fixes: 3202fa62fb43 ("slub: relocate freelist pointer to middle of object")
Cc: stable(a)vger.kernel.org
Signed-off-by: Kees Cook <keescook(a)chromium.org>
---
drivers/misc/lkdtm/heap.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/misc/lkdtm/heap.c b/drivers/misc/lkdtm/heap.c
index 3c5cec85edce..1323bc16f113 100644
--- a/drivers/misc/lkdtm/heap.c
+++ b/drivers/misc/lkdtm/heap.c
@@ -58,11 +58,12 @@ void lkdtm_READ_AFTER_FREE(void)
int *base, *val, saw;
size_t len = 1024;
/*
- * The slub allocator uses the first word to store the free
- * pointer in some configurations. Use the middle of the
- * allocation to avoid running into the freelist
+ * The slub allocator will use the either the first word or
+ * the middle of the allocation to store the free pointer,
+ * depending on configurations. Store in the second word to
+ * avoid running into the freelist.
*/
- size_t offset = (len / sizeof(*base)) / 2;
+ size_t offset = sizeof(*base);
base = kmalloc(len, GFP_KERNEL);
if (!base) {
--
2.25.1
On Fri, May 29, 2020 at 3:33 PM Minas Harutyunyan
<Minas.Harutyunyan(a)synopsys.com> wrote:
> So, can we conclude on this solution?
>
> dwc2_disable_global_interrupts(hsotg);
> synchronize_irq(hsotg->irq)
That solution is fine with me. Disabling the dwc2 interrupt sources
in initialization before the handlers are registered is also worth
doing, but it doesn't have to be in the same patch.
--
Frank
Hi,
On Fri, May 29, 2020 at 9:30 AM Minas Harutyunyan
<Minas.Harutyunyan(a)synopsys.com> wrote:
>
> Hi Doug,
>
> On 5/29/2020 6:49 PM, Doug Anderson wrote:
> > Hi,
> >
> > On Fri, May 29, 2020 at 4:51 AM Minas Harutyunyan
> > <Minas.Harutyunyan(a)synopsys.com> wrote:
> >>
> >> To avoid lot of interrupts from dwc2 core, which can be asserted in
> >> specific conditions need to disable interrupts on HW level instead of
> >> disable IRQs on Kernel level, because of IRQ can be shared between
> >> drivers.
> >>
> >> Cc: stable(a)vger.kernel.org
> >> Fixes: a40a00318c7fc ("usb: dwc2: add shutdown callback to platform variant")
> >> Tested-by: Frank Mori Hess <fmh6jj(a)gmail.com>
> >> Signed-off-by: Minas Harutyunyan <hminas(a)synopsys.com>
> >> ---
> >> drivers/usb/dwc2/platform.c | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c
> >> index e571c8ae65ec..ada5b66b948e 100644
> >> --- a/drivers/usb/dwc2/platform.c
> >> +++ b/drivers/usb/dwc2/platform.c
> >> @@ -342,7 +342,7 @@ static void dwc2_driver_shutdown(struct platform_device *dev)
> >> {
> >> struct dwc2_hsotg *hsotg = platform_get_drvdata(dev);
> >>
> >> - disable_irq(hsotg->irq);
> >> + dwc2_disable_global_interrupts(hsotg);
> >> }
> >
> > I could be wrong, but I think it would be better to instead end up
> > with both calls, like:
> >
> > dwc2_disable_global_interrupts(hsotg);
> > disable_irq(hsotg->irq);
> >
> > To some extent it's slightly overkill, but the disable_irq() function
> > has the nice "and wait for completion" bit. Your new call doesn't do
> > this.
> >
> If dwc2 currently handling some interrupt then below patch can allow to
> wait until interrupt will be handled:
>
> spin_lock(&hsotg->lock);
> dwc2_disable_global_interrupts(hsotg);
> spin_unlock(&hsotg->lock);
Would that really work? If you've got a two core system and the
interrupt is just firing on a different core but hasn't acquired the
spinlock then your code might get the spinlock, disable the
interrupts, and then release the spinlock. The interrupt handler will
still be running on the other CPU and now will get the spinlock.
> but on other hand dwc2 have 3 subsequent interrupt handlers - core,
> gadget, host and not clear which of handler completed.
>
> > That being said, though, you still won't wait for the completion of
> > the IRQ handler for the "other drivers" you reference, right. Maybe a
> > better fix would be to add a shutdown callback for those other drivers
> > and just keep relying on disable_irq()?
> >
> I have look to other drivers where used disable_irq() - no any driver
> care about SHARED irq's. In that case your suggestion to use both
> disabling is looks Ok.
I'm not sure I understand. Are you saying that you'll just add
shutdown callbacks to all the drivers using this IRQ and call
disable_irq() there? That seems like the best solution to me.
-Doug
We did some work on analyzing patches potentially missing from stable
releases based on the Fixes: and Revert references in the commit
messages. Our script is based on similar idea as described by Guenter
Roeck in this earlier mail:
https://lore.kernel.org/stable/20190827171621.GA30360@roeck-us.net/.
Although the list is not comprehensive, we figured it makes sense to
publish it in case the results are of interest to someone else also.
The below list of potentially missing commits is based on 4.19, but some
of the commits might also apply to 5.4 and 5.6.
For each potentially missing commit flagged by the script, we read the
commit message and had a short look at the change. We then added
comments on our own judgement if it might be stable material or not. No
comments simply means the potentially missing patch appears stable
material. "Based on commit" is the mainline patch that has been
backported to 4.19 and is referenced by the missing commit. We did not
check if the patch applies without changes, nor did we build or execute
any tests.
6011002c1584 uio: make symbol 'uio_class_registered' static
Based on commit: ae61cf5b9913
968339fad422 powerpc/boot: Delete unneeded .globl _zimage_start
Based on commit: ee9d21b3b358
Comment: not stable material?
ed4d81c4b3f2 net: aquantia: when cleaning hw cache it should be toggled
Based on commit: 7a1bb49461b1
Comment: this was backported to 5.3, but for some reason not to
older stable releases
b27507bb59ed net/ibmvnic: unlock rtnl_lock in reset so linkwatch_event can ru
Based on commit: a5681e20b541
61c347ba5511 afs: Clear AFS_VNODE_CB_PROMISED if we detect callback expiry
Based on commit: ae3b7361dc0e
Comment: likely requires manual backport
1a49b2fd8f58 kbuild: strip whitespace in cmd_record_mcount findstring
Based on commit: 6977f95e63b9
Comment: not stable material?
669e859b5ea7 btrfs: drop the lock on error in btrfs_dev_replace_cancel
Based on commit: d189dd70e255
Comment: earlier backport failed, this would likely require manual
backport: https://lore.kernel.org/stable/15531096685894@kroah.com/
dddaf89e2fbc netfilter: ipt_CLUSTERIP: make symbol 'cip_netdev_notifier' stat
Based on commit: 5a86d68bcf02
01091c496f92 acpi/nfit: improve bounds checking for 'func'
Based on commit: 11189c1089da
Comment: the missing commit was picked by AUTOSEL to 5.4, 5.5, and
5.6, but for some reason, it was not backported 4.19:
https://lore.kernel.org/stable/?q=01091c496f92*
2b74c878b0ea IB/hfi1: Unreserve a flushed OPFN request
Based on commit: ca95f802ef51
Comment: earlier backport failed, this would likely require manual
backport: https://lore.kernel.org/stable/15649835016938@kroah.com/
0b815023a1d4 bnxt_en: Fix ring checking logic on 57500 chips.
Based on commit: 36d65be9a880
Comment: likely requires manual backport
6ae865615fc4 x86/uaccess: Dont leak the AC flag into __put_user() argument ev
Based on commit: 2a418cf3f5f1
Comment: commit 9b8bd476e78e which mentions complementing
6ae865615fc4, has already been backported to 4.19
70db5b04cbe1 f2fs: give some messages for inline_xattr_size
Based on commit: 500e0b28ecd3
Comment: not stable material?
2a06b8982f8f net: reorder 'struct net' fields to avoid false sharing
Based on commit: 355b98553789
Comment: this was backported to 5.3, but for some reason not to
older stable releases
0fbf21c3b36a ALSA: hda/realtek - Enable micmute LED for Huawei laptops
Based on commit: 8ac51bbc4cfe
Comment: not stable material?
Thanks,
-- Henri
Since the driver was first introduced into the kernel, it has only
handled the ciphers associated with WEP, WPA, and WPA2. It fails with
WPA3 even though mac80211 can handle those additional ciphers in software,
b43 did not report that it could handle them. By setting MFP_CAPABLE using
ieee80211_set_hw(), the problem is fixed.
With this change, b43 will handle the ciohers it knows in hardare,
and let mac80211 handle the others in software. It is not necessary to
use the module parameter NOHWCRYPT to turn hardware encryption off.
Although this change essentially eliminates that module parameter,
I am choosing to keep it for cases where the hardware is broken,
and software encryption is required for all ciphers.
This patch fixes a prooblem that has been in the driver since it was first
merged with commit e4d6b7951812 ("[B43]: add mac80211-based driver for
modern BCM43xx devices").
Fixes e4d6b7951812 ("[B43]: add mac80211-based driver for modern BCM43xx devices")
Reported-and-tested-by: Rui Salvaterra <rsalvaterra(a)gmail.com>
Signed-off-by: Larry Finger <Larry.Finger(a)lwfinger.net>
Cc: Stable <stable(a)vger.kernel.org>
---
drivers/net/wireless/broadcom/b43/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/broadcom/b43/main.c b/drivers/net/wireless/broadcom/b43/main.c
index 39da1a4c30ac..3ad94dad2d89 100644
--- a/drivers/net/wireless/broadcom/b43/main.c
+++ b/drivers/net/wireless/broadcom/b43/main.c
@@ -5569,7 +5569,7 @@ static struct b43_wl *b43_wireless_init(struct b43_bus_dev *dev)
/* fill hw info */
ieee80211_hw_set(hw, RX_INCLUDES_FCS);
ieee80211_hw_set(hw, SIGNAL_DBM);
-
+ ieee80211_hw_set(hw, MFP_CAPABLE);
hw->wiphy->interface_modes =
BIT(NL80211_IFTYPE_AP) |
BIT(NL80211_IFTYPE_MESH_POINT) |
--
2.26.2
On a modern Linux distro, compiling the following program fails:
#include<stdlib.h>
#include<stdint.h>
#include<pthread.h>
#include<linux/sched/types.h>
void main() {
struct sched_attr sa;
return;
}
with:
/usr/include/linux/sched/types.h:8:8: \
error: redefinition of ‘struct sched_param’
8 | struct sched_param {
| ^~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sched.h:74,
from /usr/include/sched.h:43,
from /usr/include/pthread.h:23,
from /tmp/s.c:4:
/usr/include/x86_64-linux-gnu/bits/types/struct_sched_param.h:23:8:
note: originally defined here
23 | struct sched_param
| ^~~~~~~~~~~
This also causes a problem with using sched_attr in Chrome. The issue is
sched_param is already provided by glibc.
Guard the kernel's UAPI definition of sched_param with __KERNEL__ so
that userspace can compile.
Fixes: e2d1e2aec572a ("sched/headers: Move various ABI definitions to <uapi/linux/sched/types.h>"
Signed-off-by: Joel Fernandes (Google) <joel(a)joelfernandes.org>
---
include/uapi/linux/sched/types.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/linux/sched/types.h b/include/uapi/linux/sched/types.h
index c852153ddb0d3..1f10d935a63fe 100644
--- a/include/uapi/linux/sched/types.h
+++ b/include/uapi/linux/sched/types.h
@@ -4,9 +4,11 @@
#include <linux/types.h>
+#if defined(__KERNEL__)
struct sched_param {
int sched_priority;
};
+#endif
#define SCHED_ATTR_SIZE_VER0 48 /* sizeof first published struct */
#define SCHED_ATTR_SIZE_VER1 56 /* add: util_{min,max} */
--
2.26.2.761.g0e0b3e54be-goog
To avoid lot of interrupts from dwc2 core, which can be asserted in
specific conditions need to disable interrupts on HW level instead of
disable IRQs on Kernel level, because of IRQ can be shared between
drivers.
Cc: stable(a)vger.kernel.org
Fixes: a40a00318c7fc ("usb: dwc2: add shutdown callback to platform variant")
Tested-by: Frank Mori Hess <fmh6jj(a)gmail.com>
Signed-off-by: Minas Harutyunyan <hminas(a)synopsys.com>
---
drivers/usb/dwc2/platform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c
index e571c8ae65ec..ada5b66b948e 100644
--- a/drivers/usb/dwc2/platform.c
+++ b/drivers/usb/dwc2/platform.c
@@ -342,7 +342,7 @@ static void dwc2_driver_shutdown(struct platform_device *dev)
{
struct dwc2_hsotg *hsotg = platform_get_drvdata(dev);
- disable_irq(hsotg->irq);
+ dwc2_disable_global_interrupts(hsotg);
}
/**
--
2.11.0
Clear tuning_done flag while executing tuning to ensure vendor
specific HS400 settings are applied properly when the controller
is re-initialized in HS400 mode.
Without this, re-initialization of the qcom SDHC in HS400 mode fails
while resuming the driver from runtime-suspend or system-suspend.
Fixes: ff06ce4 ("mmc: sdhci-msm: Add HS400 platform support")
Cc: stable(a)vger.kernel.org
Signed-off-by: Veerabhadrarao Badiganti <vbadigan(a)codeaurora.org>
---
drivers/mmc/host/sdhci-msm.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index 95cd973..b277dd7 100644
--- a/drivers/mmc/host/sdhci-msm.c
+++ b/drivers/mmc/host/sdhci-msm.c
@@ -1174,6 +1174,12 @@ static int sdhci_msm_execute_tuning(struct mmc_host *mmc, u32 opcode)
msm_host->use_cdr = true;
/*
+ * Clear tuning_done flag before tuning to ensure proper
+ * HS400 settings.
+ */
+ msm_host->tuning_done = 0;
+
+ /*
* For HS400 tuning in HS200 timing requires:
* - select MCLK/2 in VENDOR_SPEC
* - program MCLK to 400MHz (or nearest supported) in GCC
--
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
From: Alexander Sverdlin <alexander.sverdlin(a)nokia.com>
The removal of mips_swiotlb_ops exposed a problem in octeon_mgmt Ethernet
driver. mips_swiotlb_ops had an mb() after most of the operations and the
removal of the ops had broken the receive functionality of the driver.
My code inspection has shown no other places except
octeon_mgmt_rx_fill_ring() where an explicit barrier would be obviously
missing. The latter function however has to make sure that "ringing the
bell" doesn't happen before RX ring entry is really written.
The patch has been successfully tested on Octeon II.
Fixes: a999933db9ed ("MIPS: remove mips_swiotlb_ops")
Cc: stable(a)vger.kernel.org
Signed-off-by: Alexander Sverdlin <alexander.sverdlin(a)nokia.com>
---
drivers/net/ethernet/cavium/octeon/octeon_mgmt.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c b/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c
index 07b960e..79c110a 100644
--- a/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c
+++ b/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c
@@ -235,6 +235,11 @@ static void octeon_mgmt_rx_fill_ring(struct net_device *netdev)
/* Put it in the ring. */
p->rx_ring[p->rx_next_fill] = re.d64;
+ /* Make sure there is no reorder of filling the ring and ringing
+ * the bell
+ */
+ wmb();
+
dma_sync_single_for_device(p->dev, p->rx_ring_handle,
ring_size_to_bytes(OCTEON_MGMT_RX_RING_SIZE),
DMA_BIDIRECTIONAL);
--
2.10.2
We provided the right semantics on open drain lines being
by definition output but incidentally the irq set up function
would only allow IRQs on lines that were "not output".
Fix the semantics to allow output open drain lines to be used
for IRQs.
Reported-by: Hans Verkuil <hverkuil(a)xs4all.nl>
Cc: Russell King <linux(a)armlinux.org.uk>
Cc: stable(a)vger.kernel.org
Fixes: 256efaea1fdc ("gpiolib: fix up emulated open drain outputs")
Signed-off-by: Linus Walleij <linus.walleij(a)linaro.org>
---
drivers/gpio/gpiolib.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index b4b5792fe2ff..edd74ff31cea 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -4220,7 +4220,9 @@ int gpiochip_lock_as_irq(struct gpio_chip *gc, unsigned int offset)
}
}
- if (test_bit(FLAG_IS_OUT, &desc->flags)) {
+ /* To be valid for IRQ the line needs to be input or open drain */
+ if (test_bit(FLAG_IS_OUT, &desc->flags) &&
+ !test_bit(FLAG_OPEN_DRAIN, &desc->flags)) {
chip_err(gc,
"%s: tried to flag a GPIO set as output for IRQ\n",
__func__);
--
2.25.4
This is a note to let you know that I've just added the patch titled
gnss: sirf: fix error return code in sirf_probe()
to my char-misc git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
in the char-misc-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the char-misc-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
>From 43d7ce70ae43dd8523754b17f567417e0e75dbce Mon Sep 17 00:00:00 2001
From: Wei Yongjun <weiyongjun1(a)huawei.com>
Date: Thu, 7 May 2020 09:42:52 +0000
Subject: gnss: sirf: fix error return code in sirf_probe()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
This avoids a use-after-free in case the driver is later unbound.
Fixes: d2efbbd18b1e ("gnss: add driver for sirfstar-based receivers")
Reported-by: Hulk Robot <hulkci(a)huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1(a)huawei.com>
[ johan: amend commit message; mention potential use-after-free ]
Cc: stable <stable(a)vger.kernel.org> # 4.19
Signed-off-by: Johan Hovold <johan(a)kernel.org>
---
drivers/gnss/sirf.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/gnss/sirf.c b/drivers/gnss/sirf.c
index effed3a8d398..2ecb1d3e8eeb 100644
--- a/drivers/gnss/sirf.c
+++ b/drivers/gnss/sirf.c
@@ -439,14 +439,18 @@ static int sirf_probe(struct serdev_device *serdev)
data->on_off = devm_gpiod_get_optional(dev, "sirf,onoff",
GPIOD_OUT_LOW);
- if (IS_ERR(data->on_off))
+ if (IS_ERR(data->on_off)) {
+ ret = PTR_ERR(data->on_off);
goto err_put_device;
+ }
if (data->on_off) {
data->wakeup = devm_gpiod_get_optional(dev, "sirf,wakeup",
GPIOD_IN);
- if (IS_ERR(data->wakeup))
+ if (IS_ERR(data->wakeup)) {
+ ret = PTR_ERR(data->wakeup);
goto err_put_device;
+ }
ret = regulator_enable(data->vcc);
if (ret)
--
2.26.2
From: Chris Wilson <chris(a)chris-wilson.co.uk>
If the cacheline may still be busy, atomically mark it for future
release, and only if we can determine that it will never be used again,
immediately free it.
Closes: https://gitlab.freedesktop.org/drm/intel/issues/1392
Fixes: ebece7539242 ("drm/i915: Keep timeline HWSP allocated until idle across the system")
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)linux.intel.com>
Cc: Matthew Auld <matthew.auld(a)intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala(a)linux.intel.com>
Cc: <stable(a)vger.kernel.org> # v5.2+
Link: https://patchwork.freedesktop.org/patch/msgid/20200306154647.3528345-1-chri…
(cherry picked from commit 2d4bd971f5baa51418625f379a69f5d58b5a0450)
Signed-off-by: Jani Nikula <jani.nikula(a)intel.com>
(cherry picked from commit 8ea6bb8e4d47e07518e5dba4f5cb77e210f0df82)
---
drivers/gpu/drm/i915/gt/intel_timeline.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/gt/intel_timeline.c b/drivers/gpu/drm/i915/gt/intel_timeline.c
index 23405e1558c6..3621273ad99a 100644
--- a/drivers/gpu/drm/i915/gt/intel_timeline.c
+++ b/drivers/gpu/drm/i915/gt/intel_timeline.c
@@ -192,11 +192,15 @@ static void cacheline_release(struct intel_timeline_cacheline *cl)
static void cacheline_free(struct intel_timeline_cacheline *cl)
{
+ if (!i915_active_acquire_if_busy(&cl->active)) {
+ __idle_cacheline_free(cl);
+ return;
+ }
+
GEM_BUG_ON(ptr_test_bit(cl->vaddr, CACHELINE_FREE));
cl->vaddr = ptr_set_bit(cl->vaddr, CACHELINE_FREE);
- if (i915_active_is_idle(&cl->active))
- __idle_cacheline_free(cl);
+ i915_active_release(&cl->active);
}
int intel_timeline_init(struct intel_timeline *timeline,
From: Chris Wilson <chris(a)chris-wilson.co.uk>
If we stop filling the ELSP due to an incompatible virtual engine
request, check if we should enable the timeslice on behalf of the queue.
This fixes the case where we are inspecting the last->next element when
we know that the last element is the last request in the execution queue,
and so decided we did not need to enable timeslicing despite the intent
to do so!
Fixes: 8ee36e048c98 ("drm/i915/execlists: Minimalistic timeslicing")
Signed-off-by: Chris Wilson <chris(a)chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala(a)linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin(a)intel.com>
Cc: <stable(a)vger.kernel.org> # v5.4+
Reviewed-by: Mika Kuoppala <mika.kuoppala(a)linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200306113012.3184606-1-chri…
(cherry picked from commit 3df2deed411e0f1b7312baf0139aab8bba4c0410)
Signed-off-by: Jani Nikula <jani.nikula(a)intel.com>
(cherry picked from commit eafc2aa20fba319b6e791a1b0c45a91511eccb6b)
---
drivers/gpu/drm/i915/gt/intel_lrc.c | 29 ++++++++++++++++++-----------
1 file changed, 18 insertions(+), 11 deletions(-)
diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.c b/drivers/gpu/drm/i915/gt/intel_lrc.c
index c50e5da842ca..f12ff18e9bed 100644
--- a/drivers/gpu/drm/i915/gt/intel_lrc.c
+++ b/drivers/gpu/drm/i915/gt/intel_lrc.c
@@ -1808,11 +1808,9 @@ need_timeslice(struct intel_engine_cs *engine, const struct i915_request *rq)
if (!intel_engine_has_timeslices(engine))
return false;
- if (list_is_last(&rq->sched.link, &engine->active.requests))
- return false;
-
- hint = max(rq_prio(list_next_entry(rq, sched.link)),
- engine->execlists.queue_priority_hint);
+ hint = engine->execlists.queue_priority_hint;
+ if (!list_is_last(&rq->sched.link, &engine->active.requests))
+ hint = max(hint, rq_prio(list_next_entry(rq, sched.link)));
return hint >= effective_prio(rq);
}
@@ -1854,6 +1852,18 @@ static void set_timeslice(struct intel_engine_cs *engine)
set_timer_ms(&engine->execlists.timer, active_timeslice(engine));
}
+static void start_timeslice(struct intel_engine_cs *engine)
+{
+ struct intel_engine_execlists *execlists = &engine->execlists;
+
+ execlists->switch_priority_hint = execlists->queue_priority_hint;
+
+ if (timer_pending(&execlists->timer))
+ return;
+
+ set_timer_ms(&execlists->timer, timeslice(engine));
+}
+
static void record_preemption(struct intel_engine_execlists *execlists)
{
(void)I915_SELFTEST_ONLY(execlists->preempt_hang.count++);
@@ -2017,11 +2027,7 @@ static void execlists_dequeue(struct intel_engine_cs *engine)
* Even if ELSP[1] is occupied and not worthy
* of timeslices, our queue might be.
*/
- if (!execlists->timer.expires &&
- need_timeslice(engine, last))
- set_timer_ms(&execlists->timer,
- timeslice(engine));
-
+ start_timeslice(engine);
return;
}
}
@@ -2056,7 +2062,8 @@ static void execlists_dequeue(struct intel_engine_cs *engine)
if (last && !can_merge_rq(last, rq)) {
spin_unlock(&ve->base.active.lock);
- return; /* leave this for another */
+ start_timeslice(engine);
+ return; /* leave this for another sibling */
}
ENGINE_TRACE(engine,
From: Chris Wilson <chris(a)chris-wilson.co.uk>
Requests within a timeline are ordered by that timeline, so awaiting for
the start of a request within the timeline is a no-op. This used to work
by falling out of the mutex_trylock() as the signaler and waiter had the
same timeline and not returning an error.
Fixes: 6a79d848403d ("drm/i915: Lock signaler timeline while navigating")
Signed-off-by: Chris Wilson <chris(a)chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin(a)linux.intel.com>
Cc: <stable(a)vger.kernel.org> # v5.5+
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin(a)intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200305134822.2750496-1-chri…
(cherry picked from commit ab7a69020fb5d5c7ba19fba60f62fd6f9ca9f779)
---
drivers/gpu/drm/i915/i915_request.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_request.c b/drivers/gpu/drm/i915/i915_request.c
index 4143d0c6b343..1efc82f78f44 100644
--- a/drivers/gpu/drm/i915/i915_request.c
+++ b/drivers/gpu/drm/i915/i915_request.c
@@ -767,8 +767,8 @@ i915_request_await_start(struct i915_request *rq, struct i915_request *signal)
struct dma_fence *fence;
int err;
- GEM_BUG_ON(i915_request_timeline(rq) ==
- rcu_access_pointer(signal->timeline));
+ if (i915_request_timeline(rq) == rcu_access_pointer(signal->timeline))
+ return 0;
fence = NULL;
rcu_read_lock();
From: Chris Wilson <chris(a)chris-wilson.co.uk>
If we rewind the RING_TAIL on a context, due to a preemption event, we
must force the context restore for the RING_TAIL update to be properly
handled. Rather than note which preemption events may cause us to rewind
the tail, compare the new request's tail with the previously submitted
RING_TAIL, as it turns out that timeslicing was causing unexpected
rewinds.
<idle>-0 0d.s2 1280851190us : __execlists_submission_tasklet: 0000:00:02.0 rcs0: expired last=130:4698, prio=3, hint=3
<idle>-0 0d.s2 1280851192us : __i915_request_unsubmit: 0000:00:02.0 rcs0: fence 66:119966, current 119964
<idle>-0 0d.s2 1280851195us : __i915_request_unsubmit: 0000:00:02.0 rcs0: fence 130:4698, current 4695
<idle>-0 0d.s2 1280851198us : __i915_request_unsubmit: 0000:00:02.0 rcs0: fence 130:4696, current 4695
^---- Note we unwind 2 requests from the same context
<idle>-0 0d.s2 1280851208us : __i915_request_submit: 0000:00:02.0 rcs0: fence 130:4696, current 4695
<idle>-0 0d.s2 1280851213us : __i915_request_submit: 0000:00:02.0 rcs0: fence 134:1508, current 1506
^---- But to apply the new timeslice, we have to replay the first request
before the new client can start -- the unexpected RING_TAIL rewind
<idle>-0 0d.s2 1280851219us : trace_ports: 0000:00:02.0 rcs0: submit { 130:4696*, 134:1508 }
synmark2-5425 2..s. 1280851239us : process_csb: 0000:00:02.0 rcs0: cs-irq head=5, tail=0
synmark2-5425 2..s. 1280851240us : process_csb: 0000:00:02.0 rcs0: csb[0]: status=0x00008002:0x00000000
^---- Preemption event for the ELSP update; note the lite-restore
synmark2-5425 2..s. 1280851243us : trace_ports: 0000:00:02.0 rcs0: preempted { 130:4698, 66:119966 }
synmark2-5425 2..s. 1280851246us : trace_ports: 0000:00:02.0 rcs0: promote { 130:4696*, 134:1508 }
synmark2-5425 2.... 1280851462us : __i915_request_commit: 0000:00:02.0 rcs0: fence 130:4700, current 4695
synmark2-5425 2.... 1280852111us : __i915_request_commit: 0000:00:02.0 rcs0: fence 130:4702, current 4695
synmark2-5425 2.Ns1 1280852296us : process_csb: 0000:00:02.0 rcs0: cs-irq head=0, tail=2
synmark2-5425 2.Ns1 1280852297us : process_csb: 0000:00:02.0 rcs0: csb[1]: status=0x00000814:0x00000000
synmark2-5425 2.Ns1 1280852299us : trace_ports: 0000:00:02.0 rcs0: completed { 130:4696!, 134:1508 }
synmark2-5425 2.Ns1 1280852301us : process_csb: 0000:00:02.0 rcs0: csb[2]: status=0x00000818:0x00000040
synmark2-5425 2.Ns1 1280852302us : trace_ports: 0000:00:02.0 rcs0: completed { 134:1508, 0:0 }
synmark2-5425 2.Ns1 1280852313us : process_csb: process_csb:2336 GEM_BUG_ON(!i915_request_completed(*execlists->active) && !reset_in_progress(execlists))
Fixes: 8ee36e048c98 ("drm/i915/execlists: Minimalistic timeslicing")
Referenecs: 82c69bf58650 ("drm/i915/gt: Detect if we miss WaIdleLiteRestore")
Signed-off-by: Chris Wilson <chris(a)chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala(a)linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala(a)linux.intel.com>
Cc: <stable(a)vger.kernel.org> # v5.4+
Link: https://patchwork.freedesktop.org/patch/msgid/20200207211452.2860634-1-chri…
(cherry picked from commit 5ba32c7be81e53ea8a27190b0f6be98e6c6779af)
Signed-off-by: Jani Nikula <jani.nikula(a)intel.com>
(cherry picked from commit b1339ecac661e1cf3e1dc78ac56bff3aeeaeb92c)
---
drivers/gpu/drm/i915/gt/intel_lrc.c | 18 ++++++++----------
drivers/gpu/drm/i915/gt/intel_ring.c | 1 +
drivers/gpu/drm/i915/gt/intel_ring.h | 8 ++++++++
drivers/gpu/drm/i915/gt/intel_ring_types.h | 1 +
4 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.c b/drivers/gpu/drm/i915/gt/intel_lrc.c
index 2a04c767121b..c50e5da842ca 100644
--- a/drivers/gpu/drm/i915/gt/intel_lrc.c
+++ b/drivers/gpu/drm/i915/gt/intel_lrc.c
@@ -1446,7 +1446,7 @@ static u64 execlists_update_context(struct i915_request *rq)
{
struct intel_context *ce = rq->context;
u64 desc = ce->lrc_desc;
- u32 tail;
+ u32 tail, prev;
/*
* WaIdleLiteRestore:bdw,skl
@@ -1459,9 +1459,15 @@ static u64 execlists_update_context(struct i915_request *rq)
* subsequent resubmissions (for lite restore). Should that fail us,
* and we try and submit the same tail again, force the context
* reload.
+ *
+ * If we need to return to a preempted context, we need to skip the
+ * lite-restore and force it to reload the RING_TAIL. Otherwise, the
+ * HW has a tendency to ignore us rewinding the TAIL to the end of
+ * an earlier request.
*/
tail = intel_ring_set_tail(rq->ring, rq->tail);
- if (unlikely(ce->lrc_reg_state[CTX_RING_TAIL] == tail))
+ prev = ce->lrc_reg_state[CTX_RING_TAIL];
+ if (unlikely(intel_ring_direction(rq->ring, tail, prev) <= 0))
desc |= CTX_DESC_FORCE_RESTORE;
ce->lrc_reg_state[CTX_RING_TAIL] = tail;
rq->tail = rq->wa_tail;
@@ -1968,14 +1974,6 @@ static void execlists_dequeue(struct intel_engine_cs *engine)
*/
__unwind_incomplete_requests(engine);
- /*
- * If we need to return to the preempted context, we
- * need to skip the lite-restore and force it to
- * reload the RING_TAIL. Otherwise, the HW has a
- * tendency to ignore us rewinding the TAIL to the
- * end of an earlier request.
- */
- last->context->lrc_desc |= CTX_DESC_FORCE_RESTORE;
last = NULL;
} else if (need_timeslice(engine, last) &&
timer_expired(&engine->execlists.timer)) {
diff --git a/drivers/gpu/drm/i915/gt/intel_ring.c b/drivers/gpu/drm/i915/gt/intel_ring.c
index 374b28f13ca0..6ff803f397c4 100644
--- a/drivers/gpu/drm/i915/gt/intel_ring.c
+++ b/drivers/gpu/drm/i915/gt/intel_ring.c
@@ -145,6 +145,7 @@ intel_engine_create_ring(struct intel_engine_cs *engine, int size)
kref_init(&ring->ref);
ring->size = size;
+ ring->wrap = BITS_PER_TYPE(ring->size) - ilog2(size);
/*
* Workaround an erratum on the i830 which causes a hang if
diff --git a/drivers/gpu/drm/i915/gt/intel_ring.h b/drivers/gpu/drm/i915/gt/intel_ring.h
index ea2839d9e044..5bdce24994aa 100644
--- a/drivers/gpu/drm/i915/gt/intel_ring.h
+++ b/drivers/gpu/drm/i915/gt/intel_ring.h
@@ -56,6 +56,14 @@ static inline u32 intel_ring_wrap(const struct intel_ring *ring, u32 pos)
return pos & (ring->size - 1);
}
+static inline int intel_ring_direction(const struct intel_ring *ring,
+ u32 next, u32 prev)
+{
+ typecheck(typeof(ring->size), next);
+ typecheck(typeof(ring->size), prev);
+ return (next - prev) << ring->wrap;
+}
+
static inline bool
intel_ring_offset_valid(const struct intel_ring *ring,
unsigned int pos)
diff --git a/drivers/gpu/drm/i915/gt/intel_ring_types.h b/drivers/gpu/drm/i915/gt/intel_ring_types.h
index d9f17f38e0cc..3cd7fec7fd8d 100644
--- a/drivers/gpu/drm/i915/gt/intel_ring_types.h
+++ b/drivers/gpu/drm/i915/gt/intel_ring_types.h
@@ -45,6 +45,7 @@ struct intel_ring {
u32 space;
u32 size;
+ u32 wrap;
u32 effective_size;
};
This is a note to let you know that I've just added the patch titled
nvmem: qfprom: remove incorrect write support
to my char-misc git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
in the char-misc-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From 8d9eb0d6d59a5d7028c80a30831143d3e75515a7 Mon Sep 17 00:00:00 2001
From: Srinivas Kandagatla <srinivas.kandagatla(a)linaro.org>
Date: Fri, 22 May 2020 12:33:41 +0100
Subject: nvmem: qfprom: remove incorrect write support
qfprom has different address spaces for read and write. Reads are
always done from corrected address space, where as writes are done
on raw address space.
Writing to corrected address space is invalid and ignored, so it
does not make sense to have this support in the driver which only
supports corrected address space regions at the moment.
Fixes: 4ab11996b489 ("nvmem: qfprom: Add Qualcomm QFPROM support.")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla(a)linaro.org>
Reviewed-by: Douglas Anderson <dianders(a)chromium.org>
Cc: stable <stable(a)vger.kernel.org>
Link: https://lore.kernel.org/r/20200522113341.7728-1-srinivas.kandagatla@linaro.…
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/nvmem/qfprom.c | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/drivers/nvmem/qfprom.c b/drivers/nvmem/qfprom.c
index d057f1bfb2e9..8a91717600be 100644
--- a/drivers/nvmem/qfprom.c
+++ b/drivers/nvmem/qfprom.c
@@ -27,25 +27,11 @@ static int qfprom_reg_read(void *context,
return 0;
}
-static int qfprom_reg_write(void *context,
- unsigned int reg, void *_val, size_t bytes)
-{
- struct qfprom_priv *priv = context;
- u8 *val = _val;
- int i = 0, words = bytes;
-
- while (words--)
- writeb(*val++, priv->base + reg + i++);
-
- return 0;
-}
-
static struct nvmem_config econfig = {
.name = "qfprom",
.stride = 1,
.word_size = 1,
.reg_read = qfprom_reg_read,
- .reg_write = qfprom_reg_write,
};
static int qfprom_probe(struct platform_device *pdev)
--
2.26.2
This is a note to let you know that I've just added the patch titled
USB: serial: ch341: fix lockup of devices with limited prescaler
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From c432df155919582a3cefa35a8f86256c830fa9a4 Mon Sep 17 00:00:00 2001
From: Johan Hovold <johan(a)kernel.org>
Date: Thu, 14 May 2020 11:36:45 +0200
Subject: USB: serial: ch341: fix lockup of devices with limited prescaler
Michael Hanselmann reports that
[a] subset of all CH341 devices stop responding to bulk
transfers, usually after the third byte, when the highest
prescaler bit (0b100) is set. There is one exception, namely a
prescaler of exactly 0b111 (fact=1, ps=3).
Fix this by forcing a lower base clock (fact = 0) whenever needed.
This specifically makes the standard rates 110, 134 and 200 bps work
again with these devices.
Fixes: 35714565089e ("USB: serial: ch341: reimplement line-speed handling")
Cc: stable <stable(a)vger.kernel.org> # 5.5
Reported-by: Michael Hanselmann <public(a)hansmi.ch>
Link: https://lore.kernel.org/r/20200514141743.GE25962@localhost
Signed-off-by: Johan Hovold <johan(a)kernel.org>
---
drivers/usb/serial/ch341.c | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c
index f2b93f4554a7..89675ee29645 100644
--- a/drivers/usb/serial/ch341.c
+++ b/drivers/usb/serial/ch341.c
@@ -73,6 +73,8 @@
#define CH341_LCR_CS6 0x01
#define CH341_LCR_CS5 0x00
+#define CH341_QUIRK_LIMITED_PRESCALER BIT(0)
+
static const struct usb_device_id id_table[] = {
{ USB_DEVICE(0x4348, 0x5523) },
{ USB_DEVICE(0x1a86, 0x7523) },
@@ -160,9 +162,11 @@ static const speed_t ch341_min_rates[] = {
* 2 <= div <= 256 if fact = 0, or
* 9 <= div <= 256 if fact = 1
*/
-static int ch341_get_divisor(speed_t speed)
+static int ch341_get_divisor(struct ch341_private *priv)
{
unsigned int fact, div, clk_div;
+ speed_t speed = priv->baud_rate;
+ bool force_fact0 = false;
int ps;
/*
@@ -188,8 +192,12 @@ static int ch341_get_divisor(speed_t speed)
clk_div = CH341_CLK_DIV(ps, fact);
div = CH341_CLKRATE / (clk_div * speed);
+ /* Some devices require a lower base clock if ps < 3. */
+ if (ps < 3 && (priv->quirks & CH341_QUIRK_LIMITED_PRESCALER))
+ force_fact0 = true;
+
/* Halve base clock (fact = 0) if required. */
- if (div < 9 || div > 255) {
+ if (div < 9 || div > 255 || force_fact0) {
div /= 2;
clk_div *= 2;
fact = 0;
@@ -228,7 +236,7 @@ static int ch341_set_baudrate_lcr(struct usb_device *dev,
if (!priv->baud_rate)
return -EINVAL;
- val = ch341_get_divisor(priv->baud_rate);
+ val = ch341_get_divisor(priv);
if (val < 0)
return -EINVAL;
@@ -333,6 +341,7 @@ static int ch341_detect_quirks(struct usb_serial_port *port)
CH341_REG_BREAK, 0, buffer, size, DEFAULT_TIMEOUT);
if (r == -EPIPE) {
dev_dbg(&port->dev, "break control not supported\n");
+ quirks = CH341_QUIRK_LIMITED_PRESCALER;
r = 0;
goto out;
}
--
2.26.2
This is a note to let you know that I've just added the patch titled
USB: serial: ch341: add basis for quirk detection
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From c404bf4aa9236cb4d1068e499ae42acf48a6ff97 Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <public(a)hansmi.ch>
Date: Tue, 31 Mar 2020 23:37:18 +0000
Subject: USB: serial: ch341: add basis for quirk detection
A subset of CH341 devices does not support all features, namely the
prescaler is limited to a reduced precision and there is no support for
sending a RS232 break condition. This patch adds a detection function
which will be extended to set quirk flags as they're implemented.
The author's affected device has an imprint of "340" on the
turquoise-colored plug, but not all such devices appear to be affected.
Signed-off-by: Michael Hanselmann <public(a)hansmi.ch>
Link: https://lore.kernel.org/r/1e1ae0da6082bb528a44ef323d4e1d3733d38858.15856972…
[ johan: use long type for quirks; rephrase and use port device for
messages; handle short reads; set quirk flags directly in
helper function ]
Cc: stable <stable(a)vger.kernel.org> # 5.5
Signed-off-by: Johan Hovold <johan(a)kernel.org>
---
drivers/usb/serial/ch341.c | 53 ++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c
index c5ecdcd51ffc..f2b93f4554a7 100644
--- a/drivers/usb/serial/ch341.c
+++ b/drivers/usb/serial/ch341.c
@@ -87,6 +87,7 @@ struct ch341_private {
u8 mcr;
u8 msr;
u8 lcr;
+ unsigned long quirks;
};
static void ch341_set_termios(struct tty_struct *tty,
@@ -308,6 +309,53 @@ out: kfree(buffer);
return r;
}
+static int ch341_detect_quirks(struct usb_serial_port *port)
+{
+ struct ch341_private *priv = usb_get_serial_port_data(port);
+ struct usb_device *udev = port->serial->dev;
+ const unsigned int size = 2;
+ unsigned long quirks = 0;
+ char *buffer;
+ int r;
+
+ buffer = kmalloc(size, GFP_KERNEL);
+ if (!buffer)
+ return -ENOMEM;
+
+ /*
+ * A subset of CH34x devices does not support all features. The
+ * prescaler is limited and there is no support for sending a RS232
+ * break condition. A read failure when trying to set up the latter is
+ * used to detect these devices.
+ */
+ r = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0), CH341_REQ_READ_REG,
+ USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN,
+ CH341_REG_BREAK, 0, buffer, size, DEFAULT_TIMEOUT);
+ if (r == -EPIPE) {
+ dev_dbg(&port->dev, "break control not supported\n");
+ r = 0;
+ goto out;
+ }
+
+ if (r != size) {
+ if (r >= 0)
+ r = -EIO;
+ dev_err(&port->dev, "failed to read break control: %d\n", r);
+ goto out;
+ }
+
+ r = 0;
+out:
+ kfree(buffer);
+
+ if (quirks) {
+ dev_dbg(&port->dev, "enabling quirk flags: 0x%02lx\n", quirks);
+ priv->quirks |= quirks;
+ }
+
+ return r;
+}
+
static int ch341_port_probe(struct usb_serial_port *port)
{
struct ch341_private *priv;
@@ -330,6 +378,11 @@ static int ch341_port_probe(struct usb_serial_port *port)
goto error;
usb_set_serial_port_data(port, priv);
+
+ r = ch341_detect_quirks(port);
+ if (r < 0)
+ goto error;
+
return 0;
error: kfree(priv);
--
2.26.2
This is a note to let you know that I've just added the patch titled
USB: serial: ch341: add basis for quirk detection
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the usb-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
>From c404bf4aa9236cb4d1068e499ae42acf48a6ff97 Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <public(a)hansmi.ch>
Date: Tue, 31 Mar 2020 23:37:18 +0000
Subject: USB: serial: ch341: add basis for quirk detection
A subset of CH341 devices does not support all features, namely the
prescaler is limited to a reduced precision and there is no support for
sending a RS232 break condition. This patch adds a detection function
which will be extended to set quirk flags as they're implemented.
The author's affected device has an imprint of "340" on the
turquoise-colored plug, but not all such devices appear to be affected.
Signed-off-by: Michael Hanselmann <public(a)hansmi.ch>
Link: https://lore.kernel.org/r/1e1ae0da6082bb528a44ef323d4e1d3733d38858.15856972…
[ johan: use long type for quirks; rephrase and use port device for
messages; handle short reads; set quirk flags directly in
helper function ]
Cc: stable <stable(a)vger.kernel.org> # 5.5
Signed-off-by: Johan Hovold <johan(a)kernel.org>
---
drivers/usb/serial/ch341.c | 53 ++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c
index c5ecdcd51ffc..f2b93f4554a7 100644
--- a/drivers/usb/serial/ch341.c
+++ b/drivers/usb/serial/ch341.c
@@ -87,6 +87,7 @@ struct ch341_private {
u8 mcr;
u8 msr;
u8 lcr;
+ unsigned long quirks;
};
static void ch341_set_termios(struct tty_struct *tty,
@@ -308,6 +309,53 @@ out: kfree(buffer);
return r;
}
+static int ch341_detect_quirks(struct usb_serial_port *port)
+{
+ struct ch341_private *priv = usb_get_serial_port_data(port);
+ struct usb_device *udev = port->serial->dev;
+ const unsigned int size = 2;
+ unsigned long quirks = 0;
+ char *buffer;
+ int r;
+
+ buffer = kmalloc(size, GFP_KERNEL);
+ if (!buffer)
+ return -ENOMEM;
+
+ /*
+ * A subset of CH34x devices does not support all features. The
+ * prescaler is limited and there is no support for sending a RS232
+ * break condition. A read failure when trying to set up the latter is
+ * used to detect these devices.
+ */
+ r = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0), CH341_REQ_READ_REG,
+ USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN,
+ CH341_REG_BREAK, 0, buffer, size, DEFAULT_TIMEOUT);
+ if (r == -EPIPE) {
+ dev_dbg(&port->dev, "break control not supported\n");
+ r = 0;
+ goto out;
+ }
+
+ if (r != size) {
+ if (r >= 0)
+ r = -EIO;
+ dev_err(&port->dev, "failed to read break control: %d\n", r);
+ goto out;
+ }
+
+ r = 0;
+out:
+ kfree(buffer);
+
+ if (quirks) {
+ dev_dbg(&port->dev, "enabling quirk flags: 0x%02lx\n", quirks);
+ priv->quirks |= quirks;
+ }
+
+ return r;
+}
+
static int ch341_port_probe(struct usb_serial_port *port)
{
struct ch341_private *priv;
@@ -330,6 +378,11 @@ static int ch341_port_probe(struct usb_serial_port *port)
goto error;
usb_set_serial_port_data(port, priv);
+
+ r = ch341_detect_quirks(port);
+ if (r < 0)
+ goto error;
+
return 0;
error: kfree(priv);
--
2.26.2
This is a note to let you know that I've just added the patch titled
USB: serial: ch341: fix lockup of devices with limited prescaler
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the usb-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
>From c432df155919582a3cefa35a8f86256c830fa9a4 Mon Sep 17 00:00:00 2001
From: Johan Hovold <johan(a)kernel.org>
Date: Thu, 14 May 2020 11:36:45 +0200
Subject: USB: serial: ch341: fix lockup of devices with limited prescaler
Michael Hanselmann reports that
[a] subset of all CH341 devices stop responding to bulk
transfers, usually after the third byte, when the highest
prescaler bit (0b100) is set. There is one exception, namely a
prescaler of exactly 0b111 (fact=1, ps=3).
Fix this by forcing a lower base clock (fact = 0) whenever needed.
This specifically makes the standard rates 110, 134 and 200 bps work
again with these devices.
Fixes: 35714565089e ("USB: serial: ch341: reimplement line-speed handling")
Cc: stable <stable(a)vger.kernel.org> # 5.5
Reported-by: Michael Hanselmann <public(a)hansmi.ch>
Link: https://lore.kernel.org/r/20200514141743.GE25962@localhost
Signed-off-by: Johan Hovold <johan(a)kernel.org>
---
drivers/usb/serial/ch341.c | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c
index f2b93f4554a7..89675ee29645 100644
--- a/drivers/usb/serial/ch341.c
+++ b/drivers/usb/serial/ch341.c
@@ -73,6 +73,8 @@
#define CH341_LCR_CS6 0x01
#define CH341_LCR_CS5 0x00
+#define CH341_QUIRK_LIMITED_PRESCALER BIT(0)
+
static const struct usb_device_id id_table[] = {
{ USB_DEVICE(0x4348, 0x5523) },
{ USB_DEVICE(0x1a86, 0x7523) },
@@ -160,9 +162,11 @@ static const speed_t ch341_min_rates[] = {
* 2 <= div <= 256 if fact = 0, or
* 9 <= div <= 256 if fact = 1
*/
-static int ch341_get_divisor(speed_t speed)
+static int ch341_get_divisor(struct ch341_private *priv)
{
unsigned int fact, div, clk_div;
+ speed_t speed = priv->baud_rate;
+ bool force_fact0 = false;
int ps;
/*
@@ -188,8 +192,12 @@ static int ch341_get_divisor(speed_t speed)
clk_div = CH341_CLK_DIV(ps, fact);
div = CH341_CLKRATE / (clk_div * speed);
+ /* Some devices require a lower base clock if ps < 3. */
+ if (ps < 3 && (priv->quirks & CH341_QUIRK_LIMITED_PRESCALER))
+ force_fact0 = true;
+
/* Halve base clock (fact = 0) if required. */
- if (div < 9 || div > 255) {
+ if (div < 9 || div > 255 || force_fact0) {
div /= 2;
clk_div *= 2;
fact = 0;
@@ -228,7 +236,7 @@ static int ch341_set_baudrate_lcr(struct usb_device *dev,
if (!priv->baud_rate)
return -EINVAL;
- val = ch341_get_divisor(priv->baud_rate);
+ val = ch341_get_divisor(priv);
if (val < 0)
return -EINVAL;
@@ -333,6 +341,7 @@ static int ch341_detect_quirks(struct usb_serial_port *port)
CH341_REG_BREAK, 0, buffer, size, DEFAULT_TIMEOUT);
if (r == -EPIPE) {
dev_dbg(&port->dev, "break control not supported\n");
+ quirks = CH341_QUIRK_LIMITED_PRESCALER;
r = 0;
goto out;
}
--
2.26.2
This is a note to let you know that I've just added the patch titled
CDC-ACM: heed quirk also in error handling
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From 97fe809934dd2b0b37dfef3a2fc70417f485d7af Mon Sep 17 00:00:00 2001
From: Oliver Neukum <oneukum(a)suse.com>
Date: Tue, 26 May 2020 14:44:20 +0200
Subject: CDC-ACM: heed quirk also in error handling
If buffers are iterated over in the error case, the lower limits
for quirky devices must be heeded.
Signed-off-by: Oliver Neukum <oneukum(a)suse.com>
Reported-by: Jean Rene Dawin <jdawin(a)math.uni-bielefeld.de>
Fixes: a4e7279cd1d19 ("cdc-acm: introduce a cool down")
Cc: stable <stable(a)vger.kernel.org>
Link: https://lore.kernel.org/r/20200526124420.22160-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/usb/class/cdc-acm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index ded8d93834ca..f67088bb8218 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -584,7 +584,7 @@ static void acm_softint(struct work_struct *work)
}
if (test_and_clear_bit(ACM_ERROR_DELAY, &acm->flags)) {
- for (i = 0; i < ACM_NR; i++)
+ for (i = 0; i < acm->rx_buflimit; i++)
if (test_and_clear_bit(i, &acm->urbs_in_error_delay))
acm_submit_read_urb(acm, i, GFP_NOIO);
}
--
2.26.2
Hello,
We ran automated tests on a recent commit from this kernel tree:
Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
Commit: cbdc70af0e54 - umh: fix refcount underflow in fork_usermode_blob().
The results of these automated tests are provided below.
Overall result: PASSED
Merge: OK
Compile: OK
Tests: OK
All kernel binaries, config files, and logs are available for download here:
https://cki-artifacts.s3.us-east-2.amazonaws.com/index.html?prefix=dataware…
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
Compile testing
---------------
We compiled the kernel for 4 architectures:
aarch64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
ppc64le:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
s390x:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
x86_64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
Hardware testing
----------------
We booted each kernel and ran the following tests:
aarch64:
Host 1:
✅ Boot test
✅ xfstests - ext4
✅ xfstests - xfs
✅ selinux-policy: serge-testsuite
✅ storage: software RAID testing
🚧 ✅ IPMI driver test
🚧 ✅ IPMItool loop stress test
🚧 ❌ Storage blktests
Host 2:
✅ Boot test
✅ Podman system integration test - as root
✅ Podman system integration test - as user
✅ LTP
✅ Loopdev Sanity
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Networking bridge: sanity
✅ Ethernet drivers sanity
✅ Networking socket: fuzz
✅ Networking: igmp conformance test
✅ Networking route: pmtu
✅ Networking route_func - local
✅ Networking route_func - forward
✅ Networking TCP: keepalive test
✅ Networking UDP: socket
✅ Networking tunnel: geneve basic test
✅ Networking tunnel: gre basic
✅ L2TP basic test
✅ Networking tunnel: vxlan basic
✅ Networking ipsec: basic netns - transport
✅ Networking ipsec: basic netns - tunnel
✅ Libkcapi AF_ALG test
✅ pciutils: update pci ids test
✅ ALSA PCM loopback test
✅ ALSA Control (mixer) Userspace Element test
✅ storage: SCSI VPD
🚧 ✅ CIFS Connectathon
🚧 ✅ POSIX pjd-fstest suites
🚧 ✅ jvm - DaCapo Benchmark Suite
🚧 ✅ jvm - jcstress tests
🚧 ✅ Memory function: kaslr
🚧 ✅ Networking firewall: basic netfilter test
🚧 ✅ audit: audit testsuite test
🚧 ✅ trace: ftrace/tracer
🚧 ✅ kdump - kexec_boot
ppc64le:
Host 1:
✅ Boot test
✅ xfstests - ext4
✅ xfstests - xfs
✅ selinux-policy: serge-testsuite
✅ storage: software RAID testing
🚧 ✅ IPMI driver test
🚧 ✅ IPMItool loop stress test
🚧 ❌ Storage blktests
Host 2:
✅ Boot test
🚧 ✅ kdump - sysrq-c
Host 3:
✅ Boot test
✅ Podman system integration test - as root
✅ Podman system integration test - as user
✅ LTP
✅ Loopdev Sanity
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Networking bridge: sanity
✅ Ethernet drivers sanity
✅ Networking socket: fuzz
✅ Networking route: pmtu
✅ Networking route_func - local
✅ Networking route_func - forward
✅ Networking TCP: keepalive test
✅ Networking UDP: socket
✅ Networking tunnel: geneve basic test
✅ Networking tunnel: gre basic
✅ L2TP basic test
✅ Networking tunnel: vxlan basic
✅ Networking ipsec: basic netns - tunnel
✅ Libkcapi AF_ALG test
✅ pciutils: update pci ids test
✅ ALSA PCM loopback test
✅ ALSA Control (mixer) Userspace Element test
🚧 ✅ CIFS Connectathon
🚧 ✅ POSIX pjd-fstest suites
🚧 ✅ jvm - DaCapo Benchmark Suite
🚧 ✅ jvm - jcstress tests
🚧 ✅ Memory function: kaslr
🚧 ✅ Networking firewall: basic netfilter test
🚧 ✅ audit: audit testsuite test
🚧 ✅ trace: ftrace/tracer
s390x:
Host 1:
✅ Boot test
🚧 ✅ kdump - sysrq-c
Host 2:
✅ Boot test
✅ Podman system integration test - as root
✅ Podman system integration test - as user
✅ LTP
✅ Loopdev Sanity
✅ Memory function: memfd_create
✅ Networking bridge: sanity
✅ Ethernet drivers sanity
✅ Networking route: pmtu
✅ Networking route_func - local
✅ Networking route_func - forward
✅ Networking TCP: keepalive test
✅ Networking UDP: socket
✅ Networking tunnel: geneve basic test
✅ Networking tunnel: gre basic
✅ L2TP basic test
✅ Networking tunnel: vxlan basic
✅ Networking ipsec: basic netns - transport
✅ Networking ipsec: basic netns - tunnel
✅ Libkcapi AF_ALG test
🚧 ✅ CIFS Connectathon
🚧 ✅ POSIX pjd-fstest suites
🚧 ✅ jvm - DaCapo Benchmark Suite
🚧 ✅ jvm - jcstress tests
🚧 ✅ Memory function: kaslr
🚧 ✅ Networking firewall: basic netfilter test
🚧 ❌ audit: audit testsuite test
🚧 ✅ trace: ftrace/tracer
🚧 ✅ kdump - kexec_boot
Host 3:
✅ Boot test
✅ stress: stress-ng
🚧 ❌ Storage blktests
x86_64:
Host 1:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
⚡⚡⚡ Boot test
🚧 ⚡⚡⚡ kdump - sysrq-c
Host 2:
✅ Boot test
✅ Podman system integration test - as root
✅ Podman system integration test - as user
✅ LTP
✅ Loopdev Sanity
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Networking bridge: sanity
✅ Ethernet drivers sanity
✅ Networking socket: fuzz
✅ Networking: igmp conformance test
✅ Networking route: pmtu
✅ Networking route_func - local
✅ Networking route_func - forward
✅ Networking TCP: keepalive test
✅ Networking UDP: socket
✅ Networking tunnel: geneve basic test
✅ Networking tunnel: gre basic
✅ L2TP basic test
✅ Networking tunnel: vxlan basic
✅ Networking ipsec: basic netns - transport
✅ Networking ipsec: basic netns - tunnel
✅ Libkcapi AF_ALG test
✅ pciutils: sanity smoke test
✅ pciutils: update pci ids test
✅ ALSA PCM loopback test
✅ ALSA Control (mixer) Userspace Element test
✅ storage: SCSI VPD
🚧 ✅ CIFS Connectathon
🚧 ✅ POSIX pjd-fstest suites
🚧 ✅ jvm - DaCapo Benchmark Suite
🚧 ✅ jvm - jcstress tests
🚧 ✅ Memory function: kaslr
🚧 ✅ Networking firewall: basic netfilter test
🚧 ✅ audit: audit testsuite test
🚧 ✅ trace: ftrace/tracer
🚧 ✅ kdump - kexec_boot
Host 3:
✅ Boot test
✅ xfstests - ext4
✅ xfstests - xfs
✅ selinux-policy: serge-testsuite
✅ storage: software RAID testing
✅ stress: stress-ng
🚧 ❌ CPU: Frequency Driver Test
🚧 ✅ CPU: Idle Test
🚧 ✅ IOMMU boot test
🚧 ✅ IPMI driver test
🚧 ✅ IPMItool loop stress test
🚧 ❌ Storage blktests
Host 4:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
⚡⚡⚡ Boot test
🚧 ⚡⚡⚡ kdump - sysrq-c
Host 5:
✅ Boot test
🚧 ❌ kdump - sysrq-c
Test sources: https://github.com/CKI-project/tests-beaker
💚 Pull requests are welcome for new tests or improvements to existing tests!
Aborted tests
-------------
Tests that didn't complete running successfully are marked with ⚡⚡⚡.
If this was caused by an infrastructure issue, we try to mark that
explicitly in the report.
Waived tests
------------
If the test run included waived tests, they are marked with 🚧. Such tests are
executed but their results are not taken into account. Tests are waived when
their results are not reliable enough, e.g. when they're just introduced or are
being fixed.
Testing timeout
---------------
We aim to provide a report within reasonable timeframe. Tests that haven't
finished running yet are marked with ⏱.
From: Punit Agrawal <punit1.agrawal(a)toshiba.co.jp>
It's an error if the value of the RX/TX tail descriptor does not match
what was written. The error condition is true regardless the duration
of the interference from ME. But the driver only performs the reset if
E1000_ICH_FWSM_PCIM2PCI_COUNT (2000) iterations of 50us delay have
transpired. The extra condition can lead to inconsistency between the
state of hardware as expected by the driver.
Fix this by dropping the check for number of delay iterations.
While at it, also make __ew32_prepare() static as it's not used
anywhere else.
CC: stable <stable(a)vger.kernel.org>
Signed-off-by: Punit Agrawal <punit1.agrawal(a)toshiba.co.jp>
Reviewed-by: Alexander Duyck <alexander.h.duyck(a)linux.intel.com>
Tested-by: Aaron Brown <aaron.f.brown(a)intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher(a)intel.com>
---
drivers/net/ethernet/intel/e1000e/e1000.h | 1 -
drivers/net/ethernet/intel/e1000e/netdev.c | 12 +++++-------
2 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ethernet/intel/e1000e/e1000.h b/drivers/net/ethernet/intel/e1000e/e1000.h
index 37a2314d3e6b..944abd5eae11 100644
--- a/drivers/net/ethernet/intel/e1000e/e1000.h
+++ b/drivers/net/ethernet/intel/e1000e/e1000.h
@@ -576,7 +576,6 @@ static inline u32 __er32(struct e1000_hw *hw, unsigned long reg)
#define er32(reg) __er32(hw, E1000_##reg)
-s32 __ew32_prepare(struct e1000_hw *hw);
void __ew32(struct e1000_hw *hw, unsigned long reg, u32 val);
#define ew32(reg, val) __ew32(hw, E1000_##reg, (val))
diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c
index 32f23a15ff64..444532292588 100644
--- a/drivers/net/ethernet/intel/e1000e/netdev.c
+++ b/drivers/net/ethernet/intel/e1000e/netdev.c
@@ -158,14 +158,12 @@ static bool e1000e_check_me(u16 device_id)
* has bit 24 set while ME is accessing MAC CSR registers, wait if it is set
* and try again a number of times.
**/
-s32 __ew32_prepare(struct e1000_hw *hw)
+static void __ew32_prepare(struct e1000_hw *hw)
{
s32 i = E1000_ICH_FWSM_PCIM2PCI_COUNT;
while ((er32(FWSM) & E1000_ICH_FWSM_PCIM2PCI) && --i)
udelay(50);
-
- return i;
}
void __ew32(struct e1000_hw *hw, unsigned long reg, u32 val)
@@ -646,11 +644,11 @@ static void e1000e_update_rdt_wa(struct e1000_ring *rx_ring, unsigned int i)
{
struct e1000_adapter *adapter = rx_ring->adapter;
struct e1000_hw *hw = &adapter->hw;
- s32 ret_val = __ew32_prepare(hw);
+ __ew32_prepare(hw);
writel(i, rx_ring->tail);
- if (unlikely(!ret_val && (i != readl(rx_ring->tail)))) {
+ if (unlikely(i != readl(rx_ring->tail))) {
u32 rctl = er32(RCTL);
ew32(RCTL, rctl & ~E1000_RCTL_EN);
@@ -663,11 +661,11 @@ static void e1000e_update_tdt_wa(struct e1000_ring *tx_ring, unsigned int i)
{
struct e1000_adapter *adapter = tx_ring->adapter;
struct e1000_hw *hw = &adapter->hw;
- s32 ret_val = __ew32_prepare(hw);
+ __ew32_prepare(hw);
writel(i, tx_ring->tail);
- if (unlikely(!ret_val && (i != readl(tx_ring->tail)))) {
+ if (unlikely(i != readl(tx_ring->tail))) {
u32 tctl = er32(TCTL);
ew32(TCTL, tctl & ~E1000_TCTL_EN);
--
2.26.2
When some new clock supports are introduced, e.g. [1]
it might lead to an error although it should be NULL because
clk_init_data is on the stack and it might have random values
if using without initialization.
Add the missing initial value to clk_init_data.
[1] https://android-review.googlesource.com/c/kernel/common/+/1278046
Fixes: a3ae549917f1 ("clk: mediatek: Add new clkmux register API")
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Weiyi Lu <weiyi.lu(a)mediatek.com>
Reviewed-by: Matthias Brugger <matthias.bgg(a)gmail.com>
---
drivers/clk/mediatek/clk-mux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/mediatek/clk-mux.c b/drivers/clk/mediatek/clk-mux.c
index 76f9cd0..14e127e 100644
--- a/drivers/clk/mediatek/clk-mux.c
+++ b/drivers/clk/mediatek/clk-mux.c
@@ -160,7 +160,7 @@ struct clk *mtk_clk_register_mux(const struct mtk_mux *mux,
spinlock_t *lock)
{
struct mtk_clk_mux *clk_mux;
- struct clk_init_data init;
+ struct clk_init_data init = {};
struct clk *clk;
clk_mux = kzalloc(sizeof(*clk_mux), GFP_KERNEL);
--
1.8.1.1.dirty
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-5.4.y/kernel/v5.4.43/p…
-------------------------------------------------------------------------------
stable-rc/linux-5.4.y boot: 138 boots: 2 failed, 125 passed with 8 offline, 3 untried/unknown (v5.4.43)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.4.y/kernel/v5.4.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-5.4.y/kernel/v5.4.43/
Tree: stable-rc
Branch: linux-5.4.y
Git Describe: v5.4.43
Git Commit: e0d81ce760044efd3f26004aa32821c34968512a
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 96 unique boards, 26 SoC families, 16 builds out of 163
Boot Regressions Detected:
arc:
hsdk_defconfig:
gcc-8:
hsdk:
lab-baylibre: failing since 2 days (last pass: v5.4.42 - first fail: v5.4.42-105-g3cb79944b65a)
arm:
davinci_all_defconfig:
gcc-8:
da850-evm:
lab-baylibre-seattle: new failure (last pass: v5.4.42-112-g00dd3347ad64)
dm365evm,legacy:
lab-baylibre-seattle: new failure (last pass: v5.4.42-112-g00dd3347ad64)
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 110 days (last pass: v5.4.17-99-gbd0c6624a110 - first fail: v5.4.17-238-gbffcaa93483d)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 51 days (last pass: v5.4.30-37-g40da5db79b55 - first fail: v5.4.30-39-g23c04177b89f)
riscv:
defconfig:
gcc-8:
sifive_fu540:
lab-baylibre-seattle: new failure (last pass: v5.4.42-112-g00dd3347ad64)
Boot Failures Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
multi_v7_defconfig:
gcc-8:
bcm4708-smartrg-sr400ac: 1 failed lab
Offline Platforms:
arm64:
defconfig:
gcc-8
meson-gxm-nexbox-a1: 1 offline lab
riscv:
defconfig:
gcc-8
sifive_fu540: 1 offline lab
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
davinci_all_defconfig:
gcc-8
da850-evm: 1 offline lab
dm365evm,legacy: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-5.6.y/kernel/v5.6.15/p…
-------------------------------------------------------------------------------
stable-rc/linux-5.6.y boot: 132 boots: 2 failed, 120 passed with 7 offline, 3 untried/unknown (v5.6.15)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.6.y/kernel/v5.6.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-5.6.y/kernel/v5.6.15/
Tree: stable-rc
Branch: linux-5.6.y
Git Describe: v5.6.15
Git Commit: 183673bef8533a3744ad27e32ca901de59e09307
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 88 unique boards, 23 SoC families, 19 builds out of 156
Boot Regressions Detected:
arm:
sunxi_defconfig:
gcc-8:
sun8i-h3-libretech-all-h3-cc:
lab-baylibre: new failure (last pass: v5.6.14-121-g8f40203f4915)
riscv:
defconfig:
gcc-8:
sifive_fu540:
lab-baylibre-seattle: new failure (last pass: v5.6.14-121-g8f40203f4915)
Boot Failures Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
multi_v7_defconfig:
gcc-8:
bcm4708-smartrg-sr400ac: 1 failed lab
Offline Platforms:
arm64:
defconfig:
gcc-8
meson-gxm-nexbox-a1: 1 offline lab
riscv:
defconfig:
gcc-8
sifive_fu540: 1 offline lab
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
---
For more info write to <info(a)kernelci.org>
When reserved transaction handle is unused, we subtract its reserved
credits in __jbd2_journal_unreserve_handle() called from
jbd2_journal_stop(). However this function forgets to remove reserved
credits from transaction->t_outstanding_credits and thus the transaction
space that was reserved remains effectively leaked. The leaked
transaction space can be quite significant in some cases and leads to
unnecessarily small transactions and thus reducing throughput of the
journalling machinery. E.g. fsmark workload creating lots of 4k files
was observed to have about 20% lower throughput due to this when ext4 is
mounted with dioread_nolock mount option.
Subtract reserved credits from t_outstanding_credits as well.
CC: stable(a)vger.kernel.org
Fixes: 8f7d89f36829 ("jbd2: transaction reservation support")
Reviewed-by: Andreas Dilger <adilger(a)dilger.ca>
Signed-off-by: Jan Kara <jack(a)suse.cz>
---
fs/jbd2/transaction.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c
index 3dccc23cf010..e91aad3637a2 100644
--- a/fs/jbd2/transaction.c
+++ b/fs/jbd2/transaction.c
@@ -541,17 +541,24 @@ handle_t *jbd2_journal_start(journal_t *journal, int nblocks)
}
EXPORT_SYMBOL(jbd2_journal_start);
-static void __jbd2_journal_unreserve_handle(handle_t *handle)
+static void __jbd2_journal_unreserve_handle(handle_t *handle, transaction_t *t)
{
journal_t *journal = handle->h_journal;
WARN_ON(!handle->h_reserved);
sub_reserved_credits(journal, handle->h_total_credits);
+ if (t)
+ atomic_sub(handle->h_total_credits, &t->t_outstanding_credits);
}
void jbd2_journal_free_reserved(handle_t *handle)
{
- __jbd2_journal_unreserve_handle(handle);
+ journal_t *journal = handle->h_journal;
+
+ /* Get j_state_lock to pin running transaction if it exists */
+ read_lock(&journal->j_state_lock);
+ __jbd2_journal_unreserve_handle(handle, journal->j_running_transaction);
+ read_unlock(&journal->j_state_lock);
jbd2_free_handle(handle);
}
EXPORT_SYMBOL(jbd2_journal_free_reserved);
@@ -722,7 +729,8 @@ static void stop_this_handle(handle_t *handle)
atomic_sub(handle->h_total_credits,
&transaction->t_outstanding_credits);
if (handle->h_rsv_handle)
- __jbd2_journal_unreserve_handle(handle->h_rsv_handle);
+ __jbd2_journal_unreserve_handle(handle->h_rsv_handle,
+ transaction);
if (atomic_dec_and_test(&transaction->t_updates))
wake_up(&journal->j_wait_updates);
--
2.16.4
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.18…
-------------------------------------------------------------------------------
stable-rc/linux-4.14.y boot: 106 boots: 2 failed, 91 passed with 8 offline, 5 untried/unknown (v4.14.182)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.1…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.14.y/kernel/v4.14.182/
Tree: stable-rc
Branch: linux-4.14.y
Git Describe: v4.14.182
Git Commit: 4f68020fef1c6cf1b680ffb6481ac41379283ea3
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 72 unique boards, 20 SoC families, 13 builds out of 160
Boot Regressions Detected:
arm:
davinci_all_defconfig:
gcc-8:
da850-evm:
lab-baylibre-seattle: new failure (last pass: v4.14.181-59-g2c9e54b6ad6a)
dm365evm,legacy:
lab-baylibre-seattle: new failure (last pass: v4.14.181-59-g2c9e54b6ad6a)
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 15 days (last pass: v4.14.180 - first fail: v4.14.180-37-gad4fc99d1989)
Boot Failures Detected:
arm64:
defconfig:
gcc-8:
meson-gxbb-p200: 1 failed lab
meson-gxm-q200: 1 failed lab
Offline Platforms:
arm64:
defconfig:
gcc-8
meson-gxm-nexbox-a1: 1 offline lab
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
davinci_all_defconfig:
gcc-8
da850-evm: 1 offline lab
dm365evm,legacy: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.19.y/kernel/v4.19.12…
-------------------------------------------------------------------------------
stable-rc/linux-4.19.y boot: 44 boots: 1 failed, 40 passed with 3 offline (v4.19.125)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.19.y/kernel/v4.1…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.19.y/kernel/v4.19.125/
Tree: stable-rc
Branch: linux-4.19.y
Git Describe: v4.19.125
Git Commit: 2d16cf4817bc6944a2adb5bf4db607c8258e87da
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 39 unique boards, 15 SoC families, 14 builds out of 166
Boot Regressions Detected:
arm:
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 15 days (last pass: v4.19.122 - first fail: v4.19.122-48-g92ba0b6b33ad)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 76 days (last pass: v4.19.108-87-g624c124960e8 - first fail: v4.19.109)
Boot Failure Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
Offline Platforms:
arm64:
defconfig:
gcc-8
meson-gxm-nexbox-a1: 1 offline lab
arm:
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable/branch/linux-5.6.y/kernel/v5.6.15/plan…
-------------------------------------------------------------------------------
stable/linux-5.6.y boot: 103 boots: 3 failed, 97 passed with 3 untried/unknown (v5.6.15)
Full Boot Summary: https://kernelci.org/boot/all/job/stable/branch/linux-5.6.y/kernel/v5.6.15/
Full Build Summary: https://kernelci.org/build/stable/branch/linux-5.6.y/kernel/v5.6.15/
Tree: stable
Branch: linux-5.6.y
Git Describe: v5.6.15
Git Commit: 183673bef8533a3744ad27e32ca901de59e09307
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Tested: 66 unique boards, 18 SoC families, 15 builds out of 165
Boot Regressions Detected:
arc:
hsdk_defconfig:
gcc-8:
hsdk:
lab-baylibre: failing since 8 days (last pass: v5.6.13 - first fail: v5.6.14)
arm64:
defconfig:
gcc-8:
meson-g12b-a311d-khadas-vim3:
lab-baylibre: new failure (last pass: v5.6.14)
meson-gxbb-p200:
lab-baylibre: new failure (last pass: v5.6.13)
Boot Failures Detected:
arm64:
defconfig:
gcc-8:
meson-g12b-a311d-khadas-vim3: 1 failed lab
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
multi_v7_defconfig:
gcc-8:
bcm2836-rpi-2-b: 1 failed lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable/branch/linux-4.14.y/kernel/v4.14.182/p…
-------------------------------------------------------------------------------
stable/linux-4.14.y boot: 79 boots: 3 failed, 76 passed (v4.14.182)
Full Boot Summary: https://kernelci.org/boot/all/job/stable/branch/linux-4.14.y/kernel/v4.14.1…
Full Build Summary: https://kernelci.org/build/stable/branch/linux-4.14.y/kernel/v4.14.182/
Tree: stable
Branch: linux-4.14.y
Git Describe: v4.14.182
Git Commit: 4f68020fef1c6cf1b680ffb6481ac41379283ea3
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Tested: 46 unique boards, 14 SoC families, 13 builds out of 161
Boot Regressions Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 126 days (last pass: v4.14.166 - first fail: v4.14.167)
Boot Failures Detected:
arm64:
defconfig:
gcc-8:
meson-gxbb-p200: 1 failed lab
meson-gxm-q200: 1 failed lab
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.9.y/kernel/v4.9.225/…
-------------------------------------------------------------------------------
stable-rc/linux-4.9.y boot: 102 boots: 1 failed, 89 passed with 7 offline, 5 untried/unknown (v4.9.225)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.9.y/kernel/v4.9.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.9.y/kernel/v4.9.225/
Tree: stable-rc
Branch: linux-4.9.y
Git Describe: v4.9.225
Git Commit: 82dddebfe7da9d2670977ab723da2fdac3eff5b0
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 58 unique boards, 19 SoC families, 18 builds out of 158
Boot Regressions Detected:
arm:
davinci_all_defconfig:
gcc-8:
da850-evm:
lab-baylibre-seattle: failing since 2 days (last pass: v4.9.224 - first fail: v4.9.224-65-g7b44b8e27432)
dm365evm,legacy:
lab-baylibre-seattle: failing since 2 days (last pass: v4.9.224 - first fail: v4.9.224-65-g7b44b8e27432)
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 15 days (last pass: v4.9.223 - first fail: v4.9.223-25-g6dfb25040a46)
Boot Failure Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
Offline Platforms:
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
davinci_all_defconfig:
gcc-8
da850-evm: 1 offline lab
dm365evm,legacy: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.225/…
-------------------------------------------------------------------------------
stable-rc/linux-4.4.y boot: 90 boots: 3 failed, 77 passed with 6 offline, 4 untried/unknown (v4.4.225)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.4.y/kernel/v4.4.225/
Tree: stable-rc
Branch: linux-4.4.y
Git Describe: v4.4.225
Git Commit: 646cdb183bb780e11e0ad4534d9054f77c31c8dc
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 47 unique boards, 17 SoC families, 17 builds out of 154
Boot Regressions Detected:
arm:
davinci_all_defconfig:
gcc-8:
da850-evm:
lab-baylibre-seattle: new failure (last pass: v4.4.224-66-g147ece171c0d)
dm365evm,legacy:
lab-baylibre-seattle: new failure (last pass: v4.4.224-66-g147ece171c0d)
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 15 days (last pass: v4.4.223 - first fail: v4.4.223-36-g32f5ec9b096d)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 63 days (last pass: v4.4.216-127-g955137020949 - first fail: v4.4.217)
Boot Failures Detected:
arm:
multi_v5_defconfig:
gcc-8:
imx27-phytec-phycard-s-rdk: 1 failed lab
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
imx_v4_v5_defconfig:
gcc-8:
imx27-phytec-phycard-s-rdk: 1 failed lab
Offline Platforms:
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
davinci_all_defconfig:
gcc-8
da850-evm: 1 offline lab
dm365evm,legacy: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
---
For more info write to <info(a)kernelci.org>
Sometimes it is better to unregister individual nodes instead of trying
to do them all at once with software_node_unregister_nodes(), so create
software_node_unregister() so that you can unregister them one at a
time.
This is especially important when creating nodes in a hierarchy, with
parent -> children representations. Children always need to be removed
before a parent is, as the swnode logic assumes this is going to be the
case.
Fix up the lib/test_printf.c fwnode_pointer() test which to use this new
function as it had the problem of tearing things down in the backwards
order.
Fixes: f1ce39df508d ("lib/test_printf: Add tests for %pfw printk modifier")
Reported-by: Naresh Kamboju <naresh.kamboju(a)linaro.org>
Reported-by: kernel test robot <rong.a.chen(a)intel.com>
Cc: stable <stable(a)vger.kernel.org>
Cc: Andy Shevchenko <andriy.shevchenko(a)linux.intel.com>
Cc: Brendan Higgins <brendanhiggins(a)google.com>
Cc: Dmitry Torokhov <dmitry.torokhov(a)gmail.com>
Cc: Heikki Krogerus <heikki.krogerus(a)linux.intel.com>
Cc: Petr Mladek <pmladek(a)suse.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki(a)intel.com>
Cc: Randy Dunlap <rdunlap(a)infradead.org>
Cc: Rasmus Villemoes <linux(a)rasmusvillemoes.dk>
Cc: Sakari Ailus <sakari.ailus(a)linux.intel.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com>
Cc: Steven Rostedt <rostedt(a)goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/base/swnode.c | 27 +++++++++++++++++++++------
include/linux/property.h | 1 +
lib/test_printf.c | 4 +++-
3 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/drivers/base/swnode.c b/drivers/base/swnode.c
index de8d3543e8fe..770b1f47a625 100644
--- a/drivers/base/swnode.c
+++ b/drivers/base/swnode.c
@@ -712,17 +712,18 @@ EXPORT_SYMBOL_GPL(software_node_register_nodes);
* @nodes: Zero terminated array of software nodes to be unregistered
*
* Unregister multiple software nodes at once.
+ *
+ * NOTE: Be careful using this call if the nodes had parent pointers set up in
+ * them before registering. If so, it is wiser to remove the nodes
+ * individually, in the correct order (child before parent) instead of relying
+ * on the sequential order of the list of nodes in the array.
*/
void software_node_unregister_nodes(const struct software_node *nodes)
{
- struct swnode *swnode;
int i;
- for (i = 0; nodes[i].name; i++) {
- swnode = software_node_to_swnode(&nodes[i]);
- if (swnode)
- fwnode_remove_software_node(&swnode->fwnode);
- }
+ for (i = 0; nodes[i].name; i++)
+ software_node_unregister(&nodes[i]);
}
EXPORT_SYMBOL_GPL(software_node_unregister_nodes);
@@ -741,6 +742,20 @@ int software_node_register(const struct software_node *node)
}
EXPORT_SYMBOL_GPL(software_node_register);
+/**
+ * software_node_unregister - Unregister static software node
+ * @node: The software node to be unregistered
+ */
+void software_node_unregister(const struct software_node *node)
+{
+ struct swnode *swnode;
+
+ swnode = software_node_to_swnode(node);
+ if (swnode)
+ fwnode_remove_software_node(&swnode->fwnode);
+}
+EXPORT_SYMBOL_GPL(software_node_unregister);
+
struct fwnode_handle *
fwnode_create_software_node(const struct property_entry *properties,
const struct fwnode_handle *parent)
diff --git a/include/linux/property.h b/include/linux/property.h
index d86de017c689..0d4099b4ce1f 100644
--- a/include/linux/property.h
+++ b/include/linux/property.h
@@ -441,6 +441,7 @@ int software_node_register_nodes(const struct software_node *nodes);
void software_node_unregister_nodes(const struct software_node *nodes);
int software_node_register(const struct software_node *node);
+void software_node_unregister(const struct software_node *node);
int software_node_notify(struct device *dev, unsigned long action);
diff --git a/lib/test_printf.c b/lib/test_printf.c
index 6b1622f4d7c2..fc63b8959d42 100644
--- a/lib/test_printf.c
+++ b/lib/test_printf.c
@@ -637,7 +637,9 @@ static void __init fwnode_pointer(void)
test(second_name, "%pfwP", software_node_fwnode(&softnodes[1]));
test(third_name, "%pfwP", software_node_fwnode(&softnodes[2]));
- software_node_unregister_nodes(softnodes);
+ software_node_unregister(&softnodes[2]);
+ software_node_unregister(&softnodes[1]);
+ software_node_unregister(&softnodes[0]);
}
static void __init
--
2.26.2
From: Dmitry V. Levin <ldv(a)altlinux.org>
commit a725eb15db80643a160310ed6bcfd6c5a6c907f2 upstream.
Because of <linux/libc-compat.h> interface limitations, <netinet/in.h>
provided by libc cannot be included after <linux/in.h>, therefore any
header that includes <netinet/in.h> cannot be included after <linux/in.h>.
Change uapi/linux/l2tp.h, the last uapi header that includes
<netinet/in.h>, to include <linux/in.h> and <linux/in6.h> instead of
<netinet/in.h> and use __SOCK_SIZE__ instead of sizeof(struct sockaddr)
the same way as uapi/linux/in.h does, to fix linux/if_pppol2tp.h userspace
compilation errors like this:
In file included from /usr/include/linux/l2tp.h:12:0,
from /usr/include/linux/if_pppol2tp.h:21,
/usr/include/netinet/in.h:31:8: error: redefinition of 'struct in_addr'
Fixes: cc84b4ddee15 ("net: l2tp: deprecate PPPOL2TP_MSG_* in favour of L2TP_MSG_*")
Signed-off-by: Dmitry V. Levin <ldv(a)altlinux.org>
Signed-off-by: David S. Miller <davem(a)davemloft.net>
Signed-off-by: Asbjoern Sloth Toennesen <asbjorn(a)asbjorn.st>
---
Notes:
Sorry for not submitting this in the review cycle,
was waiting for a response to my initial mail,
when the cycle was cut short, had planned to
reply to the review if I hadn't got a reply half
way through it.
https://lore.kernel.org/stable/25373712-4390-5a7a-d3f9-97bd7f2d8a2a@asbjorn…
I was unsure which commit, to put in Fixes:,
ended up with the stable commit, and not the
one from mainline. I hope that's correct.
Original patch thread:
https://lore.kernel.org/netdev/20170214103353.GA8394@altlinux.org/
include/uapi/linux/l2tp.h | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/include/uapi/linux/l2tp.h b/include/uapi/linux/l2tp.h
index bb2d62037037..80d85053fb06 100644
--- a/include/uapi/linux/l2tp.h
+++ b/include/uapi/linux/l2tp.h
@@ -9,9 +9,8 @@
#include <linux/types.h>
#include <linux/socket.h>
-#ifndef __KERNEL__
-#include <netinet/in.h>
-#endif
+#include <linux/in.h>
+#include <linux/in6.h>
#define IPPROTO_L2TP 115
@@ -31,7 +30,7 @@ struct sockaddr_l2tpip {
__u32 l2tp_conn_id; /* Connection ID of tunnel */
/* Pad to size of `struct sockaddr'. */
- unsigned char __pad[sizeof(struct sockaddr) -
+ unsigned char __pad[__SOCK_SIZE__ -
sizeof(__kernel_sa_family_t) -
sizeof(__be16) - sizeof(struct in_addr) -
sizeof(__u32)];
--
2.27.0.rc2
From: Dmitry V. Levin <ldv(a)altlinux.org>
commit a725eb15db80643a160310ed6bcfd6c5a6c907f2 upstream.
Because of <linux/libc-compat.h> interface limitations, <netinet/in.h>
provided by libc cannot be included after <linux/in.h>, therefore any
header that includes <netinet/in.h> cannot be included after <linux/in.h>.
Change uapi/linux/l2tp.h, the last uapi header that includes
<netinet/in.h>, to include <linux/in.h> and <linux/in6.h> instead of
<netinet/in.h> and use __SOCK_SIZE__ instead of sizeof(struct sockaddr)
the same way as uapi/linux/in.h does, to fix linux/if_pppol2tp.h userspace
compilation errors like this:
In file included from /usr/include/linux/l2tp.h:12:0,
from /usr/include/linux/if_pppol2tp.h:21,
/usr/include/netinet/in.h:31:8: error: redefinition of 'struct in_addr'
Fixes: a471a623e780 ("net: l2tp: deprecate PPPOL2TP_MSG_* in favour of L2TP_MSG_*")
Signed-off-by: Dmitry V. Levin <ldv(a)altlinux.org>
Signed-off-by: David S. Miller <davem(a)davemloft.net>
Signed-off-by: Asbjoern Sloth Toennesen <asbjorn(a)asbjorn.st>
---
Notes:
Sorry for not submitting this in the review cycle,
was waiting for a response to my initial mail,
when the cycle was cut short, had planned to
reply to the review if I hadn't got a reply half
way through it.
https://lore.kernel.org/stable/25373712-4390-5a7a-d3f9-97bd7f2d8a2a@asbjorn…
I was unsure which commit, to put in Fixes:,
ended up with the stable commit, and not the
one from mainline. I hope that's correct.
Original patch thread:
https://lore.kernel.org/netdev/20170214103353.GA8394@altlinux.org/
include/uapi/linux/l2tp.h | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/include/uapi/linux/l2tp.h b/include/uapi/linux/l2tp.h
index dedfb2b1832a..c3a5c99f565b 100644
--- a/include/uapi/linux/l2tp.h
+++ b/include/uapi/linux/l2tp.h
@@ -9,9 +9,8 @@
#include <linux/types.h>
#include <linux/socket.h>
-#ifndef __KERNEL__
-#include <netinet/in.h>
-#endif
+#include <linux/in.h>
+#include <linux/in6.h>
#define IPPROTO_L2TP 115
@@ -31,7 +30,7 @@ struct sockaddr_l2tpip {
__u32 l2tp_conn_id; /* Connection ID of tunnel */
/* Pad to size of `struct sockaddr'. */
- unsigned char __pad[sizeof(struct sockaddr) -
+ unsigned char __pad[__SOCK_SIZE__ -
sizeof(__kernel_sa_family_t) -
sizeof(__be16) - sizeof(struct in_addr) -
sizeof(__u32)];
--
2.27.0.rc2
The intermediate result of the old term (4UL * 1024 * 1024 * 1024) is
4 294 967 296 or 0x100000000 which is no problem on 64 bit systems. The
patch does not change the later overall result of 0x100000 for
MAX_DMA32_PFN. The new calculation yields the same result, but does not
require 64 bit arithmetic.
On 32 bit systems the old calculation suffers from an arithmetic
overflow in that intermediate term in braces: 4UL aka unsigned long int
is 4 byte wide and an arithmetic overflow happens (the 0x100000000 does
not fit in 4 bytes), the in braces result is truncated to zero, the
following right shift does not alter that, so MAX_DMA32_PFN evaluates to
0 on 32 bit systems.
That wrong value is a problem in a comparision against MAX_DMA32_PFN in
the init code for swiotlb in 'pci_swiotlb_detect_4gb()' to decide if
swiotlb should be active. That comparison yields the opposite result,
when compiling on 32 bit systems.
This was not possible before 1b7e03ef7570 ("x86, NUMA: Enable emulation
on 32bit too") when that MAX_DMA32_PFN was first made visible to x86_32
(and which landed in v3.0).
In practice this wasn't a problem, unless you activated CONFIG_SWIOTLB
on x86 (32 bit).
However for ARCH=x86 (32 bit) and if you have set CONFIG_IOMMU_INTEL,
since c5a5dc4cbbf4 ("iommu/vt-d: Don't switch off swiotlb if bounce page
is used") there's a dependency on CONFIG_SWIOTLB, which was not
necessarily active before. That landed in v5.4, where we noticed it in
the fli4l Linux distribution. We have CONFIG_IOMMU_INTEL active on both
32 and 64 bit kernel configs there (I could not find out why, so let's
just say historical reasons).
The effect is at boot time 64 MiB (default size) were allocated for
bounce buffers now, which is a noticeable amount of memory on small
systems like pcengines ALIX 2D3 with 256 MiB memory, which are still
frequently used as home routers.
We noticed this effect when migrating from kernel v4.19 (LTS) to v5.4
(LTS) in fli4l and got that kernel messages for example:
Linux version 5.4.22 (buildroot@buildroot) (gcc version 7.3.0 (Buildroot 2018.02.8)) #1 SMP Mon Nov 26 23:40:00 CET 2018
…
Memory: 183484K/261756K available (4594K kernel code, 393K rwdata, 1660K rodata, 536K init, 456K bss , 78272K reserved, 0K cma-reserved, 0K highmem)
…
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
software IO TLB: mapped [mem 0x0bb78000-0x0fb78000] (64MB)
The initial analysis and the suggested fix was done by user 'sourcejedi'
at stackoverflow and explicitly marked as GPLv2 for inclusion in the
Linux kernel:
https://unix.stackexchange.com/a/520525/50007
The new calculation, which does not suffer from that overflow, is the
same as for arch/mips now as suggested by Robin Murphy.
The fix was tested by fli4l users on round about two dozen different
systems, including both 32 and 64 bit archs, bare metal and virtualized
machines.
Fixes: 1b7e03ef7570 ("x86, NUMA: Enable emulation on 32bit too")
Fixes: https://web.nettworks.org/bugs/browse/FFL-2560
Fixes: https://unix.stackexchange.com/q/520065/50007
Reported-by: Alan Jenkins <alan.christopher.jenkins(a)gmail.com>
Suggested-by: Robin Murphy <robin.murphy(a)arm.com>
Signed-off-by: Alexander Dahl <post(a)lespocky.de>
Cc: stable(a)vger.kernel.org
---
Notes:
v3:
- rewritten commit message to better explain that arithmetic overflow
and added Fixes tag (Greg Kroah-Hartman)
- rebased on v5.7-rc7
v2:
- use the same calculation as with arch/mips (Robin Murphy)
arch/x86/include/asm/dma.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/include/asm/dma.h b/arch/x86/include/asm/dma.h
index 00f7cf45e699..8e95aa4b0d17 100644
--- a/arch/x86/include/asm/dma.h
+++ b/arch/x86/include/asm/dma.h
@@ -74,7 +74,7 @@
#define MAX_DMA_PFN ((16UL * 1024 * 1024) >> PAGE_SHIFT)
/* 4GB broken PCI/AGP hardware bus master zone */
-#define MAX_DMA32_PFN ((4UL * 1024 * 1024 * 1024) >> PAGE_SHIFT)
+#define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT))
#ifdef CONFIG_X86_32
/* The maximum address that we can perform a DMA transfer to on this platform */
--
2.20.1
Hello,
We ran automated tests on a recent commit from this kernel tree:
Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Commit: 79935d99370b - x86/unwind/orc: Fix unwind_get_return_address_ptr() for inactive tasks
The results of these automated tests are provided below.
Overall result: FAILED (see details below)
Merge: OK
Compile: FAILED
All kernel binaries, config files, and logs are available for download here:
https://cki-artifacts.s3.us-east-2.amazonaws.com/index.html?prefix=dataware…
We attempted to compile the kernel for multiple architectures, but the compile
failed on one or more architectures:
aarch64: FAILED (see build-aarch64.log.xz attachment)
We hope that these logs can help you find the problem quickly. For the full
detail on our testing procedures, please scroll to the bottom of this message.
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
Compile testing
---------------
We compiled the kernel for 4 architectures:
aarch64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
ppc64le:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
s390x:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
x86_64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
[ Upstream commit 38152ea37d8bdaffa22603e0a5b5b86cfa8714c9 ]
Currently, setting a bridge's self PVID to other value and deleting
the default VID 1 renders untagged ports of that VLAN unable to talk to
the CPU port:
bridge vlan add dev br0 vid 2 pvid untagged self
bridge vlan del dev br0 vid 1 self
bridge vlan add dev sw0p0 vid 2 pvid untagged
bridge vlan del dev sw0p0 vid 1
# br0 cannot send untagged frames out of sw0p0 anymore
That is because the CPU port is set to security mode and its PVID is
still 1, and untagged frames are dropped due to VLAN member violation.
Set the CPU port to fallback mode so untagged frames can pass through.
Fixes: 83163f7dca56 ("net: dsa: mediatek: add VLAN support for MT7530")
Signed-off-by: DENG Qingfang <dqfext(a)gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli(a)gmail.com>
Signed-off-by: David S. Miller <davem(a)davemloft.net>
---
drivers/net/dsa/mt7530.c | 11 ++++++++---
drivers/net/dsa/mt7530.h | 6 ++++++
2 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c
index cffaf4fdd772..7b81a39c15c1 100644
--- a/drivers/net/dsa/mt7530.c
+++ b/drivers/net/dsa/mt7530.c
@@ -821,10 +821,15 @@ mt7530_port_set_vlan_aware(struct dsa_switch *ds, int port)
PCR_MATRIX_MASK, PCR_MATRIX(MT7530_ALL_MEMBERS));
/* Trapped into security mode allows packet forwarding through VLAN
- * table lookup.
+ * table lookup. CPU port is set to fallback mode to let untagged
+ * frames pass through.
*/
- mt7530_rmw(priv, MT7530_PCR_P(port), PCR_PORT_VLAN_MASK,
- MT7530_PORT_SECURITY_MODE);
+ if (dsa_is_cpu_port(ds, port))
+ mt7530_rmw(priv, MT7530_PCR_P(port), PCR_PORT_VLAN_MASK,
+ MT7530_PORT_FALLBACK_MODE);
+ else
+ mt7530_rmw(priv, MT7530_PCR_P(port), PCR_PORT_VLAN_MASK,
+ MT7530_PORT_SECURITY_MODE);
/* Set the port as a user port which is to be able to recognize VID
* from incoming packets before fetching entry within the VLAN table.
diff --git a/drivers/net/dsa/mt7530.h b/drivers/net/dsa/mt7530.h
index 756140b7dfd5..f8d5e82ddab2 100644
--- a/drivers/net/dsa/mt7530.h
+++ b/drivers/net/dsa/mt7530.h
@@ -147,6 +147,12 @@ enum mt7530_port_mode {
/* Port Matrix Mode: Frames are forwarded by the PCR_MATRIX members. */
MT7530_PORT_MATRIX_MODE = PORT_VLAN(0),
+ /* Fallback Mode: Forward received frames with ingress ports that do
+ * not belong to the VLAN member. Frames whose VID is not listed on
+ * the VLAN table are forwarded by the PCR_MATRIX members.
+ */
+ MT7530_PORT_FALLBACK_MODE = PORT_VLAN(1),
+
/* Security Mode: Discard any frame due to ingress membership
* violation or VID missed on the VLAN table.
*/
--
2.26.2
Calculating the hardware value for the duty from the hardware value of
the period resulted in a precision loss versus calculating it from the
clock rate directly.
(Also remove a cast that doesn't really need to be here)
Fixes: f6b8a5700057 ("pwm: Add Ingenic JZ4740 support")
Cc: <stable(a)vger.kernel.org>
Suggested-by: Uwe Kleine-König <u.kleine-koenig(a)pengutronix.de>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig(a)pengutronix.de>
Signed-off-by: Paul Cercueil <paul(a)crapouillou.net>
---
Notes:
v2: New patch. I don't consider this a fix but an enhancement, since the old
behaviour was in place since the driver was born in ~2010, so no Fixes tag.
v3: Add Fixes tag and Uwe's Reviewed-by
drivers/pwm/pwm-jz4740.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/pwm/pwm-jz4740.c b/drivers/pwm/pwm-jz4740.c
index 3cd5c054ad9a..4fe9d99ac9a9 100644
--- a/drivers/pwm/pwm-jz4740.c
+++ b/drivers/pwm/pwm-jz4740.c
@@ -158,11 +158,11 @@ static int jz4740_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
/* Calculate period value */
tmp = (unsigned long long)rate * state->period;
do_div(tmp, NSEC_PER_SEC);
- period = (unsigned long)tmp;
+ period = tmp;
/* Calculate duty value */
- tmp = (unsigned long long)period * state->duty_cycle;
- do_div(tmp, state->period);
+ tmp = (unsigned long long)rate * state->duty_cycle;
+ do_div(tmp, NSEC_PER_SEC);
duty = period - tmp;
if (duty >= period)
--
2.26.2
From: Alexander Potapenko <glider(a)google.com>
Subject: fs/binfmt_elf.c: allocate initialized memory in fill_thread_core_info()
KMSAN reported uninitialized data being written to disk when dumping core.
As a result, several kilobytes of kmalloc memory may be written to the
core file and then read by a non-privileged user.
Link: http://lkml.kernel.org/r/20200419100848.63472-1-glider@google.com
Link: https://github.com/google/kmsan/issues/76
Signed-off-by: Alexander Potapenko <glider(a)google.com>
Reported-by: sam <sunhaoyl(a)outlook.com>
Acked-by: Kees Cook <keescook(a)chromium.org>
Cc: Al Viro <viro(a)zeniv.linux.org.uk>
Cc: Alexey Dobriyan <adobriyan(a)gmail.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
fs/binfmt_elf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fs/binfmt_elf.c~fs-binfmt_elfc-allocate-initialized-memory-in-fill_thread_core_info
+++ a/fs/binfmt_elf.c
@@ -1733,7 +1733,7 @@ static int fill_thread_core_info(struct
(!regset->active || regset->active(t->task, regset) > 0)) {
int ret;
size_t size = regset_size(t->task, regset);
- void *data = kmalloc(size, GFP_KERNEL);
+ void *data = kzalloc(size, GFP_KERNEL);
if (unlikely(!data))
return 0;
ret = regset->get(t->task, regset,
_
Hi
[This is an automated email]
This commit has been processed because it contains a -stable tag.
The stable tag indicates that it's relevant for the following trees: all
The bot has tested the following trees: v5.6.14, v5.4.42, v4.19.124, v4.14.181, v4.9.224, v4.4.224.
v5.6.14: Build OK!
v5.4.42: Build OK!
v4.19.124: Build OK!
v4.14.181: Build OK!
v4.9.224: Build OK!
v4.4.224: Failed to apply! Possible dependencies:
Unable to calculate
NOTE: The patch will not be queued to stable trees until it is upstream.
How should we proceed with this patch?
--
Thanks
Sasha
aarch32 has pairs of registers to access the high and low parts of 64bit
registers. KVM has a union of 64bit sys_regs[] and 32bit copro[]. The
32bit accessors read the high or low part of the 64bit sys_reg[] value
through the union.
Both sys_reg_descs[] and cp15_regs[] list access_csselr() as the accessor
for CSSELR{,_EL1}. access_csselr() is only aware of the 64bit sys_regs[],
and expects r->reg to be 'CSSELR_EL1' in the enum, index 2 of the 64bit
array.
cp15_regs[] uses the 32bit copro[] alias of sys_regs[]. Here CSSELR is
c0_CSSELR which is the same location in sys_reg[]. r->reg is 'c0_CSSELR',
index 4 in the 32bit array.
access_csselr() uses the 32bit r->reg value to access the 64bit array,
so reads and write the wrong value. sys_regs[4], is ACTLR_EL1, which
is subsequently save/restored when we enter the guest.
ACTLR_EL1 is supposed to be read-only for the guest. This register
only affects execution at EL1, and the host's value is restored before
we return to host EL1.
Rename access_csselr() to access_csselr_el1(), to indicate it expects
the 64bit register index, and pass it CSSELR_EL1 from cp15_regs[].
Cc: stable(a)vger.kernel.org
Signed-off-by: James Morse <james.morse(a)arm.com>
----
Providing access_csselr_cp15() wouldn't work as with VHE CSSELR_EL1 is
loaded on the CPU while this code runs. access_csselr_cp15() would have
to map it back the 64bit resgister to use vcpu_write_sys_reg(). We may
as well do it in the table.
arch/arm64/kvm/sys_regs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/kvm/sys_regs.c b/arch/arm64/kvm/sys_regs.c
index 51db934702b6..2eda539f3281 100644
--- a/arch/arm64/kvm/sys_regs.c
+++ b/arch/arm64/kvm/sys_regs.c
@@ -1302,7 +1302,7 @@ static bool access_clidr(struct kvm_vcpu *vcpu, struct sys_reg_params *p,
return true;
}
-static bool access_csselr(struct kvm_vcpu *vcpu, struct sys_reg_params *p,
+static bool access_csselr_el1(struct kvm_vcpu *vcpu, struct sys_reg_params *p,
const struct sys_reg_desc *r)
{
if (p->is_write)
@@ -1566,7 +1566,7 @@ static const struct sys_reg_desc sys_reg_descs[] = {
{ SYS_DESC(SYS_CCSIDR_EL1), access_ccsidr },
{ SYS_DESC(SYS_CLIDR_EL1), access_clidr },
- { SYS_DESC(SYS_CSSELR_EL1), access_csselr, reset_unknown, CSSELR_EL1 },
+ { SYS_DESC(SYS_CSSELR_EL1), access_csselr_el1, reset_unknown, CSSELR_EL1 },
{ SYS_DESC(SYS_CTR_EL0), access_ctr },
{ SYS_DESC(SYS_PMCR_EL0), access_pmcr, reset_pmcr, PMCR_EL0 },
@@ -2060,7 +2060,7 @@ static const struct sys_reg_desc cp15_regs[] = {
{ Op1(1), CRn( 0), CRm( 0), Op2(0), access_ccsidr },
{ Op1(1), CRn( 0), CRm( 0), Op2(1), access_clidr },
- { Op1(2), CRn( 0), CRm( 0), Op2(0), access_csselr, NULL, c0_CSSELR },
+ { Op1(2), CRn( 0), CRm( 0), Op2(0), access_csselr_el1, NULL, CSSELR_EL1 },
};
static const struct sys_reg_desc cp15_64_regs[] = {
--
2.20.1
From: Eugeniy Paltsev <Eugeniy.Paltsev(a)synopsys.com>
[ Upstream commit 43900edf67d7ef3ac8909854d75b8a1fba2d570c ]
As of today the ICCM and DCCM size checks are incorrectly using
mismatched units (KiB checked against bytes). The CONFIG_ARC_DCCM_SZ
and CONFIG_ARC_ICCM_SZ are in KiB, but the size calculated in
runtime and stored in cpu->dccm.sz and cpu->iccm.sz is in bytes.
Fix that.
Reported-by: Paul Greco <pmgreco(a)us.ibm.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev(a)synopsys.com>
Signed-off-by: Vineet Gupta <vgupta(a)synopsys.com>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
arch/arc/kernel/setup.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
index 3013f3f82b95..66e4dc8bce1d 100644
--- a/arch/arc/kernel/setup.c
+++ b/arch/arc/kernel/setup.c
@@ -12,6 +12,7 @@
#include <linux/root_dev.h>
#include <linux/console.h>
#include <linux/module.h>
+#include <linux/sizes.h>
#include <linux/cpu.h>
#include <linux/clk-provider.h>
#include <linux/of_fdt.h>
@@ -308,12 +309,12 @@ static void arc_chk_core_config(void)
if ((unsigned int)__arc_dccm_base != cpu->dccm.base_addr)
panic("Linux built with incorrect DCCM Base address\n");
- if (CONFIG_ARC_DCCM_SZ != cpu->dccm.sz)
+ if (CONFIG_ARC_DCCM_SZ * SZ_1K != cpu->dccm.sz)
panic("Linux built with incorrect DCCM Size\n");
#endif
#ifdef CONFIG_ARC_HAS_ICCM
- if (CONFIG_ARC_ICCM_SZ != cpu->iccm.sz)
+ if (CONFIG_ARC_ICCM_SZ * SZ_1K != cpu->iccm.sz)
panic("Linux built with incorrect ICCM Size\n");
#endif
--
2.25.1
From: Eugeniy Paltsev <Eugeniy.Paltsev(a)synopsys.com>
[ Upstream commit 43900edf67d7ef3ac8909854d75b8a1fba2d570c ]
As of today the ICCM and DCCM size checks are incorrectly using
mismatched units (KiB checked against bytes). The CONFIG_ARC_DCCM_SZ
and CONFIG_ARC_ICCM_SZ are in KiB, but the size calculated in
runtime and stored in cpu->dccm.sz and cpu->iccm.sz is in bytes.
Fix that.
Reported-by: Paul Greco <pmgreco(a)us.ibm.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev(a)synopsys.com>
Signed-off-by: Vineet Gupta <vgupta(a)synopsys.com>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
arch/arc/kernel/setup.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
index 9f96120eee6e..82464fae7772 100644
--- a/arch/arc/kernel/setup.c
+++ b/arch/arc/kernel/setup.c
@@ -12,6 +12,7 @@
#include <linux/root_dev.h>
#include <linux/console.h>
#include <linux/module.h>
+#include <linux/sizes.h>
#include <linux/cpu.h>
#include <linux/of_fdt.h>
#include <linux/of.h>
@@ -333,12 +334,12 @@ static void arc_chk_core_config(void)
if ((unsigned int)__arc_dccm_base != cpu->dccm.base_addr)
panic("Linux built with incorrect DCCM Base address\n");
- if (CONFIG_ARC_DCCM_SZ != cpu->dccm.sz)
+ if (CONFIG_ARC_DCCM_SZ * SZ_1K != cpu->dccm.sz)
panic("Linux built with incorrect DCCM Size\n");
#endif
#ifdef CONFIG_ARC_HAS_ICCM
- if (CONFIG_ARC_ICCM_SZ != cpu->iccm.sz)
+ if (CONFIG_ARC_ICCM_SZ * SZ_1K != cpu->iccm.sz)
panic("Linux built with incorrect ICCM Size\n");
#endif
--
2.25.1
From: Eugeniy Paltsev <Eugeniy.Paltsev(a)synopsys.com>
[ Upstream commit 43900edf67d7ef3ac8909854d75b8a1fba2d570c ]
As of today the ICCM and DCCM size checks are incorrectly using
mismatched units (KiB checked against bytes). The CONFIG_ARC_DCCM_SZ
and CONFIG_ARC_ICCM_SZ are in KiB, but the size calculated in
runtime and stored in cpu->dccm.sz and cpu->iccm.sz is in bytes.
Fix that.
Reported-by: Paul Greco <pmgreco(a)us.ibm.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev(a)synopsys.com>
Signed-off-by: Vineet Gupta <vgupta(a)synopsys.com>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
arch/arc/kernel/setup.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
index 6b8d106e0d53..11c2c4a3fe69 100644
--- a/arch/arc/kernel/setup.c
+++ b/arch/arc/kernel/setup.c
@@ -15,6 +15,7 @@
#include <linux/clocksource.h>
#include <linux/console.h>
#include <linux/module.h>
+#include <linux/sizes.h>
#include <linux/cpu.h>
#include <linux/of_fdt.h>
#include <linux/of.h>
@@ -355,12 +356,12 @@ static void arc_chk_core_config(void)
if ((unsigned int)__arc_dccm_base != cpu->dccm.base_addr)
panic("Linux built with incorrect DCCM Base address\n");
- if (CONFIG_ARC_DCCM_SZ != cpu->dccm.sz)
+ if (CONFIG_ARC_DCCM_SZ * SZ_1K != cpu->dccm.sz)
panic("Linux built with incorrect DCCM Size\n");
#endif
#ifdef CONFIG_ARC_HAS_ICCM
- if (CONFIG_ARC_ICCM_SZ != cpu->iccm.sz)
+ if (CONFIG_ARC_ICCM_SZ * SZ_1K != cpu->iccm.sz)
panic("Linux built with incorrect ICCM Size\n");
#endif
--
2.25.1
From: Eugeniy Paltsev <Eugeniy.Paltsev(a)synopsys.com>
[ Upstream commit 43900edf67d7ef3ac8909854d75b8a1fba2d570c ]
As of today the ICCM and DCCM size checks are incorrectly using
mismatched units (KiB checked against bytes). The CONFIG_ARC_DCCM_SZ
and CONFIG_ARC_ICCM_SZ are in KiB, but the size calculated in
runtime and stored in cpu->dccm.sz and cpu->iccm.sz is in bytes.
Fix that.
Reported-by: Paul Greco <pmgreco(a)us.ibm.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev(a)synopsys.com>
Signed-off-by: Vineet Gupta <vgupta(a)synopsys.com>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
arch/arc/kernel/setup.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
index 89c97dcfa360..c10994daee39 100644
--- a/arch/arc/kernel/setup.c
+++ b/arch/arc/kernel/setup.c
@@ -15,6 +15,7 @@
#include <linux/clocksource.h>
#include <linux/console.h>
#include <linux/module.h>
+#include <linux/sizes.h>
#include <linux/cpu.h>
#include <linux/of_fdt.h>
#include <linux/of.h>
@@ -406,12 +407,12 @@ static void arc_chk_core_config(void)
if ((unsigned int)__arc_dccm_base != cpu->dccm.base_addr)
panic("Linux built with incorrect DCCM Base address\n");
- if (CONFIG_ARC_DCCM_SZ != cpu->dccm.sz)
+ if (CONFIG_ARC_DCCM_SZ * SZ_1K != cpu->dccm.sz)
panic("Linux built with incorrect DCCM Size\n");
#endif
#ifdef CONFIG_ARC_HAS_ICCM
- if (CONFIG_ARC_ICCM_SZ != cpu->iccm.sz)
+ if (CONFIG_ARC_ICCM_SZ * SZ_1K != cpu->iccm.sz)
panic("Linux built with incorrect ICCM Size\n");
#endif
--
2.25.1
From: Eugeniy Paltsev <Eugeniy.Paltsev(a)synopsys.com>
[ Upstream commit 43900edf67d7ef3ac8909854d75b8a1fba2d570c ]
As of today the ICCM and DCCM size checks are incorrectly using
mismatched units (KiB checked against bytes). The CONFIG_ARC_DCCM_SZ
and CONFIG_ARC_ICCM_SZ are in KiB, but the size calculated in
runtime and stored in cpu->dccm.sz and cpu->iccm.sz is in bytes.
Fix that.
Reported-by: Paul Greco <pmgreco(a)us.ibm.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev(a)synopsys.com>
Signed-off-by: Vineet Gupta <vgupta(a)synopsys.com>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
arch/arc/kernel/setup.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
index aa41af6ef4ac..efdedf83b954 100644
--- a/arch/arc/kernel/setup.c
+++ b/arch/arc/kernel/setup.c
@@ -11,6 +11,7 @@
#include <linux/clocksource.h>
#include <linux/console.h>
#include <linux/module.h>
+#include <linux/sizes.h>
#include <linux/cpu.h>
#include <linux/of_clk.h>
#include <linux/of_fdt.h>
@@ -409,12 +410,12 @@ static void arc_chk_core_config(void)
if ((unsigned int)__arc_dccm_base != cpu->dccm.base_addr)
panic("Linux built with incorrect DCCM Base address\n");
- if (CONFIG_ARC_DCCM_SZ != cpu->dccm.sz)
+ if (CONFIG_ARC_DCCM_SZ * SZ_1K != cpu->dccm.sz)
panic("Linux built with incorrect DCCM Size\n");
#endif
#ifdef CONFIG_ARC_HAS_ICCM
- if (CONFIG_ARC_ICCM_SZ != cpu->iccm.sz)
+ if (CONFIG_ARC_ICCM_SZ * SZ_1K != cpu->iccm.sz)
panic("Linux built with incorrect ICCM Size\n");
#endif
--
2.25.1
Commit 9495b7e92f716ab2bd6814fab5e97ab4a39adfdd ("driver core: platform:
Initialize dma_parms for platform devices") in v5.7-rc5 causes
vb2_dma_contig_clear_max_seg_size() to kfree memory that was not
allocated by vb2_dma_contig_set_max_seg_size().
The assumption in vb2_dma_contig_set_max_seg_size() seems to be that
dev->dma_parms is always NULL when the driver is probed, and the case
where dev->dma_parms has bee initialized by someone else than the driver
(by calling vb2_dma_contig_set_max_seg_size) will cause a failure.
All the current users of these functions are platform devices, which now
always have dma_parms set by the driver core. To fix the issue for v5.7,
make vb2_dma_contig_set_max_seg_size() return an error if dma_parms is
NULL to be on the safe side, and remove the kfree code from
vb2_dma_contig_clear_max_seg_size().
For v5.8 we should remove the two functions and move the
dma_set_max_seg_size() calls into the drivers.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen(a)ti.com>
Fixes: 9495b7e92f71 ("driver core: platform: Initialize dma_parms for platform devices")
Cc: stable(a)vger.kernel.org
---
Changes in v2:
* vb2_dma_contig_clear_max_seg_size to empty static inline
* Added cc: stable and fixes tag
.../common/videobuf2/videobuf2-dma-contig.c | 20 ++-----------------
include/media/videobuf2-dma-contig.h | 2 +-
2 files changed, 3 insertions(+), 19 deletions(-)
diff --git a/drivers/media/common/videobuf2/videobuf2-dma-contig.c b/drivers/media/common/videobuf2/videobuf2-dma-contig.c
index d3a3ee5b597b..f4b4a7c135eb 100644
--- a/drivers/media/common/videobuf2/videobuf2-dma-contig.c
+++ b/drivers/media/common/videobuf2/videobuf2-dma-contig.c
@@ -726,9 +726,8 @@ EXPORT_SYMBOL_GPL(vb2_dma_contig_memops);
int vb2_dma_contig_set_max_seg_size(struct device *dev, unsigned int size)
{
if (!dev->dma_parms) {
- dev->dma_parms = kzalloc(sizeof(*dev->dma_parms), GFP_KERNEL);
- if (!dev->dma_parms)
- return -ENOMEM;
+ dev_err(dev, "Failed to set max_seg_size: dma_parms is NULL\n");
+ return -ENODEV;
}
if (dma_get_max_seg_size(dev) < size)
return dma_set_max_seg_size(dev, size);
@@ -737,21 +736,6 @@ int vb2_dma_contig_set_max_seg_size(struct device *dev, unsigned int size)
}
EXPORT_SYMBOL_GPL(vb2_dma_contig_set_max_seg_size);
-/*
- * vb2_dma_contig_clear_max_seg_size() - release resources for DMA parameters
- * @dev: device for configuring DMA parameters
- *
- * This function releases resources allocated to configure DMA parameters
- * (see vb2_dma_contig_set_max_seg_size() function). It should be called from
- * device drivers on driver remove.
- */
-void vb2_dma_contig_clear_max_seg_size(struct device *dev)
-{
- kfree(dev->dma_parms);
- dev->dma_parms = NULL;
-}
-EXPORT_SYMBOL_GPL(vb2_dma_contig_clear_max_seg_size);
-
MODULE_DESCRIPTION("DMA-contig memory handling routines for videobuf2");
MODULE_AUTHOR("Pawel Osciak <pawel(a)osciak.com>");
MODULE_LICENSE("GPL");
diff --git a/include/media/videobuf2-dma-contig.h b/include/media/videobuf2-dma-contig.h
index 5604818d137e..5be313cbf7d7 100644
--- a/include/media/videobuf2-dma-contig.h
+++ b/include/media/videobuf2-dma-contig.h
@@ -25,7 +25,7 @@ vb2_dma_contig_plane_dma_addr(struct vb2_buffer *vb, unsigned int plane_no)
}
int vb2_dma_contig_set_max_seg_size(struct device *dev, unsigned int size);
-void vb2_dma_contig_clear_max_seg_size(struct device *dev);
+static inline void vb2_dma_contig_clear_max_seg_size(struct device *dev) { }
extern const struct vb2_mem_ops vb2_dma_contig_memops;
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
CPU_LOONGSON2EF need software to maintain cache consistency,
so modify the 'cpu_needs_post_dma_flush' function to return true
when the cpu type is CPU_LOONGSON2EF.
Cc: stable(a)vger.kernel.org
Signed-off-by: Lichao Liu <liulichao(a)loongson.cn>
---
arch/mips/mm/dma-noncoherent.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/mm/dma-noncoherent.c b/arch/mips/mm/dma-noncoherent.c
index fcea92d95d86..563c2c0d0c81 100644
--- a/arch/mips/mm/dma-noncoherent.c
+++ b/arch/mips/mm/dma-noncoherent.c
@@ -33,6 +33,7 @@ static inline bool cpu_needs_post_dma_flush(void)
case CPU_R10000:
case CPU_R12000:
case CPU_BMIPS5000:
+ case CPU_LOONGSON2EF:
return true;
default:
/*
--
2.17.1
This is a note to let you know that I've just added the patch titled
staging: rtl8712: Fix IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From 15ea976a1f12b5fd76b1bd6ff3eb5132fd28047f Mon Sep 17 00:00:00 2001
From: Pascal Terjan <pterjan(a)google.com>
Date: Sat, 23 May 2020 22:12:47 +0100
Subject: staging: rtl8712: Fix IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK
The value in shared headers was fixed 9 years ago in commit 8d661f1e462d
("ieee80211: correct IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK macro") and
while looking at using shared headers for other duplicated constants
I noticed this driver uses the old value.
The macros are also defined twice in this file so I am deleting the
second definition.
Signed-off-by: Pascal Terjan <pterjan(a)google.com>
Cc: stable <stable(a)vger.kernel.org>
Link: https://lore.kernel.org/r/20200523211247.23262-1-pterjan@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/staging/rtl8712/wifi.h | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/drivers/staging/rtl8712/wifi.h b/drivers/staging/rtl8712/wifi.h
index be731f1a2209..91b65731fcaa 100644
--- a/drivers/staging/rtl8712/wifi.h
+++ b/drivers/staging/rtl8712/wifi.h
@@ -440,7 +440,7 @@ static inline unsigned char *get_hdr_bssid(unsigned char *pframe)
/* block-ack parameters */
#define IEEE80211_ADDBA_PARAM_POLICY_MASK 0x0002
#define IEEE80211_ADDBA_PARAM_TID_MASK 0x003C
-#define IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK 0xFFA0
+#define IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK 0xFFC0
#define IEEE80211_DELBA_PARAM_TID_MASK 0xF000
#define IEEE80211_DELBA_PARAM_INITIATOR_MASK 0x0800
@@ -532,13 +532,6 @@ struct ieee80211_ht_addt_info {
#define IEEE80211_HT_IE_NON_GF_STA_PRSNT 0x0004
#define IEEE80211_HT_IE_NON_HT_STA_PRSNT 0x0010
-/* block-ack parameters */
-#define IEEE80211_ADDBA_PARAM_POLICY_MASK 0x0002
-#define IEEE80211_ADDBA_PARAM_TID_MASK 0x003C
-#define IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK 0xFFA0
-#define IEEE80211_DELBA_PARAM_TID_MASK 0xF000
-#define IEEE80211_DELBA_PARAM_INITIATOR_MASK 0x0800
-
/*
* A-PMDU buffer sizes
* According to IEEE802.11n spec size varies from 8K to 64K (in powers of 2)
--
2.26.2
This is a note to let you know that I've just added the patch titled
vt: keyboard: avoid signed integer overflow in k_ascii
to my tty git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
in the tty-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From b86dab054059b970111b5516ae548efaae5b3aae Mon Sep 17 00:00:00 2001
From: Dmitry Torokhov <dmitry.torokhov(a)gmail.com>
Date: Mon, 25 May 2020 16:27:40 -0700
Subject: vt: keyboard: avoid signed integer overflow in k_ascii
When k_ascii is invoked several times in a row there is a potential for
signed integer overflow:
UBSAN: Undefined behaviour in drivers/tty/vt/keyboard.c:888:19 signed integer overflow:
10 * 1111111111 cannot be represented in type 'int'
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.6.11 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
Call Trace:
<IRQ>
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0xce/0x128 lib/dump_stack.c:118
ubsan_epilogue+0xe/0x30 lib/ubsan.c:154
handle_overflow+0xdc/0xf0 lib/ubsan.c:184
__ubsan_handle_mul_overflow+0x2a/0x40 lib/ubsan.c:205
k_ascii+0xbf/0xd0 drivers/tty/vt/keyboard.c:888
kbd_keycode drivers/tty/vt/keyboard.c:1477 [inline]
kbd_event+0x888/0x3be0 drivers/tty/vt/keyboard.c:1495
While it can be worked around by using check_mul_overflow()/
check_add_overflow(), it is better to introduce a separate flag to
signal that number pad is being used to compose a symbol, and
change type of the accumulator from signed to unsigned, thus
avoiding undefined behavior when it overflows.
Reported-by: Kyungtae Kim <kt0755(a)gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov(a)gmail.com>
Cc: stable <stable(a)vger.kernel.org>
Link: https://lore.kernel.org/r/20200525232740.GA262061@dtor-ws
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/tty/vt/keyboard.c | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c
index 15d33fa0c925..568b2171f335 100644
--- a/drivers/tty/vt/keyboard.c
+++ b/drivers/tty/vt/keyboard.c
@@ -127,7 +127,11 @@ static DEFINE_SPINLOCK(func_buf_lock); /* guard 'func_buf' and friends */
static unsigned long key_down[BITS_TO_LONGS(KEY_CNT)]; /* keyboard key bitmap */
static unsigned char shift_down[NR_SHIFT]; /* shift state counters.. */
static bool dead_key_next;
-static int npadch = -1; /* -1 or number assembled on pad */
+
+/* Handles a number being assembled on the number pad */
+static bool npadch_active;
+static unsigned int npadch_value;
+
static unsigned int diacr;
static char rep; /* flag telling character repeat */
@@ -845,12 +849,12 @@ static void k_shift(struct vc_data *vc, unsigned char value, char up_flag)
shift_state &= ~(1 << value);
/* kludge */
- if (up_flag && shift_state != old_state && npadch != -1) {
+ if (up_flag && shift_state != old_state && npadch_active) {
if (kbd->kbdmode == VC_UNICODE)
- to_utf8(vc, npadch);
+ to_utf8(vc, npadch_value);
else
- put_queue(vc, npadch & 0xff);
- npadch = -1;
+ put_queue(vc, npadch_value & 0xff);
+ npadch_active = false;
}
}
@@ -868,7 +872,7 @@ static void k_meta(struct vc_data *vc, unsigned char value, char up_flag)
static void k_ascii(struct vc_data *vc, unsigned char value, char up_flag)
{
- int base;
+ unsigned int base;
if (up_flag)
return;
@@ -882,10 +886,12 @@ static void k_ascii(struct vc_data *vc, unsigned char value, char up_flag)
base = 16;
}
- if (npadch == -1)
- npadch = value;
- else
- npadch = npadch * base + value;
+ if (!npadch_active) {
+ npadch_value = 0;
+ npadch_active = true;
+ }
+
+ npadch_value = npadch_value * base + value;
}
static void k_lock(struct vc_data *vc, unsigned char value, char up_flag)
--
2.26.2
This is a note to let you know that I've just added the patch titled
tty: hvc_console, fix crashes on parallel open/close
to my tty git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
in the tty-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From 24eb2377f977fe06d84fca558f891f95bc28a449 Mon Sep 17 00:00:00 2001
From: Jiri Slaby <jslaby(a)suse.cz>
Date: Tue, 26 May 2020 16:56:32 +0200
Subject: tty: hvc_console, fix crashes on parallel open/close
hvc_open sets tty->driver_data to NULL when open fails at some point.
Typically, the failure happens in hp->ops->notifier_add(). If there is
a racing process which tries to open such mangled tty, which was not
closed yet, the process will crash in hvc_open as tty->driver_data is
NULL.
All this happens because close wants to know whether open failed or not.
But ->open should not NULL this and other tty fields for ->close to be
happy. ->open should call tty_port_set_initialized(true) and close
should check by tty_port_initialized() instead. So do this properly in
this driver.
So this patch removes these from ->open:
* tty_port_tty_set(&hp->port, NULL). This happens on last close.
* tty->driver_data = NULL. Dtto.
* tty_port_put(&hp->port). This happens in shutdown and until now, this
must have been causing a reference underflow, if I am not missing
something.
Signed-off-by: Jiri Slaby <jslaby(a)suse.cz>
Cc: stable <stable(a)vger.kernel.org>
Reported-and-tested-by: Raghavendra <rananta(a)codeaurora.org>
Link: https://lore.kernel.org/r/20200526145632.13879-1-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/tty/hvc/hvc_console.c | 23 ++++++++---------------
1 file changed, 8 insertions(+), 15 deletions(-)
diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c
index 436cc51c92c3..cdcc64ea2554 100644
--- a/drivers/tty/hvc/hvc_console.c
+++ b/drivers/tty/hvc/hvc_console.c
@@ -371,15 +371,14 @@ static int hvc_open(struct tty_struct *tty, struct file * filp)
* tty fields and return the kref reference.
*/
if (rc) {
- tty_port_tty_set(&hp->port, NULL);
- tty->driver_data = NULL;
- tty_port_put(&hp->port);
printk(KERN_ERR "hvc_open: request_irq failed with rc %d.\n", rc);
- } else
+ } else {
/* We are ready... raise DTR/RTS */
if (C_BAUD(tty))
if (hp->ops->dtr_rts)
hp->ops->dtr_rts(hp, 1);
+ tty_port_set_initialized(&hp->port, true);
+ }
/* Force wakeup of the polling thread */
hvc_kick();
@@ -389,22 +388,12 @@ static int hvc_open(struct tty_struct *tty, struct file * filp)
static void hvc_close(struct tty_struct *tty, struct file * filp)
{
- struct hvc_struct *hp;
+ struct hvc_struct *hp = tty->driver_data;
unsigned long flags;
if (tty_hung_up_p(filp))
return;
- /*
- * No driver_data means that this close was issued after a failed
- * hvc_open by the tty layer's release_dev() function and we can just
- * exit cleanly because the kref reference wasn't made.
- */
- if (!tty->driver_data)
- return;
-
- hp = tty->driver_data;
-
spin_lock_irqsave(&hp->port.lock, flags);
if (--hp->port.count == 0) {
@@ -412,6 +401,9 @@ static void hvc_close(struct tty_struct *tty, struct file * filp)
/* We are done with the tty pointer now. */
tty_port_tty_set(&hp->port, NULL);
+ if (!tty_port_initialized(&hp->port))
+ return;
+
if (C_HUPCL(tty))
if (hp->ops->dtr_rts)
hp->ops->dtr_rts(hp, 0);
@@ -428,6 +420,7 @@ static void hvc_close(struct tty_struct *tty, struct file * filp)
* waking periodically to check chars_in_buffer().
*/
tty_wait_until_sent(tty, HVC_CLOSE_WAIT);
+ tty_port_set_initialized(&hp->port, false);
} else {
if (hp->port.count < 0)
printk(KERN_ERR "hvc_close %X: oops, count is %d\n",
--
2.26.2
This is a note to let you know that I've just added the patch titled
serial: 8250: Enable 16550A variants by default on non-x86
to my tty git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
in the tty-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From 15a3f03d5ec0118f1e5db3fc1018686e72744e37 Mon Sep 17 00:00:00 2001
From: Josh Triplett <josh(a)joshtriplett.org>
Date: Tue, 26 May 2020 09:13:57 -0700
Subject: serial: 8250: Enable 16550A variants by default on non-x86
Some embedded devices still use these serial ports; make sure they're
still enabled by default on architectures more likely to have them, to
avoid rendering someone's console unavailable.
Reported-by: Vladimir Oltean <vladimir.oltean(a)nxp.com>
Reported-by: Maxim Kochetkov <fido_max(a)inbox.ru>
Fixes: dc56ecb81a0a ("serial: 8250: Support disabling mdelay-filled probes of 16550A variants")
Cc: stable <stable(a)vger.kernel.org>
Signed-off-by: Josh Triplett <josh(a)joshtriplett.org>
Link: https://lore.kernel.org/r/a20b5fb7dd295cfb48160eecf4bdebd76332d67d.15905094…
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/tty/serial/8250/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
index af0688156dd0..8195a31519ea 100644
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -63,6 +63,7 @@ config SERIAL_8250_PNP
config SERIAL_8250_16550A_VARIANTS
bool "Support for variants of the 16550A serial port"
depends on SERIAL_8250
+ default !X86
help
The 8250 driver can probe for many variants of the venerable 16550A
serial port. Doing so takes additional time at boot.
--
2.26.2
From: Konstantin Khlebnikov <khlebnikov(a)yandex-team.ru>
Subject: mm: remove VM_BUG_ON(PageSlab()) from page_mapcount()
Replace superfluous VM_BUG_ON() with comment about correct usage.
Technically reverts commit 1d148e218a0d0566b1c06f2f45f1436d53b049b2
("mm: add VM_BUG_ON_PAGE() to page_mapcount()"), but context have changed.
Function isolate_migratepages_block() runs some checks out of lru_lock
when choose pages for migration. After checking PageLRU() it checks extra
page references by comparing page_count() and page_mapcount(). Between
these two checks page could be removed from lru, freed and taken by slab.
As a result this race triggers VM_BUG_ON(PageSlab()) in page_mapcount().
Race window is tiny. For certain workload this happens around once a year.
page:ffffea0105ca9380 count:1 mapcount:0 mapping:ffff88ff7712c180 index:0x0 compound_mapcount: 0
flags: 0x500000000008100(slab|head)
raw: 0500000000008100 dead000000000100 dead000000000200 ffff88ff7712c180
raw: 0000000000000000 0000000080200020 00000001ffffffff 0000000000000000
page dumped because: VM_BUG_ON_PAGE(PageSlab(page))
------------[ cut here ]------------
kernel BUG at ./include/linux/mm.h:628!
invalid opcode: 0000 [#1] SMP NOPTI
CPU: 77 PID: 504 Comm: kcompactd1 Tainted: G W 4.19.109-27 #1
Hardware name: Yandex T175-N41-Y3N/MY81-EX0-Y3N, BIOS R05 06/20/2019
RIP: 0010:isolate_migratepages_block+0x986/0x9b0
Code in isolate_migratepages_block() was added in commit 119d6d59dcc0
("mm, compaction: avoid isolating pinned pages") before adding VM_BUG_ON
into page_mapcount().
This race has been predicted in 2015 by Vlastimil Babka (see link below).
[akpm(a)linux-foundation.org: comment tweaks, per Hugh]
Link: http://lkml.kernel.org/r/159032779896.957378.7852761411265662220.stgit@buzz
Link: https://lore.kernel.org/lkml/557710E1.6060103@suse.cz/
Link: https://lore.kernel.org/linux-mm/158937872515.474360.5066096871639561424.st… (v1)
Fixes: 1d148e218a0d ("mm: add VM_BUG_ON_PAGE() to page_mapcount()")
Signed-off-by: Konstantin Khlebnikov <khlebnikov(a)yandex-team.ru>
Acked-by: Hugh Dickins <hughd(a)google.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov(a)linux.intel.com>
Acked-by: Vlastimil Babka <vbabka(a)suse.cz>
Cc: David Rientjes <rientjes(a)google.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
include/linux/mm.h | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
--- a/include/linux/mm.h~mm-remove-vm_bug_onpageslab-from-page_mapcount
+++ a/include/linux/mm.h
@@ -782,6 +782,11 @@ static inline void *kvcalloc(size_t n, s
extern void kvfree(const void *addr);
+/*
+ * Mapcount of compound page as a whole, does not include mapped sub-pages.
+ *
+ * Must be called only for compound pages or any their tail sub-pages.
+ */
static inline int compound_mapcount(struct page *page)
{
VM_BUG_ON_PAGE(!PageCompound(page), page);
@@ -801,10 +806,16 @@ static inline void page_mapcount_reset(s
int __page_mapcount(struct page *page);
+/*
+ * Mapcount of 0-order page; when compound sub-page, includes
+ * compound_mapcount().
+ *
+ * Result is undefined for pages which cannot be mapped into userspace.
+ * For example SLAB or special types of pages. See function page_has_type().
+ * They use this place in struct page differently.
+ */
static inline int page_mapcount(struct page *page)
{
- VM_BUG_ON_PAGE(PageSlab(page), page);
-
if (unlikely(PageCompound(page)))
return __page_mapcount(page);
return atomic_read(&page->_mapcount) + 1;
_
From: Hugh Dickins <hughd(a)google.com>
Subject: mm,thp: stop leaking unreleased file pages
When collapse_file() calls try_to_release_page(), it has already isolated
the page: so if releasing buffers happens to fail (as it sometimes does),
remember to putback_lru_page(): otherwise that page is left unreclaimable
and unfreeable, and the file extent uncollapsible.
Link: http://lkml.kernel.org/r/alpine.LSU.2.11.2005231837500.1766@eggly.anvils
Fixes: 99cb0dbd47a1 ("mm,thp: add read-only THP support for (non-shmem) FS")
Signed-off-by: Hugh Dickins <hughd(a)google.com>
Acked-by: Song Liu <songliubraving(a)fb.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov(a)linux.intel.com>
Acked-by: Johannes Weiner <hannes(a)cmpxchg.org>
Cc: Rik van Riel <riel(a)surriel.com>
Cc: <stable(a)vger.kernel.org> [5.4+]
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/khugepaged.c | 1 +
1 file changed, 1 insertion(+)
--- a/mm/khugepaged.c~mmthp-stop-leaking-unreleased-file-pages
+++ a/mm/khugepaged.c
@@ -1692,6 +1692,7 @@ static void collapse_file(struct mm_stru
if (page_has_private(page) &&
!try_to_release_page(page, GFP_KERNEL)) {
result = SCAN_PAGE_HAS_PRIVATE;
+ putback_lru_page(page);
goto out_unlock;
}
_
The patch titled
Subject: kernel/relay.c: handle alloc_percpu returning NULL in relay_open
has been added to the -mm tree. Its filename is
relay-handle-alloc_percpu-returning-null-in-relay_open.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/relay-handle-alloc_percpu-returnin…
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/relay-handle-alloc_percpu-returnin…
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Daniel Axtens <dja(a)axtens.net>
Subject: kernel/relay.c: handle alloc_percpu returning NULL in relay_open
alloc_percpu() may return NULL, which means chan->buf may be set to NULL.
In that case, when we do *per_cpu_ptr(chan->buf, ...), we dereference an
invalid pointer:
BUG: Unable to handle kernel data access at 0x7dae0000
Faulting instruction address: 0xc0000000003f3fec
...
NIP [c0000000003f3fec] relay_open+0x29c/0x600
LR [c0000000003f3fc0] relay_open+0x270/0x600
Call Trace:
[c000000054353a70] [c0000000003f3fb4] relay_open+0x264/0x600 (unreliable)
[c000000054353b00] [c000000000451764] __blk_trace_setup+0x254/0x600
[c000000054353bb0] [c000000000451b78] blk_trace_setup+0x68/0xa0
[c000000054353c10] [c0000000010da77c] sg_ioctl+0x7bc/0x2e80
[c000000054353cd0] [c000000000758cbc] do_vfs_ioctl+0x13c/0x1300
[c000000054353d90] [c000000000759f14] ksys_ioctl+0x94/0x130
[c000000054353de0] [c000000000759ff8] sys_ioctl+0x48/0xb0
[c000000054353e20] [c00000000000bcd0] system_call+0x5c/0x68
Check if alloc_percpu returns NULL.
This was found by syzkaller both on x86 and powerpc, and the reproducer it
found on powerpc is capable of hitting the issue as an unprivileged user.
Link: http://lkml.kernel.org/r/20191219121256.26480-1-dja@axtens.net
Fixes: 017c59c042d0 ("relay: Use per CPU constructs for the relay channel buffer pointers")
Signed-off-by: Daniel Axtens <dja(a)axtens.net>
Reviewed-by: Michael Ellerman <mpe(a)ellerman.id.au>
Reviewed-by: Andrew Donnellan <ajd(a)linux.ibm.com>
Acked-by: David Rientjes <rientjes(a)google.com>
Reported-by: syzbot+1e925b4b836afe85a1c6(a)syzkaller-ppc64.appspotmail.com
Reported-by: syzbot+587b2421926808309d21(a)syzkaller-ppc64.appspotmail.com
Reported-by: syzbot+58320b7171734bf79d26(a)syzkaller.appspotmail.com
Reported-by: syzbot+d6074fb08bdb2e010520(a)syzkaller.appspotmail.com
Cc: Akash Goel <akash.goel(a)intel.com>
Cc: Andrew Donnellan <ajd(a)linux.ibm.com>
Cc: Guenter Roeck <linux(a)roeck-us.net>
Cc: Salvatore Bonaccorso <carnil(a)debian.org>
Cc: <stable(a)vger.kernel.org> [4.10+]
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
kernel/relay.c | 5 +++++
1 file changed, 5 insertions(+)
--- a/kernel/relay.c~relay-handle-alloc_percpu-returning-null-in-relay_open
+++ a/kernel/relay.c
@@ -581,6 +581,11 @@ struct rchan *relay_open(const char *bas
return NULL;
chan->buf = alloc_percpu(struct rchan_buf *);
+ if (!chan->buf) {
+ kfree(chan);
+ return NULL;
+ }
+
chan->version = RELAYFS_CHANNEL_VERSION;
chan->n_subbufs = n_subbufs;
chan->subbuf_size = subbuf_size;
_
Patches currently in -mm which might be from dja(a)axtens.net are
kasan-stop-tests-being-eliminated-as-dead-code-with-fortify_source.patch
kasan-stop-tests-being-eliminated-as-dead-code-with-fortify_source-v4.patch
stringh-fix-incompatibility-between-fortify_source-and-kasan.patch
relay-handle-alloc_percpu-returning-null-in-relay_open.patch
This is the start of the stable review cycle for the 4.19.115 release.
There are 54 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Mon, 13 Apr 2020 11:51:28 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.115-r…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.19.115-rc1
Hans Verkuil <hans.verkuil(a)cisco.com>
drm_dp_mst_topology: fix broken drm_dp_sideband_parse_remote_dpcd_read()
Roger Quadros <rogerq(a)ti.com>
usb: dwc3: don't set gadget->is_otg flag
Chris Lew <clew(a)codeaurora.org>
rpmsg: glink: Remove chunk size word align warning
Arun KS <arunks(a)codeaurora.org>
arm64: Fix size of __early_cpu_boot_status
Rob Clark <robdclark(a)chromium.org>
drm/msm: stop abusing dma_map/unmap for cache
Taniya Das <tdas(a)codeaurora.org>
clk: qcom: rcg: Return failure for RCG update
Qiujun Huang <hqjagain(a)gmail.com>
fbcon: fix null-ptr-deref in fbcon_switch
Avihai Horon <avihaih(a)mellanox.com>
RDMA/cm: Update num_paths in cma_resolve_iboe_route error flow
Qiujun Huang <hqjagain(a)gmail.com>
Bluetooth: RFCOMM: fix ODEBUG bug in rfcomm_dev_ioctl
Jason Gunthorpe <jgg(a)ziepe.ca>
RDMA/cma: Teach lockdep about the order of rtnl and lock
Jason Gunthorpe <jgg(a)ziepe.ca>
RDMA/ucma: Put a lock around every call to the rdma_cm layer
Ilya Dryomov <idryomov(a)gmail.com>
ceph: canonicalize server path in place
Xiubo Li <xiubli(a)redhat.com>
ceph: remove the extra slashes in the server path
Kaike Wan <kaike.wan(a)intel.com>
IB/hfi1: Fix memory leaks in sysfs registration and unregistration
Kaike Wan <kaike.wan(a)intel.com>
IB/hfi1: Call kobject_put() when kobject_init_and_add() fails
Paul Cercueil <paul(a)crapouillou.net>
ASoC: jz4740-i2s: Fix divider written at incorrect offset in register
Martin Kaiser <martin(a)kaiser.cx>
hwrng: imx-rngc - fix an error path
David Ahern <dsahern(a)kernel.org>
tools/accounting/getdelays.c: fix netlink attribute length
Thinh Nguyen <Thinh.Nguyen(a)synopsys.com>
usb: dwc3: gadget: Wrap around when skip TRBs
Jason A. Donenfeld <Jason(a)zx2c4.com>
random: always use batched entropy for get_random_u{32,64}
Petr Machata <petrm(a)mellanox.com>
mlxsw: spectrum_flower: Do not stop at FLOW_ACTION_VLAN_MANGLE
Richard Palethorpe <rpalethorpe(a)suse.com>
slcan: Don't transmit uninitialized stack data in padding
Jisheng Zhang <Jisheng.Zhang(a)synaptics.com>
net: stmmac: dwmac1000: fix out-of-bounds mac address reg setting
Oleksij Rempel <o.rempel(a)pengutronix.de>
net: phy: micrel: kszphy_resume(): add delay after genphy_resume() before accessing PHY registers
Florian Fainelli <f.fainelli(a)gmail.com>
net: dsa: bcm_sf2: Ensure correct sub-node is parsed
Florian Fainelli <f.fainelli(a)gmail.com>
net: dsa: bcm_sf2: Do not register slave MDIO bus with OF
Jarod Wilson <jarod(a)redhat.com>
ipv6: don't auto-add link-local address to lag ports
Randy Dunlap <rdunlap(a)infradead.org>
mm: mempolicy: require at least one nodeid for MPOL_PREFERRED
Sam Protsenko <semen.protsenko(a)linaro.org>
include/linux/notifier.h: SRCU: fix ctags
Miklos Szeredi <mszeredi(a)redhat.com>
bitops: protect variables in set_mask_bits() macro
Daniel Jordan <daniel.m.jordan(a)oracle.com>
padata: always acquire cpu_hotplug_lock before pinst->lock
Amritha Nambiar <amritha.nambiar(a)intel.com>
net: Fix Tx hash bound checking
David Howells <dhowells(a)redhat.com>
rxrpc: Fix sendmsg(MSG_WAITALL) handling
Geoffrey Allott <geoffrey(a)allott.email>
ALSA: hda/ca0132 - Add Recon3Di quirk to handle integrated sound on EVGA X99 Classified motherboard
Hans de Goede <hdegoede(a)redhat.com>
power: supply: axp288_charger: Add special handling for HP Pavilion x2 10
Hans de Goede <hdegoede(a)redhat.com>
extcon: axp288: Add wakeup support
Alexander Usyskin <alexander.usyskin(a)intel.com>
mei: me: add cedar fork device ids
Eugene Syromiatnikov <esyr(a)redhat.com>
coresight: do not use the BIT() macro in the UAPI header
Kishon Vijay Abraham I <kishon(a)ti.com>
misc: pci_endpoint_test: Avoid using module parameter to determine irqtype
Kishon Vijay Abraham I <kishon(a)ti.com>
misc: pci_endpoint_test: Fix to support > 10 pci-endpoint-test devices
YueHaibing <yuehaibing(a)huawei.com>
misc: rtsx: set correct pcr_ops for rts522A
Sean Young <sean(a)mess.org>
media: rc: IR signal for Panasonic air conditioner too long
Lucas Stach <l.stach(a)pengutronix.de>
drm/etnaviv: replace MMU flush marker with flush sequence
Len Brown <len.brown(a)intel.com>
tools/power turbostat: Fix missing SYS_LPI counter on some Chromebooks
Len Brown <len.brown(a)intel.com>
tools/power turbostat: Fix gcc build warnings
James Zhu <James.Zhu(a)amd.com>
drm/amdgpu: fix typo for vcn1 idle check
Eugeniy Paltsev <Eugeniy.Paltsev(a)synopsys.com>
initramfs: restore default compression behavior
Gerd Hoffmann <kraxel(a)redhat.com>
drm/bochs: downgrade pci_request_region failure from error to warning
Mario Kleiner <mario.kleiner.de(a)gmail.com>
drm/amd/display: Add link_rate quirk for Apple 15" MBP 2017
Prabhath Sajeepa <psajeepa(a)purestorage.com>
nvme-rdma: Avoid double freeing of async event data
Marcelo Ricardo Leitner <marcelo.leitner(a)gmail.com>
sctp: fix possibly using a bad saddr with a given dst
Qiujun Huang <hqjagain(a)gmail.com>
sctp: fix refcount bug in sctp_wfree
William Dauchy <w.dauchy(a)criteo.com>
net, ip_tunnel: fix interface lookup with no key
Qian Cai <cai(a)lca.pw>
ipv4: fix a RCU-list lock in fib_triestat_seq_show
-------------
Diffstat:
Makefile | 4 +-
arch/arm64/kernel/head.S | 2 +-
drivers/char/hw_random/imx-rngc.c | 4 +-
drivers/char/random.c | 20 ++------
drivers/clk/qcom/clk-rcg2.c | 2 +-
drivers/extcon/extcon-axp288.c | 32 ++++++++++++
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 2 +-
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 11 +++++
drivers/gpu/drm/bochs/bochs_hw.c | 6 +--
drivers/gpu/drm/drm_dp_mst_topology.c | 1 +
drivers/gpu/drm/etnaviv/etnaviv_buffer.c | 10 ++--
drivers/gpu/drm/etnaviv/etnaviv_gpu.h | 1 +
drivers/gpu/drm/etnaviv/etnaviv_mmu.c | 6 +--
drivers/gpu/drm/etnaviv/etnaviv_mmu.h | 2 +-
drivers/gpu/drm/msm/msm_gem.c | 4 +-
drivers/infiniband/core/cma.c | 14 ++++++
drivers/infiniband/core/ucma.c | 49 ++++++++++++++++++-
drivers/infiniband/hw/hfi1/sysfs.c | 26 +++++++---
drivers/media/rc/lirc_dev.c | 2 +-
drivers/misc/cardreader/rts5227.c | 1 +
drivers/misc/mei/hw-me-regs.h | 2 +
drivers/misc/mei/pci-me.c | 2 +
drivers/misc/pci_endpoint_test.c | 14 ++++--
drivers/net/can/slcan.c | 4 +-
drivers/net/dsa/bcm_sf2.c | 9 +++-
.../net/ethernet/mellanox/mlxsw/spectrum_flower.c | 8 +--
.../net/ethernet/stmicro/stmmac/dwmac1000_core.c | 2 +-
drivers/net/phy/micrel.c | 7 +++
drivers/nvme/host/rdma.c | 8 +--
drivers/power/supply/axp288_charger.c | 57 +++++++++++++++++++++-
drivers/rpmsg/qcom_glink_native.c | 3 --
drivers/usb/dwc3/gadget.c | 3 +-
drivers/video/fbdev/core/fbcon.c | 3 ++
fs/ceph/super.c | 56 +++++++++++++--------
fs/ceph/super.h | 2 +-
include/linux/bitops.h | 14 +++---
include/linux/notifier.h | 3 +-
include/uapi/linux/coresight-stm.h | 6 ++-
kernel/padata.c | 4 +-
mm/mempolicy.c | 6 ++-
net/bluetooth/rfcomm/tty.c | 4 +-
net/core/dev.c | 2 +
net/ipv4/fib_trie.c | 3 ++
net/ipv4/ip_tunnel.c | 6 +--
net/ipv6/addrconf.c | 4 ++
net/rxrpc/sendmsg.c | 4 +-
net/sctp/ipv6.c | 20 +++++---
net/sctp/protocol.c | 28 +++++++----
net/sctp/socket.c | 31 +++++++++---
sound/pci/hda/patch_ca0132.c | 1 +
sound/soc/jz4740/jz4740-i2s.c | 2 +-
tools/accounting/getdelays.c | 2 +-
tools/power/x86/turbostat/turbostat.c | 27 +++++-----
usr/Kconfig | 22 ++++-----
54 files changed, 409 insertions(+), 159 deletions(-)
clang and gas seem to interpret the symbols in memmove.S and
memset.S differently, such that clang does not make them
'weak' as expected, which leads to a linker error, with both
ld.bfd and ld.lld:
ld.lld: error: duplicate symbol: memmove
>>> defined at common.c
>>> kasan/common.o:(memmove) in archive mm/built-in.a
>>> defined at memmove.o:(__memmove) in archive arch/arm64/lib/lib.a
ld.lld: error: duplicate symbol: memset
>>> defined at common.c
>>> kasan/common.o:(memset) in archive mm/built-in.a
>>> defined at memset.o:(__memset) in archive arch/arm64/lib/lib.a
Copy the exact way these are written in memcpy_64.S, which does
not have the same problem.
I don't know why this makes a difference, and it would be good
to have someone with a better understanding of assembler internals
review it.
It might be either a bug in the kernel or a bug in the assembler,
no idea which one. My patch makes it work with all versions of
clang and gcc, which is probably helpful even if it's a workaround
for a clang bug.
Cc: stable(a)vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd(a)arndb.de>
---
---
arch/arm64/lib/memcpy.S | 3 +--
arch/arm64/lib/memmove.S | 3 +--
arch/arm64/lib/memset.S | 3 +--
3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/lib/memcpy.S b/arch/arm64/lib/memcpy.S
index e0bf83d556f2..dc8d2a216a6e 100644
--- a/arch/arm64/lib/memcpy.S
+++ b/arch/arm64/lib/memcpy.S
@@ -56,9 +56,8 @@
stp \reg1, \reg2, [\ptr], \val
.endm
- .weak memcpy
SYM_FUNC_START_ALIAS(__memcpy)
-SYM_FUNC_START_PI(memcpy)
+SYM_FUNC_START_WEAK_PI(memcpy)
#include "copy_template.S"
ret
SYM_FUNC_END_PI(memcpy)
diff --git a/arch/arm64/lib/memmove.S b/arch/arm64/lib/memmove.S
index 02cda2e33bde..1035dce4bdaf 100644
--- a/arch/arm64/lib/memmove.S
+++ b/arch/arm64/lib/memmove.S
@@ -45,9 +45,8 @@ C_h .req x12
D_l .req x13
D_h .req x14
- .weak memmove
SYM_FUNC_START_ALIAS(__memmove)
-SYM_FUNC_START_PI(memmove)
+SYM_FUNC_START_WEAK_PI(memmove)
cmp dstin, src
b.lo __memcpy
add tmp1, src, count
diff --git a/arch/arm64/lib/memset.S b/arch/arm64/lib/memset.S
index 77c3c7ba0084..a9c1c9a01ea9 100644
--- a/arch/arm64/lib/memset.S
+++ b/arch/arm64/lib/memset.S
@@ -42,9 +42,8 @@ dst .req x8
tmp3w .req w9
tmp3 .req x9
- .weak memset
SYM_FUNC_START_ALIAS(__memset)
-SYM_FUNC_START_PI(memset)
+SYM_FUNC_START_WEAK_PI(memset)
mov dst, dstin /* Preserve return value. */
and A_lw, val, #255
orr A_lw, A_lw, A_lw, lsl #8
--
2.26.2
clang and gas seem to interpret the symbols in memmove_64.S and
memset_64.S differently, such that clang does not make them
'weak' as expected, which leads to a linker error, with both
ld.bfd and ld.lld:
ld.lld: error: duplicate symbol: memmove
>>> defined at common.c
>>> kasan/common.o:(memmove) in archive mm/built-in.a
>>> defined at memmove.o:(__memmove) in archive arch/arm64/lib/lib.a
ld.lld: error: duplicate symbol: memset
>>> defined at common.c
>>> kasan/common.o:(memset) in archive mm/built-in.a
>>> defined at memset.o:(__memset) in archive arch/arm64/lib/lib.a
Copy the exact way these are written in memcpy_64.S, which does
not have the same problem.
I don't know why this makes a difference, and it would be good
to have someone with a better understanding of assembler internals
review it.
It might be either a bug in the kernel or a bug in the assembler,
no idea which one. My patch makes it work with all versions of
clang and gcc, which is probably helpful even if it's a workaround
for a clang bug.
Cc: stable(a)vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd(a)arndb.de>
---
arch/x86/lib/memmove_64.S | 4 ++--
arch/x86/lib/memset_64.S | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/x86/lib/memmove_64.S b/arch/x86/lib/memmove_64.S
index 7ff00ea64e4f..dcca01434be8 100644
--- a/arch/x86/lib/memmove_64.S
+++ b/arch/x86/lib/memmove_64.S
@@ -26,8 +26,8 @@
*/
.weak memmove
-SYM_FUNC_START_ALIAS(memmove)
-SYM_FUNC_START(__memmove)
+SYM_FUNC_START_ALIAS(__memmove)
+SYM_FUNC_START_LOCAL(memmove)
mov %rdi, %rax
diff --git a/arch/x86/lib/memset_64.S b/arch/x86/lib/memset_64.S
index 9ff15ee404a4..a97f2ea4e0b2 100644
--- a/arch/x86/lib/memset_64.S
+++ b/arch/x86/lib/memset_64.S
@@ -19,8 +19,8 @@
*
* rax original destination
*/
-SYM_FUNC_START_ALIAS(memset)
-SYM_FUNC_START(__memset)
+SYM_FUNC_START_ALIAS(__memset)
+SYM_FUNC_START_LOCAL(memset)
/*
* Some CPUs support enhanced REP MOVSB/STOSB feature. It is recommended
* to use it when possible. If not available, use fast string instructions.
--
2.26.2
Changes since v3 [1]:
- Drop extern for new function declarations (Michael)
- Rename memcpy_mcsafe_64.S to copy_mc_64.S instead of copy_mc.S and
related fixups (Michael)
- Add a new symlink
(tools/testing/selftests/powerpc/copyloops/copy_mc_64.S) to the new
copy_mc_64.S to fix selftest build breakage (Michael)
- Drop one instance of copy_safe() that survived from v2 of the patchset
(Vivek)
- Fix 32-bit x86 build breakage (kbuild robot)
- Kill off rather than rename tools/arch/x86/include/asm/mcsafe_test.h
since perf is no longer burden with dealing with the copy_mc_generic()
implementation.
- Build success notification received for revised set (kbuild robot)
[1]: http://lore.kernel.org/r/158992635164.403910.2616621400995359522.stgit@dwil…
---
The primary motivation to go touch memcpy_mcsafe() is that the existing
benefit of doing slow "handle with care" copies is obviated on newer
CPUs. With that concern lifted it also obviates the need to continue to
update the MCA-recovery capability detection code currently gated by
"mcsafe_key". Now the old "mcsafe_key" opt-in to perform the copy with
concerns for recovery fragility can instead be made an opt-out from the
default fast copy implementation (enable_copy_mc_fragile()).
The discussion with Linus on the first iteration of this patch
identified that memcpy_mcsafe() was misnamed relative to its usage. The
new names copy_mc_to_user() and copy_mc_to_kernel() clearly indicate the
intended use case and lets the architecture organize the implementation
accordingly.
For both powerpc and x86 a copy_mc_generic() implementation is added as
the backend for these interfaces.
Patches are relative to tip/master.
---
Dan Williams (2):
x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user,kernel}()
x86/copy_mc: Introduce copy_mc_generic()
arch/powerpc/Kconfig | 2
arch/powerpc/include/asm/string.h | 2
arch/powerpc/include/asm/uaccess.h | 40 +++--
arch/powerpc/lib/Makefile | 2
arch/powerpc/lib/copy_mc_64.S | 4
arch/x86/Kconfig | 2
arch/x86/Kconfig.debug | 2
arch/x86/include/asm/copy_mc_test.h | 75 +++++++++
arch/x86/include/asm/mcsafe_test.h | 75 ---------
arch/x86/include/asm/string_64.h | 32 ----
arch/x86/include/asm/uaccess.h | 21 +++
arch/x86/include/asm/uaccess_64.h | 20 --
arch/x86/kernel/cpu/mce/core.c | 8 -
arch/x86/kernel/quirks.c | 9 -
arch/x86/lib/Makefile | 1
arch/x86/lib/copy_mc.c | 64 ++++++++
arch/x86/lib/copy_mc_64.S | 165 ++++++++++++++++++++
arch/x86/lib/memcpy_64.S | 115 --------------
arch/x86/lib/usercopy_64.c | 21 ---
drivers/md/dm-writecache.c | 15 +-
drivers/nvdimm/claim.c | 2
drivers/nvdimm/pmem.c | 6 -
include/linux/string.h | 9 -
include/linux/uaccess.h | 9 +
include/linux/uio.h | 10 +
lib/Kconfig | 7 +
lib/iov_iter.c | 43 +++--
tools/arch/x86/include/asm/mcsafe_test.h | 13 --
tools/arch/x86/lib/memcpy_64.S | 115 --------------
tools/objtool/check.c | 5 -
tools/perf/bench/Build | 1
tools/perf/bench/mem-memcpy-x86-64-lib.c | 24 ---
tools/testing/nvdimm/test/nfit.c | 48 +++---
.../testing/selftests/powerpc/copyloops/.gitignore | 2
tools/testing/selftests/powerpc/copyloops/Makefile | 6 -
.../selftests/powerpc/copyloops/copy_mc_64.S | 1
.../selftests/powerpc/copyloops/memcpy_mcsafe_64.S | 1
37 files changed, 451 insertions(+), 526 deletions(-)
rename arch/powerpc/lib/{memcpy_mcsafe_64.S => copy_mc_64.S} (98%)
create mode 100644 arch/x86/include/asm/copy_mc_test.h
delete mode 100644 arch/x86/include/asm/mcsafe_test.h
create mode 100644 arch/x86/lib/copy_mc.c
create mode 100644 arch/x86/lib/copy_mc_64.S
delete mode 100644 tools/arch/x86/include/asm/mcsafe_test.h
delete mode 100644 tools/perf/bench/mem-memcpy-x86-64-lib.c
create mode 120000 tools/testing/selftests/powerpc/copyloops/copy_mc_64.S
delete mode 120000 tools/testing/selftests/powerpc/copyloops/memcpy_mcsafe_64.S
base-commit: bba413deb1065f1291cb1f366247513f11215520
This is the start of the stable review cycle for the 4.4.225 release.
There are 65 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Thu, 28 May 2020 18:36:22 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.4.225-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.4.225-rc1
R. Parameswaran <parameswaran.r7(a)gmail.com>
l2tp: device MTU setup, tunnel socket needs a lock
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
iio: sca3000: Remove an erroneous 'get_device()'
Alexander Usyskin <alexander.usyskin(a)intel.com>
mei: release me_cl object reference
Dragos Bogdan <dragos.bogdan(a)analog.com>
staging: iio: ad2s1210: Fix SPI reading
Bob Peterson <rpeterso(a)redhat.com>
Revert "gfs2: Don't demote a glock until its revokes are written"
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: initialise PPP sessions before registering them
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: protect sock pointer of struct pppol2tp_session with RCU
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: initialise l2tp_eth sessions before registering them
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: don't register sessions in l2tp_session_create()
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: fix l2tp_eth module loading
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: pass tunnel pointer to ->session_create()
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: prevent creation of sessions on terminated tunnels
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: hold tunnel used while creating sessions with netlink
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: hold tunnel while handling genl TUNNEL_GET commands
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: hold tunnel while handling genl tunnel updates
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: hold tunnel while processing genl delete command
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: hold tunnel while looking up sessions in l2tp_netlink
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: initialise session's refcount before making it reachable
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: define parameters of l2tp_tunnel_find*() as "const"
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: define parameters of l2tp_session_get*() as "const"
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: remove l2tp_session_find()
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: remove useless duplicate session detection in l2tp_netlink
R. Parameswaran <parameswaran.r7(a)gmail.com>
L2TP:Adjust intf MTU, add underlay L3, L2 hdrs.
R. Parameswaran <parameswaran.r7(a)gmail.com>
New kernel function to get IP overhead on a socket.
Asbjørn Sloth Tønnesen <asbjorn(a)asbjorn.st>
net: l2tp: ppp: change PPPOL2TP_MSG_* => L2TP_MSG_*
Asbjørn Sloth Tønnesen <asbjorn(a)asbjorn.st>
net: l2tp: deprecate PPPOL2TP_MSG_* in favour of L2TP_MSG_*
Asbjørn Sloth Tønnesen <asbjorn(a)asbjorn.st>
net: l2tp: export debug flags to UAPI
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: don't use l2tp_tunnel_find() in l2tp_ip and l2tp_ip6
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: take a reference on sessions used in genetlink handlers
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: hold session while sending creation notifications
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: fix racy socket lookup in l2tp_ip and l2tp_ip6 bind()
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: lock socket before checking flags in connect()
Vishal Verma <vishal.l.verma(a)intel.com>
libnvdimm/btt: Remove unnecessary code in btt_freelist_init
Colin Ian King <colin.king(a)canonical.com>
platform/x86: alienware-wmi: fix kfree on potentially uninitialized pointer
Theodore Ts'o <tytso(a)mit.edu>
ext4: lock the xattr block before checksuming it
Brent Lu <brent.lu(a)intel.com>
ALSA: pcm: fix incorrect hw_base increase
Daniel Jordan <daniel.m.jordan(a)oracle.com>
padata: purge get_cpu and reorder_via_wq from padata_do_serial
Daniel Jordan <daniel.m.jordan(a)oracle.com>
padata: initialize pd->cpu with effective cpumask
Herbert Xu <herbert(a)gondor.apana.org.au>
padata: Replace delayed timer with immediate workqueue in padata_reorder
Peter Zijlstra <peterz(a)infradead.org>
sched/fair, cpumask: Export for_each_cpu_wrap()
Mathias Krause <minipli(a)googlemail.com>
padata: set cpu_index of unused CPUs to -1
Kevin Hao <haokexin(a)gmail.com>
i2c: dev: Fix the race between the release of i2c_dev and cdev
viresh kumar <viresh.kumar(a)linaro.org>
i2c-dev: don't get i2c adapter via i2c_dev
Dan Carpenter <dan.carpenter(a)oracle.com>
i2c: dev: use after free in detach
Wolfram Sang <wsa(a)the-dreams.de>
i2c: dev: don't start function name with 'return'
Erico Nunes <erico.nunes(a)datacom.ind.br>
i2c: dev: switch from register_chrdev to cdev API
Shuah Khan <shuahkh(a)osg.samsung.com>
media: fix media devnode ioctl/syscall and unregister race
Shuah Khan <shuahkh(a)osg.samsung.com>
media: fix use-after-free in cdev_put() when app exits after driver unbind
Mauro Carvalho Chehab <mchehab(a)osg.samsung.com>
media-device: dynamically allocate struct media_devnode
Mauro Carvalho Chehab <mchehab(a)osg.samsung.com>
media-devnode: fix namespace mess
Max Kellermann <max(a)duempel.org>
media-devnode: add missing mutex lock in error handler
Max Kellermann <max(a)duempel.org>
drivers/media/media-devnode: clear private_data before put_device()
Shuah Khan <shuahkh(a)osg.samsung.com>
media: Fix media_open() to clear filp->private_data in error leg
Thomas Gleixner <tglx(a)linutronix.de>
ARM: futex: Address build warning
Hans de Goede <hdegoede(a)redhat.com>
platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA
Alan Stern <stern(a)rowland.harvard.edu>
USB: core: Fix misleading driver bug report
Wu Bo <wubo40(a)huawei.com>
ceph: fix double unlock in handle_cap_export()
Sebastian Reichel <sebastian.reichel(a)collabora.com>
HID: multitouch: add eGalaxTouch P80H84 support
Al Viro <viro(a)zeniv.linux.org.uk>
fix multiplication overflow in copy_fdtable()
Roberto Sassu <roberto.sassu(a)huawei.com>
evm: Check also if *tfm is an error pointer in init_desc()
Mathias Krause <minipli(a)googlemail.com>
padata: ensure padata_do_serial() runs on the correct CPU
Mathias Krause <minipli(a)googlemail.com>
padata: ensure the reorder timer callback runs on the correct CPU
Jason A. Donenfeld <Jason(a)zx2c4.com>
padata: get_next is never NULL
Tobias Klauser <tklauser(a)distanz.ch>
padata: Remove unused but set variables
Cao jin <caoj.fnst(a)cn.fujitsu.com>
igb: use igb_adapter->io_addr instead of e1000_hw->hw_addr
-------------
Diffstat:
Documentation/networking/l2tp.txt | 8 +-
Makefile | 4 +-
arch/arm/include/asm/futex.h | 9 +-
drivers/hid/hid-ids.h | 1 +
drivers/hid/hid-multitouch.c | 3 +
drivers/i2c/i2c-dev.c | 60 +++---
drivers/media/media-device.c | 43 +++--
drivers/media/media-devnode.c | 168 +++++++++-------
drivers/media/usb/uvc/uvc_driver.c | 2 +-
drivers/misc/mei/client.c | 2 +
drivers/net/ethernet/intel/igb/igb_main.c | 4 +-
drivers/nvdimm/btt.c | 8 +-
drivers/platform/x86/alienware-wmi.c | 17 +-
drivers/platform/x86/asus-nb-wmi.c | 24 +++
drivers/staging/iio/accel/sca3000_ring.c | 2 +-
drivers/staging/iio/resolver/ad2s1210.c | 17 +-
drivers/usb/core/message.c | 4 +-
fs/ceph/caps.c | 1 +
fs/ext4/xattr.c | 66 ++++---
fs/file.c | 2 +-
fs/gfs2/glock.c | 3 -
include/linux/cpumask.h | 17 ++
include/linux/net.h | 3 +
include/linux/padata.h | 13 +-
include/media/media-device.h | 5 +-
include/media/media-devnode.h | 32 +++-
include/net/ipv6.h | 2 +
include/uapi/linux/if_pppol2tp.h | 13 +-
include/uapi/linux/l2tp.h | 17 +-
kernel/padata.c | 88 ++++-----
lib/cpumask.c | 32 ++++
net/ipv6/datagram.c | 4 +-
net/l2tp/l2tp_core.c | 181 ++++++-----------
net/l2tp/l2tp_core.h | 47 +++--
net/l2tp/l2tp_eth.c | 216 +++++++++++++--------
net/l2tp/l2tp_ip.c | 68 ++++---
net/l2tp/l2tp_ip6.c | 82 ++++----
net/l2tp/l2tp_netlink.c | 124 +++++++-----
net/l2tp/l2tp_ppp.c | 309 ++++++++++++++++++------------
net/socket.c | 46 +++++
security/integrity/evm/evm_crypto.c | 2 +-
sound/core/pcm_lib.c | 1 +
42 files changed, 1014 insertions(+), 736 deletions(-)
Since the driver was first introduced into the kernel, it has only
handled the ciphers associated with WEP, WPA, and WPA2. It fails with
WPA3 even though mac80211 can handle those additional ciphers in software,
b43legacy did not report that it could handle them. By setting MFP_CAPABLE using
ieee80211_set_hw(), the problem is fixed.
With this change, b43legacy will handle the ciohers it knows in hardare,
and let mac80211 handle the others in software. It is not necessary to
use the module parameter NOHWCRYPT to turn hardware encryption off.
Although this change essentially eliminates that module parameter,
I am choosing to keep it for cases where the hardware is broken,
and software encryption is required for all ciphers.
This patch fixes a problem that has been in b43legacy since commit
75388acd0cd8 ("[B43LEGACY]: add mac80211-based driver for legacy BCM43xx
devices").
Fixes: 75388acd0cd8 ("[B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices")
Signed-off-by: Larry Finger <Larry.Finger(a)lwfinger.net>
Cc: Stable <stable(a)vger.kernel.org>
---
drivers/net/wireless/broadcom/b43legacy/main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/broadcom/b43legacy/main.c b/drivers/net/wireless/broadcom/b43legacy/main.c
index 8b6b657c4b85..5208a39fd6f7 100644
--- a/drivers/net/wireless/broadcom/b43legacy/main.c
+++ b/drivers/net/wireless/broadcom/b43legacy/main.c
@@ -3801,6 +3801,7 @@ static int b43legacy_wireless_init(struct ssb_device *dev)
/* fill hw info */
ieee80211_hw_set(hw, RX_INCLUDES_FCS);
ieee80211_hw_set(hw, SIGNAL_DBM);
+ ieee80211_hw_set(hw, MFP_CAPABLE); /* Allow WPA3 in software */
hw->wiphy->interface_modes =
BIT(NL80211_IFTYPE_AP) |
--
2.26.2
This is the start of the stable review cycle for the 4.9.225 release.
There are 64 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Thu, 28 May 2020 18:36:22 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.225-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.9.225-rc1
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
iio: sca3000: Remove an erroneous 'get_device()'
John Hubbard <jhubbard(a)nvidia.com>
rapidio: fix an error in get_user_pages_fast() error handling
Alexander Usyskin <alexander.usyskin(a)intel.com>
mei: release me_cl object reference
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()'
Oscar Carter <oscar.carter(a)gmx.com>
staging: greybus: Fix uninitialized scalar variable
Dragos Bogdan <dragos.bogdan(a)analog.com>
staging: iio: ad2s1210: Fix SPI reading
Bob Peterson <rpeterso(a)redhat.com>
Revert "gfs2: Don't demote a glock until its revokes are written"
Arjun Vynipadath <arjun(a)chelsio.com>
cxgb4/cxgb4vf: Fix mac_hlist initialization and free
Arjun Vynipadath <arjun(a)chelsio.com>
cxgb4: free mac_hlist properly
Vishal Verma <vishal.l.verma(a)intel.com>
libnvdimm/btt: Remove unnecessary code in btt_freelist_init
Colin Ian King <colin.king(a)canonical.com>
platform/x86: alienware-wmi: fix kfree on potentially uninitialized pointer
Arnd Bergmann <arnd(a)arndb.de>
ubsan: build ubsan.c more conservatively
Peter Zijlstra <peterz(a)infradead.org>
x86/uaccess, ubsan: Fix UBSAN vs. SMAP
R. Parameswaran <parameswaran.r7(a)gmail.com>
l2tp: device MTU setup, tunnel socket needs a lock
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
dmaengine: tegra210-adma: Fix an error handling path in 'tegra_adma_probe()'
Brent Lu <brent.lu(a)intel.com>
ALSA: pcm: fix incorrect hw_base increase
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: initialise PPP sessions before registering them
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: protect sock pointer of struct pppol2tp_session with RCU
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: initialise l2tp_eth sessions before registering them
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: don't register sessions in l2tp_session_create()
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: fix l2tp_eth module loading
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: pass tunnel pointer to ->session_create()
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: prevent creation of sessions on terminated tunnels
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: hold tunnel used while creating sessions with netlink
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: hold tunnel while handling genl TUNNEL_GET commands
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: hold tunnel while handling genl tunnel updates
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: hold tunnel while processing genl delete command
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: hold tunnel while looking up sessions in l2tp_netlink
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: initialise session's refcount before making it reachable
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: define parameters of l2tp_tunnel_find*() as "const"
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: define parameters of l2tp_session_get*() as "const"
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: remove l2tp_session_find()
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: remove useless duplicate session detection in l2tp_netlink
R. Parameswaran <parameswaran.r7(a)gmail.com>
L2TP:Adjust intf MTU, add underlay L3, L2 hdrs.
R. Parameswaran <parameswaran.r7(a)gmail.com>
New kernel function to get IP overhead on a socket.
Asbjørn Sloth Tønnesen <asbjorn(a)asbjorn.st>
net: l2tp: ppp: change PPPOL2TP_MSG_* => L2TP_MSG_*
Asbjørn Sloth Tønnesen <asbjorn(a)asbjorn.st>
net: l2tp: deprecate PPPOL2TP_MSG_* in favour of L2TP_MSG_*
Asbjørn Sloth Tønnesen <asbjorn(a)asbjorn.st>
net: l2tp: export debug flags to UAPI
Kevin Hao <haokexin(a)gmail.com>
watchdog: Fix the race between the release of watchdog_core_data and cdev
Christoph Hellwig <hch(a)lst.de>
arm64: fix the flush_icache_range arguments in machine_kexec
Daniel Jordan <daniel.m.jordan(a)oracle.com>
padata: purge get_cpu and reorder_via_wq from padata_do_serial
Daniel Jordan <daniel.m.jordan(a)oracle.com>
padata: initialize pd->cpu with effective cpumask
Herbert Xu <herbert(a)gondor.apana.org.au>
padata: Replace delayed timer with immediate workqueue in padata_reorder
Mathias Krause <minipli(a)googlemail.com>
padata: set cpu_index of unused CPUs to -1
Kevin Hao <haokexin(a)gmail.com>
i2c: dev: Fix the race between the release of i2c_dev and cdev
Thomas Gleixner <tglx(a)linutronix.de>
ARM: futex: Address build warning
Hans de Goede <hdegoede(a)redhat.com>
platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA
Alan Stern <stern(a)rowland.harvard.edu>
USB: core: Fix misleading driver bug report
Wu Bo <wubo40(a)huawei.com>
ceph: fix double unlock in handle_cap_export()
Yoshiyuki Kurauchi <ahochauwaaaaa(a)gmail.com>
gtp: set NLM_F_MULTI flag in gtp_genl_dump_pdp()
James Hilliard <james.hilliard1(a)gmail.com>
component: Silence bind error on -EPROBE_DEFER
Xiyu Yang <xiyuyang19(a)fudan.edu.cn>
configfs: fix config_item refcnt leak in configfs_rmdir()
Sebastian Reichel <sebastian.reichel(a)collabora.com>
HID: multitouch: add eGalaxTouch P80H84 support
Frédéric Pierret (fepitre) <frederic.pierret(a)qubes-os.org>
gcc-common.h: Update for GCC 10
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
i2c: mux: demux-pinctrl: Fix an error handling path in 'i2c_demux_pinctrl_probe()'
Alexander Monakov <amonakov(a)ispras.ru>
iommu/amd: Fix over-read of ACPI UID from IVRS table
Al Viro <viro(a)zeniv.linux.org.uk>
fix multiplication overflow in copy_fdtable()
Roberto Sassu <roberto.sassu(a)huawei.com>
ima: Fix return value of ima_write_policy()
Roberto Sassu <roberto.sassu(a)huawei.com>
evm: Check also if *tfm is an error pointer in init_desc()
Mathias Krause <minipli(a)googlemail.com>
padata: ensure padata_do_serial() runs on the correct CPU
Mathias Krause <minipli(a)googlemail.com>
padata: ensure the reorder timer callback runs on the correct CPU
Jason A. Donenfeld <Jason(a)zx2c4.com>
padata: get_next is never NULL
Tobias Klauser <tklauser(a)distanz.ch>
padata: Remove unused but set variables
Cao jin <caoj.fnst(a)cn.fujitsu.com>
igb: use igb_adapter->io_addr instead of e1000_hw->hw_addr
-------------
Diffstat:
Documentation/networking/l2tp.txt | 8 +-
Makefile | 4 +-
arch/arm/include/asm/futex.h | 9 +-
arch/arm64/kernel/machine_kexec.c | 3 +-
drivers/base/component.c | 8 +-
drivers/dma/tegra210-adma.c | 2 +-
drivers/hid/hid-ids.h | 1 +
drivers/hid/hid-multitouch.c | 3 +
drivers/i2c/i2c-dev.c | 48 ++--
drivers/i2c/muxes/i2c-demux-pinctrl.c | 1 +
drivers/iio/dac/vf610_dac.c | 1 +
drivers/iommu/amd_iommu_init.c | 9 +-
drivers/misc/mei/client.c | 2 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 13 +-
.../net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 6 +-
drivers/net/ethernet/intel/igb/igb_main.c | 4 +-
drivers/net/gtp.c | 9 +-
drivers/nvdimm/btt.c | 8 +-
drivers/platform/x86/alienware-wmi.c | 17 +-
drivers/platform/x86/asus-nb-wmi.c | 24 ++
drivers/rapidio/devices/rio_mport_cdev.c | 5 +
drivers/staging/greybus/uart.c | 4 +-
drivers/staging/iio/accel/sca3000_ring.c | 2 +-
drivers/staging/iio/resolver/ad2s1210.c | 17 +-
drivers/usb/core/message.c | 4 +-
drivers/watchdog/watchdog_dev.c | 67 ++---
fs/ceph/caps.c | 1 +
fs/configfs/dir.c | 1 +
fs/file.c | 2 +-
fs/gfs2/glock.c | 3 -
include/linux/net.h | 3 +
include/linux/padata.h | 13 +-
include/uapi/linux/if_pppol2tp.h | 13 +-
include/uapi/linux/l2tp.h | 17 +-
kernel/padata.c | 88 +++---
lib/Makefile | 2 +
net/l2tp/l2tp_core.c | 174 ++++--------
net/l2tp/l2tp_core.h | 46 +--
net/l2tp/l2tp_eth.c | 216 ++++++++------
net/l2tp/l2tp_netlink.c | 79 +++---
net/l2tp/l2tp_ppp.c | 309 ++++++++++++---------
net/socket.c | 46 +++
scripts/gcc-plugins/Makefile | 1 +
scripts/gcc-plugins/gcc-common.h | 4 +
security/integrity/evm/evm_crypto.c | 2 +-
security/integrity/ima/ima_fs.c | 3 +-
sound/core/pcm_lib.c | 1 +
47 files changed, 734 insertions(+), 569 deletions(-)
This is the start of the stable review cycle for the 4.14.182 release.
There are 59 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Thu, 28 May 2020 18:36:22 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.14.182-r…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.14.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.14.182-rc1
Fabrice Gasnier <fabrice.gasnier(a)st.com>
iio: adc: stm32-adc: fix device used to request dma
Peter Ujfalusi <peter.ujfalusi(a)ti.com>
iio: adc: stm32-adc: Use dma_request_chan() instead dma_request_slave_channel()
Josh Poimboeuf <jpoimboe(a)redhat.com>
x86/unwind/orc: Fix unwind_get_return_address_ptr() for inactive tasks
Qiushi Wu <wu000273(a)umn.edu>
rxrpc: Fix a memory leak in rxkad_verify_response()
John Hubbard <jhubbard(a)nvidia.com>
rapidio: fix an error in get_user_pages_fast() error handling
Alexander Usyskin <alexander.usyskin(a)intel.com>
mei: release me_cl object reference
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()'
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
iio: sca3000: Remove an erroneous 'get_device()'
Oscar Carter <oscar.carter(a)gmx.com>
staging: greybus: Fix uninitialized scalar variable
Dragos Bogdan <dragos.bogdan(a)analog.com>
staging: iio: ad2s1210: Fix SPI reading
Bob Peterson <rpeterso(a)redhat.com>
Revert "gfs2: Don't demote a glock until its revokes are written"
Arjun Vynipadath <arjun(a)chelsio.com>
cxgb4/cxgb4vf: Fix mac_hlist initialization and free
Arjun Vynipadath <arjun(a)chelsio.com>
cxgb4: free mac_hlist properly
Geert Uytterhoeven <geert+renesas(a)glider.be>
media: fdp1: Fix R-Car M3-N naming in debug message
Vishal Verma <vishal.l.verma(a)intel.com>
libnvdimm/btt: Fix LBA masking during 'free list' population
Vishal Verma <vishal.l.verma(a)intel.com>
libnvdimm/btt: Remove unnecessary code in btt_freelist_init
Arnd Bergmann <arnd(a)arndb.de>
ubsan: build ubsan.c more conservatively
Peter Zijlstra <peterz(a)infradead.org>
x86/uaccess, ubsan: Fix UBSAN vs. SMAP
Michael Ellerman <mpe(a)ellerman.id.au>
powerpc/64s: Disable STRICT_KERNEL_RWX
Russell Currey <ruscur(a)russell.cc>
powerpc: Remove STRICT_KERNEL_RWX incompatibility with RELOCATABLE
Christophe Leroy <christophe.leroy(a)c-s.fr>
powerpc: restore alphabetic order in Kconfig
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
dmaengine: tegra210-adma: Fix an error handling path in 'tegra_adma_probe()'
Xiyu Yang <xiyuyang19(a)fudan.edu.cn>
apparmor: Fix aa_label refcnt leak in policy_update
Brent Lu <brent.lu(a)intel.com>
ALSA: pcm: fix incorrect hw_base increase
Scott Bahling <sbahling(a)suse.com>
ALSA: iec1712: Initialize STDSP24 properly when using the model=staudio option
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: initialise PPP sessions before registering them
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: protect sock pointer of struct pppol2tp_session with RCU
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: initialise l2tp_eth sessions before registering them
Guillaume Nault <g.nault(a)alphalink.fr>
l2tp: don't register sessions in l2tp_session_create()
Christoph Hellwig <hch(a)lst.de>
arm64: fix the flush_icache_range arguments in machine_kexec
Daniel Jordan <daniel.m.jordan(a)oracle.com>
padata: purge get_cpu and reorder_via_wq from padata_do_serial
Daniel Jordan <daniel.m.jordan(a)oracle.com>
padata: initialize pd->cpu with effective cpumask
Herbert Xu <herbert(a)gondor.apana.org.au>
padata: Replace delayed timer with immediate workqueue in padata_reorder
Mathias Krause <minipli(a)googlemail.com>
padata: set cpu_index of unused CPUs to -1
Thomas Gleixner <tglx(a)linutronix.de>
ARM: futex: Address build warning
Hans de Goede <hdegoede(a)redhat.com>
platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA
Alan Stern <stern(a)rowland.harvard.edu>
USB: core: Fix misleading driver bug report
Wu Bo <wubo40(a)huawei.com>
ceph: fix double unlock in handle_cap_export()
Yoshiyuki Kurauchi <ahochauwaaaaa(a)gmail.com>
gtp: set NLM_F_MULTI flag in gtp_genl_dump_pdp()
Thomas Gleixner <tglx(a)linutronix.de>
x86/apic: Move TSC deadline timer debug printk
Tyrel Datwyler <tyreld(a)linux.ibm.com>
scsi: ibmvscsi: Fix WARN_ON during event pool release
James Hilliard <james.hilliard1(a)gmail.com>
component: Silence bind error on -EPROBE_DEFER
Stefano Garzarella <sgarzare(a)redhat.com>
vhost/vsock: fix packet delivery order to monitoring devices
Xiyu Yang <xiyuyang19(a)fudan.edu.cn>
configfs: fix config_item refcnt leak in configfs_rmdir()
Arun Easi <aeasi(a)marvell.com>
scsi: qla2xxx: Fix hang when issuing nvme disconnect-all in NPIV
Sebastian Reichel <sebastian.reichel(a)collabora.com>
HID: multitouch: add eGalaxTouch P80H84 support
Frédéric Pierret (fepitre) <frederic.pierret(a)qubes-os.org>
gcc-common.h: Update for GCC 10
Richard Weinberger <richard(a)nod.at>
ubi: Fix seq_file usage in detailed_erase_block_info debugfs file
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
i2c: mux: demux-pinctrl: Fix an error handling path in 'i2c_demux_pinctrl_probe()'
Alexander Monakov <amonakov(a)ispras.ru>
iommu/amd: Fix over-read of ACPI UID from IVRS table
Al Viro <viro(a)zeniv.linux.org.uk>
fix multiplication overflow in copy_fdtable()
Roberto Sassu <roberto.sassu(a)huawei.com>
ima: Fix return value of ima_write_policy()
Roberto Sassu <roberto.sassu(a)huawei.com>
evm: Check also if *tfm is an error pointer in init_desc()
Roberto Sassu <roberto.sassu(a)huawei.com>
ima: Set file->f_mode instead of file->f_flags in ima_calc_file_hash()
Mathias Krause <minipli(a)googlemail.com>
padata: ensure padata_do_serial() runs on the correct CPU
Mathias Krause <minipli(a)googlemail.com>
padata: ensure the reorder timer callback runs on the correct CPU
Kevin Hao <haokexin(a)gmail.com>
i2c: dev: Fix the race between the release of i2c_dev and cdev
Kevin Hao <haokexin(a)gmail.com>
watchdog: Fix the race between the release of watchdog_core_data and cdev
Shijie Luo <luoshijie1(a)huawei.com>
ext4: add cond_resched() to ext4_protect_reserved_inode
-------------
Diffstat:
Makefile | 4 +-
arch/arm/include/asm/futex.h | 9 +-
arch/arm64/kernel/machine_kexec.c | 3 +-
arch/powerpc/Kconfig | 4 +-
arch/x86/kernel/apic/apic.c | 27 +--
arch/x86/kernel/unwind_orc.c | 7 +
drivers/base/component.c | 8 +-
drivers/dma/tegra210-adma.c | 2 +-
drivers/hid/hid-ids.h | 1 +
drivers/hid/hid-multitouch.c | 3 +
drivers/i2c/i2c-dev.c | 48 +++--
drivers/i2c/muxes/i2c-demux-pinctrl.c | 1 +
drivers/iio/accel/sca3000.c | 2 +-
drivers/iio/adc/stm32-adc.c | 20 +-
drivers/iio/dac/vf610_dac.c | 1 +
drivers/iommu/amd_iommu_init.c | 9 +-
drivers/media/platform/rcar_fdp1.c | 2 +-
drivers/misc/mei/client.c | 2 +
drivers/mtd/ubi/debug.c | 12 +-
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 13 +-
.../net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 6 +-
drivers/net/gtp.c | 9 +-
drivers/nvdimm/btt.c | 33 +--
drivers/nvdimm/btt.h | 2 +
drivers/nvdimm/btt_devs.c | 8 +
drivers/platform/x86/asus-nb-wmi.c | 24 +++
drivers/rapidio/devices/rio_mport_cdev.c | 5 +
drivers/scsi/ibmvscsi/ibmvscsi.c | 4 -
drivers/scsi/qla2xxx/qla_mbx.c | 2 +-
drivers/staging/greybus/uart.c | 4 +-
drivers/staging/iio/resolver/ad2s1210.c | 17 +-
drivers/usb/core/message.c | 4 +-
drivers/vhost/vsock.c | 10 +-
drivers/watchdog/watchdog_dev.c | 67 +++---
fs/ceph/caps.c | 1 +
fs/configfs/dir.c | 1 +
fs/ext4/block_validity.c | 1 +
fs/file.c | 2 +-
fs/gfs2/glock.c | 3 -
include/linux/padata.h | 13 +-
kernel/padata.c | 71 +++---
lib/Makefile | 2 +
net/l2tp/l2tp_core.c | 21 +-
net/l2tp/l2tp_core.h | 3 +
net/l2tp/l2tp_eth.c | 99 +++++++--
net/l2tp/l2tp_ppp.c | 238 +++++++++++++--------
net/rxrpc/rxkad.c | 3 +-
scripts/gcc-plugins/Makefile | 1 +
scripts/gcc-plugins/gcc-common.h | 4 +
security/apparmor/apparmorfs.c | 3 +-
security/integrity/evm/evm_crypto.c | 2 +-
security/integrity/ima/ima_crypto.c | 12 +-
security/integrity/ima/ima_fs.c | 3 +-
sound/core/pcm_lib.c | 1 +
sound/pci/ice1712/ice1712.c | 3 +-
55 files changed, 529 insertions(+), 331 deletions(-)
Since
commit 27d13da8782a ("w1: omap-hdq: Simplify driver with PM runtime autosuspend")
was applied,
I did see timeouts and wrong values when reading a bq27000 connected
to hdq of the omap3. This occurred mainly after boot but remained and
only sometimes settled down after several reads.
root@letux:~# time cat /sys/class/power_supply/bq27000-battery/uevent
POWER_SUPPLY_NAME=bq27000-battery
POWER_SUPPLY_STATUS=Discharging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_VOLTAGE_NOW=0
POWER_SUPPLY_CURRENT_NOW=0
POWER_SUPPLY_CAPACITY=0
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_TEMP=-2731
POWER_SUPPLY_TIME_TO_EMPTY_NOW=0
POWER_SUPPLY_TIME_TO_EMPTY_AVG=0
POWER_SUPPLY_TIME_TO_FULL_NOW=0
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CHARGE_FULL=0
POWER_SUPPLY_CHARGE_NOW=0
POWER_SUPPLY_CHARGE_FULL_DESIGN=0
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_ENERGY_NOW=0
POWER_SUPPLY_POWER_AVG=0
POWER_SUPPLY_HEALTH=Good
POWER_SUPPLY_MANUFACTURER=Texas Instruments
real 0m15.761s
user 0m0.001s
sys 0m0.025s
root@letux:~#
Sometimes the effect did disappear after accessing
the device multiple times, speed went up and results
became correct.
All this indicates that some interrupts from the hdq
controller are lost by the driver.
Enabling debugging revealed that there were spurious tx
and rx timeouts, i.e. the driver does not always recognise
interrupts. The main problem is that rx and tx interrupts
share a single variable which was sometimes reset to
0 wiping out other interrupts. And it was overwritten
by a second interrupt, independent of whether the
previous interrupt was already processed or not.
This patch improves interrupt handling to avoid such
races and loss of interrupt flags.
The ideas are:
* only the hdq_isr() sets bits in hdq_status
* it does not reset any bits
* it does wake_up() if any interrupt is pending
* bits are only reset by the read/write/break functions
if they were waited for
* this makes sure that no interrupts can be lost
* rx/tx/timeout bits are completely decoupled from each
other (and not reset all after waiting for any of them)
* which bits to reset is now specified by a new parameter
to hdq_reset_irqstatus()
* hdq_reset_irqstatus() also returns the state before
resetting so that we can encapsulate the spinlock
* this should now handle the case that the write and read
are both already finished quickly before the hdq_write_byte()
ends.
* Or that two interrupts occur in succession before
they are processed by the driver.
Old code may have reset all status bits making the next
hdq_read_byte() timeout.
* the spinlock now always protects changing of bits in function
hdq_reset_irqstatus() which could become a read-write-modify
problem if the interrupt handler tries to read-modify-write
exactly at the same moment
* we add mutex protection also for hdq_write_byte() just to
be safe to not to disturb a hdq_read_byte() triggered by
some other thread/process.
This patch was tested on a GTA04 and results in no
boot problems any more. And first read after boot is now ok:
root@letux:~# time cat /sys/class/power_supply/bq27000-battery/uevent
POWER_SUPPLY_NAME=bq27000-battery
POWER_SUPPLY_STATUS=Discharging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_VOLTAGE_NOW=3970000
POWER_SUPPLY_CURRENT_NOW=354144
POWER_SUPPLY_CAPACITY=82
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_TEMP=266
POWER_SUPPLY_TIME_TO_EMPTY_NOW=7680
POWER_SUPPLY_TIME_TO_EMPTY_AVG=7380
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CHARGE_FULL=934856
POWER_SUPPLY_CHARGE_NOW=763976
POWER_SUPPLY_CHARGE_FULL_DESIGN=1233792
POWER_SUPPLY_CYCLE_COUNT=82
POWER_SUPPLY_ENERGY_NOW=2852840
POWER_SUPPLY_POWER_AVG=1392840
POWER_SUPPLY_HEALTH=Good
POWER_SUPPLY_MANUFACTURER=Texas Instruments
real 0m0.233s
user 0m0.000s
sys 0m0.025s
root@letux:~#
It was also tested with dev_dbg enabled and more
printk that all activities behave correctly, especially
hdq_write_byte(), hdq_read_byte(), omap_hdq_break().
Not tested is omap_w1_triplet().
Fixes: 27d13da8782a ("w1: omap-hdq: Simplify driver with PM runtime autosuspend")
Cc: stable(a)vger.kernel.org # v5.6+
Signed-off-by: H. Nikolaus Schaller <hns(a)goldelico.com>
---
drivers/w1/masters/omap_hdq.c | 62 ++++++++++++++++++++++++-----------
1 file changed, 42 insertions(+), 20 deletions(-)
diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c
index 9f9ec108b189e2..a6484700f3b388 100644
--- a/drivers/w1/masters/omap_hdq.c
+++ b/drivers/w1/masters/omap_hdq.c
@@ -54,10 +54,10 @@ MODULE_PARM_DESC(w1_id, "1-wire id for the slave detection in HDQ mode");
struct hdq_data {
struct device *dev;
void __iomem *hdq_base;
- /* lock status update */
+ /* lock read/write/break operations */
struct mutex hdq_mutex;
+ /* interrupt status and a lock for it */
u8 hdq_irqstatus;
- /* device lock */
spinlock_t hdq_spinlock;
/* mode: 0-HDQ 1-W1 */
int mode;
@@ -120,13 +120,18 @@ static int hdq_wait_for_flag(struct hdq_data *hdq_data, u32 offset,
}
/* Clear saved irqstatus after using an interrupt */
-static void hdq_reset_irqstatus(struct hdq_data *hdq_data)
+static u8 hdq_reset_irqstatus(struct hdq_data *hdq_data, u8 bits)
{
unsigned long irqflags;
+ u8 status;
spin_lock_irqsave(&hdq_data->hdq_spinlock, irqflags);
- hdq_data->hdq_irqstatus = 0;
+ status = hdq_data->hdq_irqstatus;
+ /* this is a read-modify-write */
+ hdq_data->hdq_irqstatus &= ~bits;
spin_unlock_irqrestore(&hdq_data->hdq_spinlock, irqflags);
+
+ return status;
}
/* write out a byte and fill *status with HDQ_INT_STATUS */
@@ -135,6 +140,12 @@ static int hdq_write_byte(struct hdq_data *hdq_data, u8 val, u8 *status)
int ret;
u8 tmp_status;
+ ret = mutex_lock_interruptible(&hdq_data->hdq_mutex);
+ if (ret < 0) {
+ ret = -EINTR;
+ goto rtn;
+ }
+
*status = 0;
hdq_reg_out(hdq_data, OMAP_HDQ_TX_DATA, val);
@@ -144,14 +155,15 @@ static int hdq_write_byte(struct hdq_data *hdq_data, u8 val, u8 *status)
OMAP_HDQ_CTRL_STATUS_DIR | OMAP_HDQ_CTRL_STATUS_GO);
/* wait for the TXCOMPLETE bit */
ret = wait_event_timeout(hdq_wait_queue,
- hdq_data->hdq_irqstatus, OMAP_HDQ_TIMEOUT);
+ (hdq_data->hdq_irqstatus & OMAP_HDQ_INT_STATUS_TXCOMPLETE),
+ OMAP_HDQ_TIMEOUT);
+ *status = hdq_reset_irqstatus(hdq_data, OMAP_HDQ_INT_STATUS_TXCOMPLETE);
if (ret == 0) {
dev_dbg(hdq_data->dev, "TX wait elapsed\n");
ret = -ETIMEDOUT;
goto out;
}
- *status = hdq_data->hdq_irqstatus;
/* check irqstatus */
if (!(*status & OMAP_HDQ_INT_STATUS_TXCOMPLETE)) {
dev_dbg(hdq_data->dev, "timeout waiting for"
@@ -170,7 +182,8 @@ static int hdq_write_byte(struct hdq_data *hdq_data, u8 val, u8 *status)
}
out:
- hdq_reset_irqstatus(hdq_data);
+ mutex_unlock(&hdq_data->hdq_mutex);
+rtn:
return ret;
}
@@ -181,7 +194,7 @@ static irqreturn_t hdq_isr(int irq, void *_hdq)
unsigned long irqflags;
spin_lock_irqsave(&hdq_data->hdq_spinlock, irqflags);
- hdq_data->hdq_irqstatus = hdq_reg_in(hdq_data, OMAP_HDQ_INT_STATUS);
+ hdq_data->hdq_irqstatus |= hdq_reg_in(hdq_data, OMAP_HDQ_INT_STATUS);
spin_unlock_irqrestore(&hdq_data->hdq_spinlock, irqflags);
dev_dbg(hdq_data->dev, "hdq_isr: %x\n", hdq_data->hdq_irqstatus);
@@ -238,18 +251,19 @@ static int omap_hdq_break(struct hdq_data *hdq_data)
/* wait for the TIMEOUT bit */
ret = wait_event_timeout(hdq_wait_queue,
- hdq_data->hdq_irqstatus, OMAP_HDQ_TIMEOUT);
+ (hdq_data->hdq_irqstatus & OMAP_HDQ_INT_STATUS_TIMEOUT),
+ OMAP_HDQ_TIMEOUT);
+ tmp_status = hdq_reset_irqstatus(hdq_data, OMAP_HDQ_INT_STATUS_TIMEOUT);
if (ret == 0) {
dev_dbg(hdq_data->dev, "break wait elapsed\n");
ret = -EINTR;
goto out;
}
- tmp_status = hdq_data->hdq_irqstatus;
/* check irqstatus */
if (!(tmp_status & OMAP_HDQ_INT_STATUS_TIMEOUT)) {
dev_dbg(hdq_data->dev, "timeout waiting for TIMEOUT, %x\n",
- tmp_status);
+ tmp_status);
ret = -ETIMEDOUT;
goto out;
}
@@ -278,7 +292,6 @@ static int omap_hdq_break(struct hdq_data *hdq_data)
" return to zero, %x\n", tmp_status);
out:
- hdq_reset_irqstatus(hdq_data);
mutex_unlock(&hdq_data->hdq_mutex);
rtn:
return ret;
@@ -309,12 +322,15 @@ static int hdq_read_byte(struct hdq_data *hdq_data, u8 *val)
*/
wait_event_timeout(hdq_wait_queue,
(hdq_data->hdq_irqstatus
- & OMAP_HDQ_INT_STATUS_RXCOMPLETE),
+ & (OMAP_HDQ_INT_STATUS_RXCOMPLETE |
+ OMAP_HDQ_INT_STATUS_TIMEOUT)),
OMAP_HDQ_TIMEOUT);
-
+ status = hdq_reset_irqstatus(hdq_data,
+ OMAP_HDQ_INT_STATUS_RXCOMPLETE |
+ OMAP_HDQ_INT_STATUS_TIMEOUT);
hdq_reg_merge(hdq_data, OMAP_HDQ_CTRL_STATUS, 0,
OMAP_HDQ_CTRL_STATUS_DIR);
- status = hdq_data->hdq_irqstatus;
+
/* check irqstatus */
if (!(status & OMAP_HDQ_INT_STATUS_RXCOMPLETE)) {
dev_dbg(hdq_data->dev, "timeout waiting for"
@@ -322,11 +338,12 @@ static int hdq_read_byte(struct hdq_data *hdq_data, u8 *val)
ret = -ETIMEDOUT;
goto out;
}
+ } else { /* interrupt had occurred before hdq_read_byte was called */
+ hdq_reset_irqstatus(hdq_data, OMAP_HDQ_INT_STATUS_RXCOMPLETE);
}
/* the data is ready. Read it in! */
*val = hdq_reg_in(hdq_data, OMAP_HDQ_RX_DATA);
out:
- hdq_reset_irqstatus(hdq_data);
mutex_unlock(&hdq_data->hdq_mutex);
rtn:
return ret;
@@ -367,15 +384,15 @@ static u8 omap_w1_triplet(void *_hdq, u8 bdir)
(hdq_data->hdq_irqstatus
& OMAP_HDQ_INT_STATUS_RXCOMPLETE),
OMAP_HDQ_TIMEOUT);
+ /* Must clear irqstatus for another RXCOMPLETE interrupt */
+ hdq_reset_irqstatus(hdq_data, OMAP_HDQ_INT_STATUS_RXCOMPLETE);
+
if (err == 0) {
dev_dbg(hdq_data->dev, "RX wait elapsed\n");
goto out;
}
id_bit = (hdq_reg_in(_hdq, OMAP_HDQ_RX_DATA) & 0x01);
- /* Must clear irqstatus for another RXCOMPLETE interrupt */
- hdq_reset_irqstatus(hdq_data);
-
/* read comp_bit */
hdq_reg_merge(_hdq, OMAP_HDQ_CTRL_STATUS,
ctrl | OMAP_HDQ_CTRL_STATUS_DIR, mask);
@@ -383,6 +400,9 @@ static u8 omap_w1_triplet(void *_hdq, u8 bdir)
(hdq_data->hdq_irqstatus
& OMAP_HDQ_INT_STATUS_RXCOMPLETE),
OMAP_HDQ_TIMEOUT);
+ /* Must clear irqstatus for another RXCOMPLETE interrupt */
+ hdq_reset_irqstatus(hdq_data, OMAP_HDQ_INT_STATUS_RXCOMPLETE);
+
if (err == 0) {
dev_dbg(hdq_data->dev, "RX wait elapsed\n");
goto out;
@@ -409,6 +429,9 @@ static u8 omap_w1_triplet(void *_hdq, u8 bdir)
(hdq_data->hdq_irqstatus
& OMAP_HDQ_INT_STATUS_TXCOMPLETE),
OMAP_HDQ_TIMEOUT);
+ /* Must clear irqstatus for another TXCOMPLETE interrupt */
+ hdq_reset_irqstatus(hdq_data, OMAP_HDQ_INT_STATUS_TXCOMPLETE);
+
if (err == 0) {
dev_dbg(hdq_data->dev, "TX wait elapsed\n");
goto out;
@@ -418,7 +441,6 @@ static u8 omap_w1_triplet(void *_hdq, u8 bdir)
OMAP_HDQ_CTRL_STATUS_SINGLE);
out:
- hdq_reset_irqstatus(hdq_data);
mutex_unlock(&hdq_data->hdq_mutex);
rtn:
pm_runtime_mark_last_busy(hdq_data->dev);
--
2.26.2
The patch below does not apply to the 5.6-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 441fdee1eaf050ef0040bde0d7af075c1c6a6d8b Mon Sep 17 00:00:00 2001
From: David Howells <dhowells(a)redhat.com>
Date: Wed, 29 Apr 2020 23:48:43 +0100
Subject: [PATCH] rxrpc: Fix ack discard
The Rx protocol has a "previousPacket" field in it that is not handled in
the same way by all protocol implementations. Sometimes it contains the
serial number of the last DATA packet received, sometimes the sequence
number of the last DATA packet received and sometimes the highest sequence
number so far received.
AF_RXRPC is using this to weed out ACKs that are out of date (it's possible
for ACK packets to get reordered on the wire), but this does not work with
OpenAFS which will just stick the sequence number of the last packet seen
into previousPacket.
The issue being seen is that big AFS FS.StoreData RPC (eg. of ~256MiB) are
timing out when partly sent. A trace was captured, with an additional
tracepoint to show ACKs being discarded in rxrpc_input_ack(). Here's an
excerpt showing the problem.
52873.203230: rxrpc_tx_data: c=000004ae DATA ed1a3584:00000002 0002449c q=00024499 fl=09
A DATA packet with sequence number 00024499 has been transmitted (the "q="
field).
...
52873.243296: rxrpc_rx_ack: c=000004ae 00012a2b DLY r=00024499 f=00024497 p=00024496 n=0
52873.243376: rxrpc_rx_ack: c=000004ae 00012a2c IDL r=0002449b f=00024499 p=00024498 n=0
52873.243383: rxrpc_rx_ack: c=000004ae 00012a2d OOS r=0002449d f=00024499 p=0002449a n=2
The Out-Of-Sequence ACK indicates that the server didn't see DATA sequence
number 00024499, but did see seq 0002449a (previousPacket, shown as "p=",
skipped the number, but firstPacket, "f=", which shows the bottom of the
window is set at that point).
52873.252663: rxrpc_retransmit: c=000004ae q=24499 a=02 xp=14581537
52873.252664: rxrpc_tx_data: c=000004ae DATA ed1a3584:00000002 000244bc q=00024499 fl=0b *RETRANS*
The packet has been retransmitted. Retransmission recurs until the peer
says it got the packet.
52873.271013: rxrpc_rx_ack: c=000004ae 00012a31 OOS r=000244a1 f=00024499 p=0002449e n=6
More OOS ACKs indicate that the other packets that are already in the
transmission pipeline are being received. The specific-ACK list is up to 6
ACKs and NAKs.
...
52873.284792: rxrpc_rx_ack: c=000004ae 00012a49 OOS r=000244b9 f=00024499 p=000244b6 n=30
52873.284802: rxrpc_retransmit: c=000004ae q=24499 a=0a xp=63505500
52873.284804: rxrpc_tx_data: c=000004ae DATA ed1a3584:00000002 000244c2 q=00024499 fl=0b *RETRANS*
52873.287468: rxrpc_rx_ack: c=000004ae 00012a4a OOS r=000244ba f=00024499 p=000244b7 n=31
52873.287478: rxrpc_rx_ack: c=000004ae 00012a4b OOS r=000244bb f=00024499 p=000244b8 n=32
At this point, the server's receive window is full (n=32) with presumably 1
NAK'd packet and 31 ACK'd packets. We can't transmit any more packets.
52873.287488: rxrpc_retransmit: c=000004ae q=24499 a=0a xp=61327980
52873.287489: rxrpc_tx_data: c=000004ae DATA ed1a3584:00000002 000244c3 q=00024499 fl=0b *RETRANS*
52873.293850: rxrpc_rx_ack: c=000004ae 00012a4c DLY r=000244bc f=000244a0 p=00024499 n=25
And now we've received an ACK indicating that a DATA retransmission was
received. 7 packets have been processed (the occupied part of the window
moved, as indicated by f= and n=).
52873.293853: rxrpc_rx_discard_ack: c=000004ae r=00012a4c 000244a0<00024499 00024499<000244b8
However, the DLY ACK gets discarded because its previousPacket has gone
backwards (from p=000244b8, in the ACK at 52873.287478 to p=00024499 in the
ACK at 52873.293850).
We then end up in a continuous cycle of retransmit/discard. kafs fails to
update its window because it's discarding the ACKs and can't transmit an
extra packet that would clear the issue because the window is full.
OpenAFS doesn't change the previousPacket value in the ACKs because no new
DATA packets are received with a different previousPacket number.
Fix this by altering the discard check to only discard an ACK based on
previousPacket if there was no advance in the firstPacket. This allows us
to transmit a new packet which will cause previousPacket to advance in the
next ACK.
The check, however, needs to allow for the possibility that previousPacket
may actually have had the serial number placed in it instead - in which
case it will go outside the window and we should ignore it.
Fixes: 1a2391c30c0b ("rxrpc: Fix detection of out of order acks")
Reported-by: Dave Botsch <botsch(a)cnf.cornell.edu>
Signed-off-by: David Howells <dhowells(a)redhat.com>
diff --git a/net/rxrpc/input.c b/net/rxrpc/input.c
index 2f22f082a66c..3be4177baf70 100644
--- a/net/rxrpc/input.c
+++ b/net/rxrpc/input.c
@@ -802,6 +802,30 @@ static void rxrpc_input_soft_acks(struct rxrpc_call *call, u8 *acks,
}
}
+/*
+ * Return true if the ACK is valid - ie. it doesn't appear to have regressed
+ * with respect to the ack state conveyed by preceding ACKs.
+ */
+static bool rxrpc_is_ack_valid(struct rxrpc_call *call,
+ rxrpc_seq_t first_pkt, rxrpc_seq_t prev_pkt)
+{
+ rxrpc_seq_t base = READ_ONCE(call->ackr_first_seq);
+
+ if (after(first_pkt, base))
+ return true; /* The window advanced */
+
+ if (before(first_pkt, base))
+ return false; /* firstPacket regressed */
+
+ if (after_eq(prev_pkt, call->ackr_prev_seq))
+ return true; /* previousPacket hasn't regressed. */
+
+ /* Some rx implementations put a serial number in previousPacket. */
+ if (after_eq(prev_pkt, base + call->tx_winsize))
+ return false;
+ return true;
+}
+
/*
* Process an ACK packet.
*
@@ -865,8 +889,7 @@ static void rxrpc_input_ack(struct rxrpc_call *call, struct sk_buff *skb)
}
/* Discard any out-of-order or duplicate ACKs (outside lock). */
- if (before(first_soft_ack, call->ackr_first_seq) ||
- before(prev_pkt, call->ackr_prev_seq)) {
+ if (!rxrpc_is_ack_valid(call, first_soft_ack, prev_pkt)) {
trace_rxrpc_rx_discard_ack(call->debug_id, sp->hdr.serial,
first_soft_ack, call->ackr_first_seq,
prev_pkt, call->ackr_prev_seq);
@@ -882,8 +905,7 @@ static void rxrpc_input_ack(struct rxrpc_call *call, struct sk_buff *skb)
spin_lock(&call->input_lock);
/* Discard any out-of-order or duplicate ACKs (inside lock). */
- if (before(first_soft_ack, call->ackr_first_seq) ||
- before(prev_pkt, call->ackr_prev_seq)) {
+ if (!rxrpc_is_ack_valid(call, first_soft_ack, prev_pkt)) {
trace_rxrpc_rx_discard_ack(call->debug_id, sp->hdr.serial,
first_soft_ack, call->ackr_first_seq,
prev_pkt, call->ackr_prev_seq);
I'm announcing the release of the 4.9.225 kernel.
All users of the 4.9 kernel series must upgrade.
The updated 4.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/networking/l2tp.txt | 8
Makefile | 2
arch/arm/include/asm/futex.h | 9
arch/arm64/kernel/machine_kexec.c | 3
drivers/base/component.c | 8
drivers/dma/tegra210-adma.c | 2
drivers/hid/hid-ids.h | 1
drivers/hid/hid-multitouch.c | 3
drivers/i2c/i2c-dev.c | 48 +--
drivers/i2c/muxes/i2c-demux-pinctrl.c | 1
drivers/iio/dac/vf610_dac.c | 1
drivers/iommu/amd_iommu_init.c | 9
drivers/misc/mei/client.c | 2
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 13
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 6
drivers/net/ethernet/intel/igb/igb_main.c | 4
drivers/net/gtp.c | 9
drivers/nvdimm/btt.c | 8
drivers/platform/x86/alienware-wmi.c | 17 -
drivers/platform/x86/asus-nb-wmi.c | 24 +
drivers/rapidio/devices/rio_mport_cdev.c | 5
drivers/staging/greybus/uart.c | 4
drivers/staging/iio/accel/sca3000_ring.c | 2
drivers/staging/iio/resolver/ad2s1210.c | 17 -
drivers/usb/core/message.c | 4
drivers/watchdog/watchdog_dev.c | 67 +---
fs/ceph/caps.c | 1
fs/configfs/dir.c | 1
fs/file.c | 2
fs/gfs2/glock.c | 3
include/linux/net.h | 3
include/linux/padata.h | 13
include/uapi/linux/if_pppol2tp.h | 13
include/uapi/linux/l2tp.h | 17 +
kernel/padata.c | 88 ++---
lib/Makefile | 2
net/l2tp/l2tp_core.c | 174 +++--------
net/l2tp/l2tp_core.h | 46 +-
net/l2tp/l2tp_eth.c | 216 ++++++++-----
net/l2tp/l2tp_netlink.c | 79 ++---
net/l2tp/l2tp_ppp.c | 309 +++++++++++---------
net/socket.c | 46 ++
scripts/gcc-plugins/Makefile | 1
scripts/gcc-plugins/gcc-common.h | 4
security/integrity/evm/evm_crypto.c | 2
security/integrity/ima/ima_fs.c | 3
sound/core/pcm_lib.c | 1
47 files changed, 733 insertions(+), 568 deletions(-)
Al Viro (1):
fix multiplication overflow in copy_fdtable()
Alan Stern (1):
USB: core: Fix misleading driver bug report
Alexander Monakov (1):
iommu/amd: Fix over-read of ACPI UID from IVRS table
Alexander Usyskin (1):
mei: release me_cl object reference
Arjun Vynipadath (2):
cxgb4: free mac_hlist properly
cxgb4/cxgb4vf: Fix mac_hlist initialization and free
Arnd Bergmann (1):
ubsan: build ubsan.c more conservatively
Asbjørn Sloth Tønnesen (3):
net: l2tp: export debug flags to UAPI
net: l2tp: deprecate PPPOL2TP_MSG_* in favour of L2TP_MSG_*
net: l2tp: ppp: change PPPOL2TP_MSG_* => L2TP_MSG_*
Bob Peterson (1):
Revert "gfs2: Don't demote a glock until its revokes are written"
Brent Lu (1):
ALSA: pcm: fix incorrect hw_base increase
Cao jin (1):
igb: use igb_adapter->io_addr instead of e1000_hw->hw_addr
Christoph Hellwig (1):
arm64: fix the flush_icache_range arguments in machine_kexec
Christophe JAILLET (4):
i2c: mux: demux-pinctrl: Fix an error handling path in 'i2c_demux_pinctrl_probe()'
dmaengine: tegra210-adma: Fix an error handling path in 'tegra_adma_probe()'
iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()'
iio: sca3000: Remove an erroneous 'get_device()'
Colin Ian King (1):
platform/x86: alienware-wmi: fix kfree on potentially uninitialized pointer
Daniel Jordan (2):
padata: initialize pd->cpu with effective cpumask
padata: purge get_cpu and reorder_via_wq from padata_do_serial
Dragos Bogdan (1):
staging: iio: ad2s1210: Fix SPI reading
Frédéric Pierret (fepitre) (1):
gcc-common.h: Update for GCC 10
Greg Kroah-Hartman (1):
Linux 4.9.225
Guillaume Nault (17):
l2tp: remove useless duplicate session detection in l2tp_netlink
l2tp: remove l2tp_session_find()
l2tp: define parameters of l2tp_session_get*() as "const"
l2tp: define parameters of l2tp_tunnel_find*() as "const"
l2tp: initialise session's refcount before making it reachable
l2tp: hold tunnel while looking up sessions in l2tp_netlink
l2tp: hold tunnel while processing genl delete command
l2tp: hold tunnel while handling genl tunnel updates
l2tp: hold tunnel while handling genl TUNNEL_GET commands
l2tp: hold tunnel used while creating sessions with netlink
l2tp: prevent creation of sessions on terminated tunnels
l2tp: pass tunnel pointer to ->session_create()
l2tp: fix l2tp_eth module loading
l2tp: don't register sessions in l2tp_session_create()
l2tp: initialise l2tp_eth sessions before registering them
l2tp: protect sock pointer of struct pppol2tp_session with RCU
l2tp: initialise PPP sessions before registering them
Hans de Goede (1):
platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA
Herbert Xu (1):
padata: Replace delayed timer with immediate workqueue in padata_reorder
James Hilliard (1):
component: Silence bind error on -EPROBE_DEFER
Jason A. Donenfeld (1):
padata: get_next is never NULL
John Hubbard (1):
rapidio: fix an error in get_user_pages_fast() error handling
Kevin Hao (2):
i2c: dev: Fix the race between the release of i2c_dev and cdev
watchdog: Fix the race between the release of watchdog_core_data and cdev
Mathias Krause (3):
padata: ensure the reorder timer callback runs on the correct CPU
padata: ensure padata_do_serial() runs on the correct CPU
padata: set cpu_index of unused CPUs to -1
Oscar Carter (1):
staging: greybus: Fix uninitialized scalar variable
Peter Zijlstra (1):
x86/uaccess, ubsan: Fix UBSAN vs. SMAP
R. Parameswaran (3):
New kernel function to get IP overhead on a socket.
L2TP:Adjust intf MTU, add underlay L3, L2 hdrs.
l2tp: device MTU setup, tunnel socket needs a lock
Roberto Sassu (2):
evm: Check also if *tfm is an error pointer in init_desc()
ima: Fix return value of ima_write_policy()
Sebastian Reichel (1):
HID: multitouch: add eGalaxTouch P80H84 support
Thomas Gleixner (1):
ARM: futex: Address build warning
Tobias Klauser (1):
padata: Remove unused but set variables
Vishal Verma (1):
libnvdimm/btt: Remove unnecessary code in btt_freelist_init
Wu Bo (1):
ceph: fix double unlock in handle_cap_export()
Xiyu Yang (1):
configfs: fix config_item refcnt leak in configfs_rmdir()
Yoshiyuki Kurauchi (1):
gtp: set NLM_F_MULTI flag in gtp_genl_dump_pdp()
I'm announcing the release of the 4.4.225 kernel.
All users of the 4.4 kernel series must upgrade.
The updated 4.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/networking/l2tp.txt | 8
Makefile | 2
arch/arm/include/asm/futex.h | 9
drivers/hid/hid-ids.h | 1
drivers/hid/hid-multitouch.c | 3
drivers/i2c/i2c-dev.c | 60 +++--
drivers/media/media-device.c | 43 +++-
drivers/media/media-devnode.c | 168 +++++++++-------
drivers/media/usb/uvc/uvc_driver.c | 2
drivers/misc/mei/client.c | 2
drivers/net/ethernet/intel/igb/igb_main.c | 4
drivers/nvdimm/btt.c | 8
drivers/platform/x86/alienware-wmi.c | 17 -
drivers/platform/x86/asus-nb-wmi.c | 24 ++
drivers/staging/iio/accel/sca3000_ring.c | 2
drivers/staging/iio/resolver/ad2s1210.c | 17 +
drivers/usb/core/message.c | 4
fs/ceph/caps.c | 1
fs/ext4/xattr.c | 66 +++---
fs/file.c | 2
fs/gfs2/glock.c | 3
include/linux/cpumask.h | 19 +
include/linux/net.h | 3
include/linux/padata.h | 13 -
include/media/media-device.h | 5
include/media/media-devnode.h | 32 ++-
include/net/ipv6.h | 2
include/uapi/linux/if_pppol2tp.h | 13 -
include/uapi/linux/l2tp.h | 17 +
kernel/padata.c | 88 +++-----
lib/cpumask.c | 32 +++
net/ipv6/datagram.c | 4
net/l2tp/l2tp_core.c | 181 +++++------------
net/l2tp/l2tp_core.h | 47 ++--
net/l2tp/l2tp_eth.c | 216 ++++++++++++--------
net/l2tp/l2tp_ip.c | 68 +++---
net/l2tp/l2tp_ip6.c | 82 +++----
net/l2tp/l2tp_netlink.c | 124 +++++++-----
net/l2tp/l2tp_ppp.c | 309 +++++++++++++++++-------------
net/socket.c | 46 ++++
security/integrity/evm/evm_crypto.c | 2
sound/core/pcm_lib.c | 1
42 files changed, 1015 insertions(+), 735 deletions(-)
Al Viro (1):
fix multiplication overflow in copy_fdtable()
Alan Stern (1):
USB: core: Fix misleading driver bug report
Alexander Usyskin (1):
mei: release me_cl object reference
Asbjørn Sloth Tønnesen (3):
net: l2tp: export debug flags to UAPI
net: l2tp: deprecate PPPOL2TP_MSG_* in favour of L2TP_MSG_*
net: l2tp: ppp: change PPPOL2TP_MSG_* => L2TP_MSG_*
Bob Peterson (1):
Revert "gfs2: Don't demote a glock until its revokes are written"
Brent Lu (1):
ALSA: pcm: fix incorrect hw_base increase
Cao jin (1):
igb: use igb_adapter->io_addr instead of e1000_hw->hw_addr
Christophe JAILLET (1):
iio: sca3000: Remove an erroneous 'get_device()'
Colin Ian King (1):
platform/x86: alienware-wmi: fix kfree on potentially uninitialized pointer
Dan Carpenter (1):
i2c: dev: use after free in detach
Daniel Jordan (2):
padata: initialize pd->cpu with effective cpumask
padata: purge get_cpu and reorder_via_wq from padata_do_serial
Dragos Bogdan (1):
staging: iio: ad2s1210: Fix SPI reading
Erico Nunes (1):
i2c: dev: switch from register_chrdev to cdev API
Greg Kroah-Hartman (1):
Linux 4.4.225
Guillaume Nault (22):
l2tp: lock socket before checking flags in connect()
l2tp: fix racy socket lookup in l2tp_ip and l2tp_ip6 bind()
l2tp: hold session while sending creation notifications
l2tp: take a reference on sessions used in genetlink handlers
l2tp: don't use l2tp_tunnel_find() in l2tp_ip and l2tp_ip6
l2tp: remove useless duplicate session detection in l2tp_netlink
l2tp: remove l2tp_session_find()
l2tp: define parameters of l2tp_session_get*() as "const"
l2tp: define parameters of l2tp_tunnel_find*() as "const"
l2tp: initialise session's refcount before making it reachable
l2tp: hold tunnel while looking up sessions in l2tp_netlink
l2tp: hold tunnel while processing genl delete command
l2tp: hold tunnel while handling genl tunnel updates
l2tp: hold tunnel while handling genl TUNNEL_GET commands
l2tp: hold tunnel used while creating sessions with netlink
l2tp: prevent creation of sessions on terminated tunnels
l2tp: pass tunnel pointer to ->session_create()
l2tp: fix l2tp_eth module loading
l2tp: don't register sessions in l2tp_session_create()
l2tp: initialise l2tp_eth sessions before registering them
l2tp: protect sock pointer of struct pppol2tp_session with RCU
l2tp: initialise PPP sessions before registering them
Hans de Goede (1):
platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA
Herbert Xu (1):
padata: Replace delayed timer with immediate workqueue in padata_reorder
Jason A. Donenfeld (1):
padata: get_next is never NULL
Kevin Hao (1):
i2c: dev: Fix the race between the release of i2c_dev and cdev
Mathias Krause (3):
padata: ensure the reorder timer callback runs on the correct CPU
padata: ensure padata_do_serial() runs on the correct CPU
padata: set cpu_index of unused CPUs to -1
Mauro Carvalho Chehab (2):
media-devnode: fix namespace mess
media-device: dynamically allocate struct media_devnode
Max Kellermann (2):
drivers/media/media-devnode: clear private_data before put_device()
media-devnode: add missing mutex lock in error handler
Michael Kelley (1):
cpumask: Make for_each_cpu_wrap() available on UP as well
Peter Zijlstra (1):
sched/fair, cpumask: Export for_each_cpu_wrap()
R. Parameswaran (3):
New kernel function to get IP overhead on a socket.
L2TP:Adjust intf MTU, add underlay L3, L2 hdrs.
l2tp: device MTU setup, tunnel socket needs a lock
Roberto Sassu (1):
evm: Check also if *tfm is an error pointer in init_desc()
Sebastian Reichel (1):
HID: multitouch: add eGalaxTouch P80H84 support
Shuah Khan (3):
media: Fix media_open() to clear filp->private_data in error leg
media: fix use-after-free in cdev_put() when app exits after driver unbind
media: fix media devnode ioctl/syscall and unregister race
Theodore Ts'o (1):
ext4: lock the xattr block before checksuming it
Thomas Gleixner (1):
ARM: futex: Address build warning
Tobias Klauser (1):
padata: Remove unused but set variables
Vishal Verma (1):
libnvdimm/btt: Remove unnecessary code in btt_freelist_init
Wolfram Sang (1):
i2c: dev: don't start function name with 'return'
Wu Bo (1):
ceph: fix double unlock in handle_cap_export()
viresh kumar (1):
i2c-dev: don't get i2c adapter via i2c_dev
I'm announcing the release of the 4.9.225 kernel.
All users of the 4.9 kernel series must upgrade.
The updated 4.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/networking/l2tp.txt | 8
Makefile | 2
arch/arm/include/asm/futex.h | 9
arch/arm64/kernel/machine_kexec.c | 3
drivers/base/component.c | 8
drivers/dma/tegra210-adma.c | 2
drivers/hid/hid-ids.h | 1
drivers/hid/hid-multitouch.c | 3
drivers/i2c/i2c-dev.c | 48 +--
drivers/i2c/muxes/i2c-demux-pinctrl.c | 1
drivers/iio/dac/vf610_dac.c | 1
drivers/iommu/amd_iommu_init.c | 9
drivers/misc/mei/client.c | 2
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 13
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 6
drivers/net/ethernet/intel/igb/igb_main.c | 4
drivers/net/gtp.c | 9
drivers/nvdimm/btt.c | 8
drivers/platform/x86/alienware-wmi.c | 17 -
drivers/platform/x86/asus-nb-wmi.c | 24 +
drivers/rapidio/devices/rio_mport_cdev.c | 5
drivers/staging/greybus/uart.c | 4
drivers/staging/iio/accel/sca3000_ring.c | 2
drivers/staging/iio/resolver/ad2s1210.c | 17 -
drivers/usb/core/message.c | 4
drivers/watchdog/watchdog_dev.c | 67 +---
fs/ceph/caps.c | 1
fs/configfs/dir.c | 1
fs/file.c | 2
fs/gfs2/glock.c | 3
include/linux/net.h | 3
include/linux/padata.h | 13
include/uapi/linux/if_pppol2tp.h | 13
include/uapi/linux/l2tp.h | 17 +
kernel/padata.c | 88 ++---
lib/Makefile | 2
net/l2tp/l2tp_core.c | 174 +++--------
net/l2tp/l2tp_core.h | 46 +-
net/l2tp/l2tp_eth.c | 216 ++++++++-----
net/l2tp/l2tp_netlink.c | 79 ++---
net/l2tp/l2tp_ppp.c | 309 +++++++++++---------
net/socket.c | 46 ++
scripts/gcc-plugins/Makefile | 1
scripts/gcc-plugins/gcc-common.h | 4
security/integrity/evm/evm_crypto.c | 2
security/integrity/ima/ima_fs.c | 3
sound/core/pcm_lib.c | 1
47 files changed, 733 insertions(+), 568 deletions(-)
Al Viro (1):
fix multiplication overflow in copy_fdtable()
Alan Stern (1):
USB: core: Fix misleading driver bug report
Alexander Monakov (1):
iommu/amd: Fix over-read of ACPI UID from IVRS table
Alexander Usyskin (1):
mei: release me_cl object reference
Arjun Vynipadath (2):
cxgb4: free mac_hlist properly
cxgb4/cxgb4vf: Fix mac_hlist initialization and free
Arnd Bergmann (1):
ubsan: build ubsan.c more conservatively
Asbjørn Sloth Tønnesen (3):
net: l2tp: export debug flags to UAPI
net: l2tp: deprecate PPPOL2TP_MSG_* in favour of L2TP_MSG_*
net: l2tp: ppp: change PPPOL2TP_MSG_* => L2TP_MSG_*
Bob Peterson (1):
Revert "gfs2: Don't demote a glock until its revokes are written"
Brent Lu (1):
ALSA: pcm: fix incorrect hw_base increase
Cao jin (1):
igb: use igb_adapter->io_addr instead of e1000_hw->hw_addr
Christoph Hellwig (1):
arm64: fix the flush_icache_range arguments in machine_kexec
Christophe JAILLET (4):
i2c: mux: demux-pinctrl: Fix an error handling path in 'i2c_demux_pinctrl_probe()'
dmaengine: tegra210-adma: Fix an error handling path in 'tegra_adma_probe()'
iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()'
iio: sca3000: Remove an erroneous 'get_device()'
Colin Ian King (1):
platform/x86: alienware-wmi: fix kfree on potentially uninitialized pointer
Daniel Jordan (2):
padata: initialize pd->cpu with effective cpumask
padata: purge get_cpu and reorder_via_wq from padata_do_serial
Dragos Bogdan (1):
staging: iio: ad2s1210: Fix SPI reading
Frédéric Pierret (fepitre) (1):
gcc-common.h: Update for GCC 10
Greg Kroah-Hartman (1):
Linux 4.9.225
Guillaume Nault (17):
l2tp: remove useless duplicate session detection in l2tp_netlink
l2tp: remove l2tp_session_find()
l2tp: define parameters of l2tp_session_get*() as "const"
l2tp: define parameters of l2tp_tunnel_find*() as "const"
l2tp: initialise session's refcount before making it reachable
l2tp: hold tunnel while looking up sessions in l2tp_netlink
l2tp: hold tunnel while processing genl delete command
l2tp: hold tunnel while handling genl tunnel updates
l2tp: hold tunnel while handling genl TUNNEL_GET commands
l2tp: hold tunnel used while creating sessions with netlink
l2tp: prevent creation of sessions on terminated tunnels
l2tp: pass tunnel pointer to ->session_create()
l2tp: fix l2tp_eth module loading
l2tp: don't register sessions in l2tp_session_create()
l2tp: initialise l2tp_eth sessions before registering them
l2tp: protect sock pointer of struct pppol2tp_session with RCU
l2tp: initialise PPP sessions before registering them
Hans de Goede (1):
platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA
Herbert Xu (1):
padata: Replace delayed timer with immediate workqueue in padata_reorder
James Hilliard (1):
component: Silence bind error on -EPROBE_DEFER
Jason A. Donenfeld (1):
padata: get_next is never NULL
John Hubbard (1):
rapidio: fix an error in get_user_pages_fast() error handling
Kevin Hao (2):
i2c: dev: Fix the race between the release of i2c_dev and cdev
watchdog: Fix the race between the release of watchdog_core_data and cdev
Mathias Krause (3):
padata: ensure the reorder timer callback runs on the correct CPU
padata: ensure padata_do_serial() runs on the correct CPU
padata: set cpu_index of unused CPUs to -1
Oscar Carter (1):
staging: greybus: Fix uninitialized scalar variable
Peter Zijlstra (1):
x86/uaccess, ubsan: Fix UBSAN vs. SMAP
R. Parameswaran (3):
New kernel function to get IP overhead on a socket.
L2TP:Adjust intf MTU, add underlay L3, L2 hdrs.
l2tp: device MTU setup, tunnel socket needs a lock
Roberto Sassu (2):
evm: Check also if *tfm is an error pointer in init_desc()
ima: Fix return value of ima_write_policy()
Sebastian Reichel (1):
HID: multitouch: add eGalaxTouch P80H84 support
Thomas Gleixner (1):
ARM: futex: Address build warning
Tobias Klauser (1):
padata: Remove unused but set variables
Vishal Verma (1):
libnvdimm/btt: Remove unnecessary code in btt_freelist_init
Wu Bo (1):
ceph: fix double unlock in handle_cap_export()
Xiyu Yang (1):
configfs: fix config_item refcnt leak in configfs_rmdir()
Yoshiyuki Kurauchi (1):
gtp: set NLM_F_MULTI flag in gtp_genl_dump_pdp()
I'm announcing the release of the 4.4.225 kernel.
All users of the 4.4 kernel series must upgrade.
The updated 4.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/networking/l2tp.txt | 8
Makefile | 2
arch/arm/include/asm/futex.h | 9
drivers/hid/hid-ids.h | 1
drivers/hid/hid-multitouch.c | 3
drivers/i2c/i2c-dev.c | 60 +++--
drivers/media/media-device.c | 43 +++-
drivers/media/media-devnode.c | 168 +++++++++-------
drivers/media/usb/uvc/uvc_driver.c | 2
drivers/misc/mei/client.c | 2
drivers/net/ethernet/intel/igb/igb_main.c | 4
drivers/nvdimm/btt.c | 8
drivers/platform/x86/alienware-wmi.c | 17 -
drivers/platform/x86/asus-nb-wmi.c | 24 ++
drivers/staging/iio/accel/sca3000_ring.c | 2
drivers/staging/iio/resolver/ad2s1210.c | 17 +
drivers/usb/core/message.c | 4
fs/ceph/caps.c | 1
fs/ext4/xattr.c | 66 +++---
fs/file.c | 2
fs/gfs2/glock.c | 3
include/linux/cpumask.h | 19 +
include/linux/net.h | 3
include/linux/padata.h | 13 -
include/media/media-device.h | 5
include/media/media-devnode.h | 32 ++-
include/net/ipv6.h | 2
include/uapi/linux/if_pppol2tp.h | 13 -
include/uapi/linux/l2tp.h | 17 +
kernel/padata.c | 88 +++-----
lib/cpumask.c | 32 +++
net/ipv6/datagram.c | 4
net/l2tp/l2tp_core.c | 181 +++++------------
net/l2tp/l2tp_core.h | 47 ++--
net/l2tp/l2tp_eth.c | 216 ++++++++++++--------
net/l2tp/l2tp_ip.c | 68 +++---
net/l2tp/l2tp_ip6.c | 82 +++----
net/l2tp/l2tp_netlink.c | 124 +++++++-----
net/l2tp/l2tp_ppp.c | 309 +++++++++++++++++-------------
net/socket.c | 46 ++++
security/integrity/evm/evm_crypto.c | 2
sound/core/pcm_lib.c | 1
42 files changed, 1015 insertions(+), 735 deletions(-)
Al Viro (1):
fix multiplication overflow in copy_fdtable()
Alan Stern (1):
USB: core: Fix misleading driver bug report
Alexander Usyskin (1):
mei: release me_cl object reference
Asbjørn Sloth Tønnesen (3):
net: l2tp: export debug flags to UAPI
net: l2tp: deprecate PPPOL2TP_MSG_* in favour of L2TP_MSG_*
net: l2tp: ppp: change PPPOL2TP_MSG_* => L2TP_MSG_*
Bob Peterson (1):
Revert "gfs2: Don't demote a glock until its revokes are written"
Brent Lu (1):
ALSA: pcm: fix incorrect hw_base increase
Cao jin (1):
igb: use igb_adapter->io_addr instead of e1000_hw->hw_addr
Christophe JAILLET (1):
iio: sca3000: Remove an erroneous 'get_device()'
Colin Ian King (1):
platform/x86: alienware-wmi: fix kfree on potentially uninitialized pointer
Dan Carpenter (1):
i2c: dev: use after free in detach
Daniel Jordan (2):
padata: initialize pd->cpu with effective cpumask
padata: purge get_cpu and reorder_via_wq from padata_do_serial
Dragos Bogdan (1):
staging: iio: ad2s1210: Fix SPI reading
Erico Nunes (1):
i2c: dev: switch from register_chrdev to cdev API
Greg Kroah-Hartman (1):
Linux 4.4.225
Guillaume Nault (22):
l2tp: lock socket before checking flags in connect()
l2tp: fix racy socket lookup in l2tp_ip and l2tp_ip6 bind()
l2tp: hold session while sending creation notifications
l2tp: take a reference on sessions used in genetlink handlers
l2tp: don't use l2tp_tunnel_find() in l2tp_ip and l2tp_ip6
l2tp: remove useless duplicate session detection in l2tp_netlink
l2tp: remove l2tp_session_find()
l2tp: define parameters of l2tp_session_get*() as "const"
l2tp: define parameters of l2tp_tunnel_find*() as "const"
l2tp: initialise session's refcount before making it reachable
l2tp: hold tunnel while looking up sessions in l2tp_netlink
l2tp: hold tunnel while processing genl delete command
l2tp: hold tunnel while handling genl tunnel updates
l2tp: hold tunnel while handling genl TUNNEL_GET commands
l2tp: hold tunnel used while creating sessions with netlink
l2tp: prevent creation of sessions on terminated tunnels
l2tp: pass tunnel pointer to ->session_create()
l2tp: fix l2tp_eth module loading
l2tp: don't register sessions in l2tp_session_create()
l2tp: initialise l2tp_eth sessions before registering them
l2tp: protect sock pointer of struct pppol2tp_session with RCU
l2tp: initialise PPP sessions before registering them
Hans de Goede (1):
platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA
Herbert Xu (1):
padata: Replace delayed timer with immediate workqueue in padata_reorder
Jason A. Donenfeld (1):
padata: get_next is never NULL
Kevin Hao (1):
i2c: dev: Fix the race between the release of i2c_dev and cdev
Mathias Krause (3):
padata: ensure the reorder timer callback runs on the correct CPU
padata: ensure padata_do_serial() runs on the correct CPU
padata: set cpu_index of unused CPUs to -1
Mauro Carvalho Chehab (2):
media-devnode: fix namespace mess
media-device: dynamically allocate struct media_devnode
Max Kellermann (2):
drivers/media/media-devnode: clear private_data before put_device()
media-devnode: add missing mutex lock in error handler
Michael Kelley (1):
cpumask: Make for_each_cpu_wrap() available on UP as well
Peter Zijlstra (1):
sched/fair, cpumask: Export for_each_cpu_wrap()
R. Parameswaran (3):
New kernel function to get IP overhead on a socket.
L2TP:Adjust intf MTU, add underlay L3, L2 hdrs.
l2tp: device MTU setup, tunnel socket needs a lock
Roberto Sassu (1):
evm: Check also if *tfm is an error pointer in init_desc()
Sebastian Reichel (1):
HID: multitouch: add eGalaxTouch P80H84 support
Shuah Khan (3):
media: Fix media_open() to clear filp->private_data in error leg
media: fix use-after-free in cdev_put() when app exits after driver unbind
media: fix media devnode ioctl/syscall and unregister race
Theodore Ts'o (1):
ext4: lock the xattr block before checksuming it
Thomas Gleixner (1):
ARM: futex: Address build warning
Tobias Klauser (1):
padata: Remove unused but set variables
Vishal Verma (1):
libnvdimm/btt: Remove unnecessary code in btt_freelist_init
Wolfram Sang (1):
i2c: dev: don't start function name with 'return'
Wu Bo (1):
ceph: fix double unlock in handle_cap_export()
viresh kumar (1):
i2c-dev: don't get i2c adapter via i2c_dev
From: Andi Kleen <ak(a)linux.intel.com>
Since there seem to be kernel modules floating around that set
FSGSBASE incorrectly, prevent this in the CR4 pinning. Currently
CR4 pinning just checks that bits are set, this also checks
that the FSGSBASE bit is not set, and if it is clears it again.
Note this patch will need to be undone when the full FSGSBASE
patches are merged. But it's a reasonable solution for v5.2+
stable at least. Sadly the older kernels don't have the necessary
infrastructure for this (although a simpler version of this
could be added there too)
Cc: stable(a)vger.kernel.org # v5.2+
Signed-off-by: Andi Kleen <ak(a)linux.intel.com>
---
arch/x86/kernel/cpu/common.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index bed0cb83fe24..1f5b7871ae9a 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -385,6 +385,11 @@ void native_write_cr4(unsigned long val)
/* Warn after we've set the missing bits. */
WARN_ONCE(bits_missing, "CR4 bits went missing: %lx!?\n",
bits_missing);
+ if (val & X86_CR4_FSGSBASE) {
+ WARN_ONCE(1, "CR4 unexpectedly set FSGSBASE!?\n");
+ val &= ~X86_CR4_FSGSBASE;
+ goto set_register;
+ }
}
}
EXPORT_SYMBOL(native_write_cr4);
--
2.25.4
This is a note to let you know that I've just added the patch titled
vt: keyboard: avoid signed integer overflow in k_ascii
to my tty git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
in the tty-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the tty-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
>From b86dab054059b970111b5516ae548efaae5b3aae Mon Sep 17 00:00:00 2001
From: Dmitry Torokhov <dmitry.torokhov(a)gmail.com>
Date: Mon, 25 May 2020 16:27:40 -0700
Subject: vt: keyboard: avoid signed integer overflow in k_ascii
When k_ascii is invoked several times in a row there is a potential for
signed integer overflow:
UBSAN: Undefined behaviour in drivers/tty/vt/keyboard.c:888:19 signed integer overflow:
10 * 1111111111 cannot be represented in type 'int'
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.6.11 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
Call Trace:
<IRQ>
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0xce/0x128 lib/dump_stack.c:118
ubsan_epilogue+0xe/0x30 lib/ubsan.c:154
handle_overflow+0xdc/0xf0 lib/ubsan.c:184
__ubsan_handle_mul_overflow+0x2a/0x40 lib/ubsan.c:205
k_ascii+0xbf/0xd0 drivers/tty/vt/keyboard.c:888
kbd_keycode drivers/tty/vt/keyboard.c:1477 [inline]
kbd_event+0x888/0x3be0 drivers/tty/vt/keyboard.c:1495
While it can be worked around by using check_mul_overflow()/
check_add_overflow(), it is better to introduce a separate flag to
signal that number pad is being used to compose a symbol, and
change type of the accumulator from signed to unsigned, thus
avoiding undefined behavior when it overflows.
Reported-by: Kyungtae Kim <kt0755(a)gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov(a)gmail.com>
Cc: stable <stable(a)vger.kernel.org>
Link: https://lore.kernel.org/r/20200525232740.GA262061@dtor-ws
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/tty/vt/keyboard.c | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c
index 15d33fa0c925..568b2171f335 100644
--- a/drivers/tty/vt/keyboard.c
+++ b/drivers/tty/vt/keyboard.c
@@ -127,7 +127,11 @@ static DEFINE_SPINLOCK(func_buf_lock); /* guard 'func_buf' and friends */
static unsigned long key_down[BITS_TO_LONGS(KEY_CNT)]; /* keyboard key bitmap */
static unsigned char shift_down[NR_SHIFT]; /* shift state counters.. */
static bool dead_key_next;
-static int npadch = -1; /* -1 or number assembled on pad */
+
+/* Handles a number being assembled on the number pad */
+static bool npadch_active;
+static unsigned int npadch_value;
+
static unsigned int diacr;
static char rep; /* flag telling character repeat */
@@ -845,12 +849,12 @@ static void k_shift(struct vc_data *vc, unsigned char value, char up_flag)
shift_state &= ~(1 << value);
/* kludge */
- if (up_flag && shift_state != old_state && npadch != -1) {
+ if (up_flag && shift_state != old_state && npadch_active) {
if (kbd->kbdmode == VC_UNICODE)
- to_utf8(vc, npadch);
+ to_utf8(vc, npadch_value);
else
- put_queue(vc, npadch & 0xff);
- npadch = -1;
+ put_queue(vc, npadch_value & 0xff);
+ npadch_active = false;
}
}
@@ -868,7 +872,7 @@ static void k_meta(struct vc_data *vc, unsigned char value, char up_flag)
static void k_ascii(struct vc_data *vc, unsigned char value, char up_flag)
{
- int base;
+ unsigned int base;
if (up_flag)
return;
@@ -882,10 +886,12 @@ static void k_ascii(struct vc_data *vc, unsigned char value, char up_flag)
base = 16;
}
- if (npadch == -1)
- npadch = value;
- else
- npadch = npadch * base + value;
+ if (!npadch_active) {
+ npadch_value = 0;
+ npadch_active = true;
+ }
+
+ npadch_value = npadch_value * base + value;
}
static void k_lock(struct vc_data *vc, unsigned char value, char up_flag)
--
2.26.2
This is a note to let you know that I've just added the patch titled
nvmem: qfprom: remove incorrect write support
to my char-misc git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
in the char-misc-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the char-misc-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
>From 8d9eb0d6d59a5d7028c80a30831143d3e75515a7 Mon Sep 17 00:00:00 2001
From: Srinivas Kandagatla <srinivas.kandagatla(a)linaro.org>
Date: Fri, 22 May 2020 12:33:41 +0100
Subject: nvmem: qfprom: remove incorrect write support
qfprom has different address spaces for read and write. Reads are
always done from corrected address space, where as writes are done
on raw address space.
Writing to corrected address space is invalid and ignored, so it
does not make sense to have this support in the driver which only
supports corrected address space regions at the moment.
Fixes: 4ab11996b489 ("nvmem: qfprom: Add Qualcomm QFPROM support.")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla(a)linaro.org>
Reviewed-by: Douglas Anderson <dianders(a)chromium.org>
Cc: stable <stable(a)vger.kernel.org>
Link: https://lore.kernel.org/r/20200522113341.7728-1-srinivas.kandagatla@linaro.…
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/nvmem/qfprom.c | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/drivers/nvmem/qfprom.c b/drivers/nvmem/qfprom.c
index d057f1bfb2e9..8a91717600be 100644
--- a/drivers/nvmem/qfprom.c
+++ b/drivers/nvmem/qfprom.c
@@ -27,25 +27,11 @@ static int qfprom_reg_read(void *context,
return 0;
}
-static int qfprom_reg_write(void *context,
- unsigned int reg, void *_val, size_t bytes)
-{
- struct qfprom_priv *priv = context;
- u8 *val = _val;
- int i = 0, words = bytes;
-
- while (words--)
- writeb(*val++, priv->base + reg + i++);
-
- return 0;
-}
-
static struct nvmem_config econfig = {
.name = "qfprom",
.stride = 1,
.word_size = 1,
.reg_read = qfprom_reg_read,
- .reg_write = qfprom_reg_write,
};
static int qfprom_probe(struct platform_device *pdev)
--
2.26.2
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-5.4.y/kernel/v5.4.42-1…
-------------------------------------------------------------------------------
stable-rc/linux-5.4.y boot: 151 boots: 2 failed, 139 passed with 5 offline, 5 untried/unknown (v5.4.42-112-g00dd3347ad64)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.4.y/kernel/v5.4.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-5.4.y/kernel/v5.4.42-112-…
Tree: stable-rc
Branch: linux-5.4.y
Git Describe: v5.4.42-112-g00dd3347ad64
Git Commit: 00dd3347ad64830e7d9a5a6bd3036b9537887208
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 94 unique boards, 25 SoC families, 19 builds out of 166
Boot Regressions Detected:
arm:
multi_v7_defconfig:
gcc-8:
omap3-beagle-xm:
lab-baylibre: new failure (last pass: v5.4.42-105-g3cb79944b65a)
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 108 days (last pass: v5.4.17-99-gbd0c6624a110 - first fail: v5.4.17-238-gbffcaa93483d)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 49 days (last pass: v5.4.30-37-g40da5db79b55 - first fail: v5.4.30-39-g23c04177b89f)
Boot Failures Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
multi_v7_defconfig:
gcc-8:
omap3-beagle-xm: 1 failed lab
Offline Platforms:
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
---
For more info write to <info(a)kernelci.org>
This is a note to let you know that I've just added the patch titled
serial: 8250: Enable 16550A variants by default on non-x86
to my tty git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
in the tty-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the tty-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
>From 15a3f03d5ec0118f1e5db3fc1018686e72744e37 Mon Sep 17 00:00:00 2001
From: Josh Triplett <josh(a)joshtriplett.org>
Date: Tue, 26 May 2020 09:13:57 -0700
Subject: serial: 8250: Enable 16550A variants by default on non-x86
Some embedded devices still use these serial ports; make sure they're
still enabled by default on architectures more likely to have them, to
avoid rendering someone's console unavailable.
Reported-by: Vladimir Oltean <vladimir.oltean(a)nxp.com>
Reported-by: Maxim Kochetkov <fido_max(a)inbox.ru>
Fixes: dc56ecb81a0a ("serial: 8250: Support disabling mdelay-filled probes of 16550A variants")
Cc: stable <stable(a)vger.kernel.org>
Signed-off-by: Josh Triplett <josh(a)joshtriplett.org>
Link: https://lore.kernel.org/r/a20b5fb7dd295cfb48160eecf4bdebd76332d67d.15905094…
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/tty/serial/8250/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
index af0688156dd0..8195a31519ea 100644
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -63,6 +63,7 @@ config SERIAL_8250_PNP
config SERIAL_8250_16550A_VARIANTS
bool "Support for variants of the 16550A serial port"
depends on SERIAL_8250
+ default !X86
help
The 8250 driver can probe for many variants of the venerable 16550A
serial port. Doing so takes additional time at boot.
--
2.26.2
This is a note to let you know that I've just added the patch titled
tty: hvc_console, fix crashes on parallel open/close
to my tty git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
in the tty-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the tty-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
>From 24eb2377f977fe06d84fca558f891f95bc28a449 Mon Sep 17 00:00:00 2001
From: Jiri Slaby <jslaby(a)suse.cz>
Date: Tue, 26 May 2020 16:56:32 +0200
Subject: tty: hvc_console, fix crashes on parallel open/close
hvc_open sets tty->driver_data to NULL when open fails at some point.
Typically, the failure happens in hp->ops->notifier_add(). If there is
a racing process which tries to open such mangled tty, which was not
closed yet, the process will crash in hvc_open as tty->driver_data is
NULL.
All this happens because close wants to know whether open failed or not.
But ->open should not NULL this and other tty fields for ->close to be
happy. ->open should call tty_port_set_initialized(true) and close
should check by tty_port_initialized() instead. So do this properly in
this driver.
So this patch removes these from ->open:
* tty_port_tty_set(&hp->port, NULL). This happens on last close.
* tty->driver_data = NULL. Dtto.
* tty_port_put(&hp->port). This happens in shutdown and until now, this
must have been causing a reference underflow, if I am not missing
something.
Signed-off-by: Jiri Slaby <jslaby(a)suse.cz>
Cc: stable <stable(a)vger.kernel.org>
Reported-and-tested-by: Raghavendra <rananta(a)codeaurora.org>
Link: https://lore.kernel.org/r/20200526145632.13879-1-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/tty/hvc/hvc_console.c | 23 ++++++++---------------
1 file changed, 8 insertions(+), 15 deletions(-)
diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c
index 436cc51c92c3..cdcc64ea2554 100644
--- a/drivers/tty/hvc/hvc_console.c
+++ b/drivers/tty/hvc/hvc_console.c
@@ -371,15 +371,14 @@ static int hvc_open(struct tty_struct *tty, struct file * filp)
* tty fields and return the kref reference.
*/
if (rc) {
- tty_port_tty_set(&hp->port, NULL);
- tty->driver_data = NULL;
- tty_port_put(&hp->port);
printk(KERN_ERR "hvc_open: request_irq failed with rc %d.\n", rc);
- } else
+ } else {
/* We are ready... raise DTR/RTS */
if (C_BAUD(tty))
if (hp->ops->dtr_rts)
hp->ops->dtr_rts(hp, 1);
+ tty_port_set_initialized(&hp->port, true);
+ }
/* Force wakeup of the polling thread */
hvc_kick();
@@ -389,22 +388,12 @@ static int hvc_open(struct tty_struct *tty, struct file * filp)
static void hvc_close(struct tty_struct *tty, struct file * filp)
{
- struct hvc_struct *hp;
+ struct hvc_struct *hp = tty->driver_data;
unsigned long flags;
if (tty_hung_up_p(filp))
return;
- /*
- * No driver_data means that this close was issued after a failed
- * hvc_open by the tty layer's release_dev() function and we can just
- * exit cleanly because the kref reference wasn't made.
- */
- if (!tty->driver_data)
- return;
-
- hp = tty->driver_data;
-
spin_lock_irqsave(&hp->port.lock, flags);
if (--hp->port.count == 0) {
@@ -412,6 +401,9 @@ static void hvc_close(struct tty_struct *tty, struct file * filp)
/* We are done with the tty pointer now. */
tty_port_tty_set(&hp->port, NULL);
+ if (!tty_port_initialized(&hp->port))
+ return;
+
if (C_HUPCL(tty))
if (hp->ops->dtr_rts)
hp->ops->dtr_rts(hp, 0);
@@ -428,6 +420,7 @@ static void hvc_close(struct tty_struct *tty, struct file * filp)
* waking periodically to check chars_in_buffer().
*/
tty_wait_until_sent(tty, HVC_CLOSE_WAIT);
+ tty_port_set_initialized(&hp->port, false);
} else {
if (hp->port.count < 0)
printk(KERN_ERR "hvc_close %X: oops, count is %d\n",
--
2.26.2
This is a note to let you know that I've just added the patch titled
serial: imx: Initialize lock for non-registered console
to my tty git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
in the tty-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the tty-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
>From 8f065acec7573672dd15916e31d1e9b2e785566c Mon Sep 17 00:00:00 2001
From: Andy Shevchenko <andriy.shevchenko(a)linux.intel.com>
Date: Mon, 25 May 2020 13:59:52 +0300
Subject: serial: imx: Initialize lock for non-registered console
The commit a3cb39d258ef
("serial: core: Allow detach and attach serial device for console")
changed a bit logic behind lock initialization since for most of the console
driver it's supposed to have lock already initialized even if console is not
enabled. However, it's not the case for Freescale IMX console.
Initialize lock explicitly in the ->probe().
Note, there is still an open question should or shouldn't not this driver
register console properly.
Fixes: a3cb39d258ef ("serial: core: Allow detach and attach serial device for console")
Reported-by: Guenter Roeck <linux(a)roeck-us.net>
Cc: stable <stable(a)vger.kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko(a)linux.intel.com>
Link: https://lore.kernel.org/r/20200525105952.13744-1-andriy.shevchenko@linux.in…
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/tty/serial/imx.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index 986d902fb7fe..6b078e395931 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -2404,6 +2404,9 @@ static int imx_uart_probe(struct platform_device *pdev)
}
}
+ /* We need to initialize lock even for non-registered console */
+ spin_lock_init(&sport->port.lock);
+
imx_uart_ports[sport->port.line] = sport;
platform_set_drvdata(pdev, sport);
--
2.26.2
This is a note to let you know that I've just added the patch titled
CDC-ACM: heed quirk also in error handling
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the usb-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
>From 97fe809934dd2b0b37dfef3a2fc70417f485d7af Mon Sep 17 00:00:00 2001
From: Oliver Neukum <oneukum(a)suse.com>
Date: Tue, 26 May 2020 14:44:20 +0200
Subject: CDC-ACM: heed quirk also in error handling
If buffers are iterated over in the error case, the lower limits
for quirky devices must be heeded.
Signed-off-by: Oliver Neukum <oneukum(a)suse.com>
Reported-by: Jean Rene Dawin <jdawin(a)math.uni-bielefeld.de>
Fixes: a4e7279cd1d19 ("cdc-acm: introduce a cool down")
Cc: stable <stable(a)vger.kernel.org>
Link: https://lore.kernel.org/r/20200526124420.22160-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/usb/class/cdc-acm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index ded8d93834ca..f67088bb8218 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -584,7 +584,7 @@ static void acm_softint(struct work_struct *work)
}
if (test_and_clear_bit(ACM_ERROR_DELAY, &acm->flags)) {
- for (i = 0; i < ACM_NR; i++)
+ for (i = 0; i < acm->rx_buflimit; i++)
if (test_and_clear_bit(i, &acm->urbs_in_error_delay))
acm_submit_read_urb(acm, i, GFP_NOIO);
}
--
2.26.2
This is a note to let you know that I've just added the patch titled
staging: rtl8712: Fix IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the staging-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
>From 15ea976a1f12b5fd76b1bd6ff3eb5132fd28047f Mon Sep 17 00:00:00 2001
From: Pascal Terjan <pterjan(a)google.com>
Date: Sat, 23 May 2020 22:12:47 +0100
Subject: staging: rtl8712: Fix IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK
The value in shared headers was fixed 9 years ago in commit 8d661f1e462d
("ieee80211: correct IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK macro") and
while looking at using shared headers for other duplicated constants
I noticed this driver uses the old value.
The macros are also defined twice in this file so I am deleting the
second definition.
Signed-off-by: Pascal Terjan <pterjan(a)google.com>
Cc: stable <stable(a)vger.kernel.org>
Link: https://lore.kernel.org/r/20200523211247.23262-1-pterjan@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/staging/rtl8712/wifi.h | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/drivers/staging/rtl8712/wifi.h b/drivers/staging/rtl8712/wifi.h
index be731f1a2209..91b65731fcaa 100644
--- a/drivers/staging/rtl8712/wifi.h
+++ b/drivers/staging/rtl8712/wifi.h
@@ -440,7 +440,7 @@ static inline unsigned char *get_hdr_bssid(unsigned char *pframe)
/* block-ack parameters */
#define IEEE80211_ADDBA_PARAM_POLICY_MASK 0x0002
#define IEEE80211_ADDBA_PARAM_TID_MASK 0x003C
-#define IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK 0xFFA0
+#define IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK 0xFFC0
#define IEEE80211_DELBA_PARAM_TID_MASK 0xF000
#define IEEE80211_DELBA_PARAM_INITIATOR_MASK 0x0800
@@ -532,13 +532,6 @@ struct ieee80211_ht_addt_info {
#define IEEE80211_HT_IE_NON_GF_STA_PRSNT 0x0004
#define IEEE80211_HT_IE_NON_HT_STA_PRSNT 0x0010
-/* block-ack parameters */
-#define IEEE80211_ADDBA_PARAM_POLICY_MASK 0x0002
-#define IEEE80211_ADDBA_PARAM_TID_MASK 0x003C
-#define IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK 0xFFA0
-#define IEEE80211_DELBA_PARAM_TID_MASK 0xF000
-#define IEEE80211_DELBA_PARAM_INITIATOR_MASK 0x0800
-
/*
* A-PMDU buffer sizes
* According to IEEE802.11n spec size varies from 8K to 64K (in powers of 2)
--
2.26.2
When we push a virtual request onto the HW, we update the rq->engine to
point to the physical engine. A request that is then submitted by the
user that waits upon the virtual engine, but along the physical engine
in use, will then see that it is due to be submitted to the same engine
and take a shortcut (and be queued without waiting for the completion
fence). However, the virtual request may be preempted (either by higher
priority users, or by timeslicing) and removed from the physical engine
to be migrated over to one of its siblings. The dependent normal request
however is oblivious to the removal of the virtual request and remains
queued to execute on HW, believing that once it reaches the head of its
queue all of its predecessors will have completed executing!
v2: Beware restriction of signal->execution_mask prior to submission.
Fixes: 6d06779e8672 ("drm/i915: Load balancing across a virtual engine")
Testcase: igt/gem_exec_balancer/sliced
Signed-off-by: Chris Wilson <chris(a)chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin(a)intel.com>
Cc: <stable(a)vger.kernel.org> # v5.3+
---
drivers/gpu/drm/i915/i915_request.c | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_request.c b/drivers/gpu/drm/i915/i915_request.c
index 33bbad623e02..0b07ccc7e9bc 100644
--- a/drivers/gpu/drm/i915/i915_request.c
+++ b/drivers/gpu/drm/i915/i915_request.c
@@ -1237,6 +1237,25 @@ i915_request_await_execution(struct i915_request *rq,
return 0;
}
+static int
+await_request_submit(struct i915_request *to, struct i915_request *from)
+{
+ /*
+ * If we are waiting on a virtual engine, then it may be
+ * constrained to execute on a single engine *prior* to submission.
+ * When it is submitted, it will be first submitted to the virtual
+ * engine and then passed to the physical engine. We cannot allow
+ * the waiter to be submitted immediately to the physical engine
+ * as it may then bypass the virtual request.
+ */
+ if (to->engine == READ_ONCE(from->engine))
+ return i915_sw_fence_await_sw_fence_gfp(&to->submit,
+ &from->submit,
+ I915_FENCE_GFP);
+ else
+ return __i915_request_await_execution(to, from, NULL);
+}
+
static int
i915_request_await_request(struct i915_request *to, struct i915_request *from)
{
@@ -1258,10 +1277,8 @@ i915_request_await_request(struct i915_request *to, struct i915_request *from)
return ret;
}
- if (to->engine == READ_ONCE(from->engine))
- ret = i915_sw_fence_await_sw_fence_gfp(&to->submit,
- &from->submit,
- I915_FENCE_GFP);
+ if (is_power_of_2(to->execution_mask | READ_ONCE(from->execution_mask)))
+ ret = await_request_submit(to, from);
else
ret = emit_semaphore_wait(to, from, I915_FENCE_GFP);
if (ret < 0)
--
2.20.1
This is a note to let you know that I've just added the patch titled
software node: implement software_node_unregister()
to my driver-core git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
in the driver-core-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From 46d26819a5056f4831649c5887ad5c71a16d86f7 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Date: Sun, 24 May 2020 17:30:40 +0200
Subject: software node: implement software_node_unregister()
Sometimes it is better to unregister individual nodes instead of trying
to do them all at once with software_node_unregister_nodes(), so create
software_node_unregister() so that you can unregister them one at a
time.
This is especially important when creating nodes in a hierarchy, with
parent -> children representations. Children always need to be removed
before a parent is, as the swnode logic assumes this is going to be the
case.
Fix up the lib/test_printf.c fwnode_pointer() test which to use this new
function as it had the problem of tearing things down in the backwards
order.
Fixes: f1ce39df508d ("lib/test_printf: Add tests for %pfw printk modifier")
Cc: stable <stable(a)vger.kernel.org>
Cc: Andy Shevchenko <andriy.shevchenko(a)linux.intel.com>
Cc: Brendan Higgins <brendanhiggins(a)google.com>
Cc: Dmitry Torokhov <dmitry.torokhov(a)gmail.com>
Cc: Petr Mladek <pmladek(a)suse.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki(a)intel.com>
Cc: Rasmus Villemoes <linux(a)rasmusvillemoes.dk>
Cc: Sakari Ailus <sakari.ailus(a)linux.intel.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com>
Cc: Steven Rostedt <rostedt(a)goodmis.org>
Reported-by: Naresh Kamboju <naresh.kamboju(a)linaro.org>
Reported-by: kernel test robot <rong.a.chen(a)intel.com>
Reported-by: Randy Dunlap <rdunlap(a)infradead.org>
Tested-by: Petr Mladek <pmladek(a)suse.com>
Tested-by: Randy Dunlap <rdunlap(a)infradead.org>
Tested-by: Guenter Roeck <linux(a)roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus(a)linux.intel.com>
Acked-by: Randy Dunlap <rdunlap(a)infradead.org>
Link: https://lore.kernel.org/r/20200524153041.2361-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/base/swnode.c | 27 +++++++++++++++++++++------
include/linux/property.h | 1 +
lib/test_printf.c | 4 +++-
3 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/drivers/base/swnode.c b/drivers/base/swnode.c
index de8d3543e8fe..770b1f47a625 100644
--- a/drivers/base/swnode.c
+++ b/drivers/base/swnode.c
@@ -712,17 +712,18 @@ EXPORT_SYMBOL_GPL(software_node_register_nodes);
* @nodes: Zero terminated array of software nodes to be unregistered
*
* Unregister multiple software nodes at once.
+ *
+ * NOTE: Be careful using this call if the nodes had parent pointers set up in
+ * them before registering. If so, it is wiser to remove the nodes
+ * individually, in the correct order (child before parent) instead of relying
+ * on the sequential order of the list of nodes in the array.
*/
void software_node_unregister_nodes(const struct software_node *nodes)
{
- struct swnode *swnode;
int i;
- for (i = 0; nodes[i].name; i++) {
- swnode = software_node_to_swnode(&nodes[i]);
- if (swnode)
- fwnode_remove_software_node(&swnode->fwnode);
- }
+ for (i = 0; nodes[i].name; i++)
+ software_node_unregister(&nodes[i]);
}
EXPORT_SYMBOL_GPL(software_node_unregister_nodes);
@@ -741,6 +742,20 @@ int software_node_register(const struct software_node *node)
}
EXPORT_SYMBOL_GPL(software_node_register);
+/**
+ * software_node_unregister - Unregister static software node
+ * @node: The software node to be unregistered
+ */
+void software_node_unregister(const struct software_node *node)
+{
+ struct swnode *swnode;
+
+ swnode = software_node_to_swnode(node);
+ if (swnode)
+ fwnode_remove_software_node(&swnode->fwnode);
+}
+EXPORT_SYMBOL_GPL(software_node_unregister);
+
struct fwnode_handle *
fwnode_create_software_node(const struct property_entry *properties,
const struct fwnode_handle *parent)
diff --git a/include/linux/property.h b/include/linux/property.h
index d86de017c689..0d4099b4ce1f 100644
--- a/include/linux/property.h
+++ b/include/linux/property.h
@@ -441,6 +441,7 @@ int software_node_register_nodes(const struct software_node *nodes);
void software_node_unregister_nodes(const struct software_node *nodes);
int software_node_register(const struct software_node *node);
+void software_node_unregister(const struct software_node *node);
int software_node_notify(struct device *dev, unsigned long action);
diff --git a/lib/test_printf.c b/lib/test_printf.c
index 6b1622f4d7c2..fc63b8959d42 100644
--- a/lib/test_printf.c
+++ b/lib/test_printf.c
@@ -637,7 +637,9 @@ static void __init fwnode_pointer(void)
test(second_name, "%pfwP", software_node_fwnode(&softnodes[1]));
test(third_name, "%pfwP", software_node_fwnode(&softnodes[2]));
- software_node_unregister_nodes(softnodes);
+ software_node_unregister(&softnodes[2]);
+ software_node_unregister(&softnodes[1]);
+ software_node_unregister(&softnodes[0]);
}
static void __init
--
2.26.2
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.18…
-------------------------------------------------------------------------------
stable-rc/linux-4.14.y boot: 91 boots: 4 failed, 81 passed with 5 offline, 1 untried/unknown (v4.14.181-60-gce8b534d70e2)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.1…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.14.y/kernel/v4.14.181-6…
Tree: stable-rc
Branch: linux-4.14.y
Git Describe: v4.14.181-60-gce8b534d70e2
Git Commit: ce8b534d70e21cb589da3731a1f61fabda583756
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 58 unique boards, 18 SoC families, 13 builds out of 165
Boot Regressions Detected:
arm:
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 13 days (last pass: v4.14.180 - first fail: v4.14.180-37-gad4fc99d1989)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 96 days (last pass: v4.14.170-141-g00a0113414f7 - first fail: v4.14.171-29-g9cfe30e85240)
arm64:
defconfig:
gcc-8:
meson-gxl-s905x-khadas-vim:
lab-baylibre: new failure (last pass: v4.14.181-59-g2c9e54b6ad6a)
x86_64:
x86_64_defconfig:
gcc-8:
qemu_x86_64:
lab-baylibre: new failure (last pass: v4.14.181-59-g2c9e54b6ad6a)
Boot Failures Detected:
x86_64:
x86_64_defconfig:
gcc-8:
qemu_x86_64: 1 failed lab
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
arm64:
defconfig:
gcc-8:
meson-gxbb-p200: 1 failed lab
meson-gxm-q200: 1 failed lab
Offline Platforms:
arm:
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.224-…
-------------------------------------------------------------------------------
stable-rc/linux-4.4.y boot: 60 boots: 3 failed, 52 passed with 3 offline, 2 untried/unknown (v4.4.224-66-g147ece171c0d)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.4.y/kernel/v4.4.224-66-…
Tree: stable-rc
Branch: linux-4.4.y
Git Describe: v4.4.224-66-g147ece171c0d
Git Commit: 147ece171c0dc02b417f35088182a61e6dac368a
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 42 unique boards, 16 SoC families, 12 builds out of 159
Boot Regressions Detected:
arm:
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 13 days (last pass: v4.4.223 - first fail: v4.4.223-36-g32f5ec9b096d)
x86_64:
x86_64_defconfig:
gcc-8:
qemu_x86_64:
lab-baylibre: new failure (last pass: v4.4.224-38-g1f47601a4296)
Boot Failures Detected:
x86_64:
x86_64_defconfig:
gcc-8:
qemu_x86_64: 1 failed lab
arm:
imx_v4_v5_defconfig:
gcc-8:
imx27-phytec-phycard-s-rdk: 1 failed lab
multi_v5_defconfig:
gcc-8:
imx27-phytec-phycard-s-rdk: 1 failed lab
Offline Platforms:
arm:
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
---
For more info write to <info(a)kernelci.org>
From: Can Guo <cang(a)codeaurora.org>
commit 17c7d35f141ef6158076adf3338f115f64fcf760 upstream.
[Please apply to 5.4-stable and earlier.]
In queuecommand path, if DMA map fails, it bails out with clock held. In
this case, release the clock to keep its usage paired.
[mkp: applied by hand]
Link: https://lore.kernel.org/r/0101016ed3d66395-1b7e7fce-b74d-42ca-a88a-4db78b79…
Reviewed-by: Bean Huo <beanhuo(a)micron.com>
Signed-off-by: Can Guo <cang(a)codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen(a)oracle.com>
[EB: resolved cherry-pick conflict caused by newer kernels not having
the clear_bit_unlock() line]
Signed-off-by: Eric Biggers <ebiggers(a)google.com>
---
drivers/scsi/ufs/ufshcd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
index 13ab1494c384..bc73181b0405 100644
--- a/drivers/scsi/ufs/ufshcd.c
+++ b/drivers/scsi/ufs/ufshcd.c
@@ -2480,6 +2480,7 @@ static int ufshcd_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd)
err = ufshcd_map_sg(hba, lrbp);
if (err) {
+ ufshcd_release(hba);
lrbp->cmd = NULL;
clear_bit_unlock(tag, &hba->lrb_in_use);
goto out;
--
2.27.0.rc0.183.gde8f92d652-goog
This is a note to let you know that I've just added the patch titled
software node: implement software_node_unregister()
to my driver-core git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
in the driver-core-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the driver-core-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
>From 46d26819a5056f4831649c5887ad5c71a16d86f7 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Date: Sun, 24 May 2020 17:30:40 +0200
Subject: software node: implement software_node_unregister()
Sometimes it is better to unregister individual nodes instead of trying
to do them all at once with software_node_unregister_nodes(), so create
software_node_unregister() so that you can unregister them one at a
time.
This is especially important when creating nodes in a hierarchy, with
parent -> children representations. Children always need to be removed
before a parent is, as the swnode logic assumes this is going to be the
case.
Fix up the lib/test_printf.c fwnode_pointer() test which to use this new
function as it had the problem of tearing things down in the backwards
order.
Fixes: f1ce39df508d ("lib/test_printf: Add tests for %pfw printk modifier")
Cc: stable <stable(a)vger.kernel.org>
Cc: Andy Shevchenko <andriy.shevchenko(a)linux.intel.com>
Cc: Brendan Higgins <brendanhiggins(a)google.com>
Cc: Dmitry Torokhov <dmitry.torokhov(a)gmail.com>
Cc: Petr Mladek <pmladek(a)suse.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki(a)intel.com>
Cc: Rasmus Villemoes <linux(a)rasmusvillemoes.dk>
Cc: Sakari Ailus <sakari.ailus(a)linux.intel.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com>
Cc: Steven Rostedt <rostedt(a)goodmis.org>
Reported-by: Naresh Kamboju <naresh.kamboju(a)linaro.org>
Reported-by: kernel test robot <rong.a.chen(a)intel.com>
Reported-by: Randy Dunlap <rdunlap(a)infradead.org>
Tested-by: Petr Mladek <pmladek(a)suse.com>
Tested-by: Randy Dunlap <rdunlap(a)infradead.org>
Tested-by: Guenter Roeck <linux(a)roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus(a)linux.intel.com>
Acked-by: Randy Dunlap <rdunlap(a)infradead.org>
Link: https://lore.kernel.org/r/20200524153041.2361-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/base/swnode.c | 27 +++++++++++++++++++++------
include/linux/property.h | 1 +
lib/test_printf.c | 4 +++-
3 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/drivers/base/swnode.c b/drivers/base/swnode.c
index de8d3543e8fe..770b1f47a625 100644
--- a/drivers/base/swnode.c
+++ b/drivers/base/swnode.c
@@ -712,17 +712,18 @@ EXPORT_SYMBOL_GPL(software_node_register_nodes);
* @nodes: Zero terminated array of software nodes to be unregistered
*
* Unregister multiple software nodes at once.
+ *
+ * NOTE: Be careful using this call if the nodes had parent pointers set up in
+ * them before registering. If so, it is wiser to remove the nodes
+ * individually, in the correct order (child before parent) instead of relying
+ * on the sequential order of the list of nodes in the array.
*/
void software_node_unregister_nodes(const struct software_node *nodes)
{
- struct swnode *swnode;
int i;
- for (i = 0; nodes[i].name; i++) {
- swnode = software_node_to_swnode(&nodes[i]);
- if (swnode)
- fwnode_remove_software_node(&swnode->fwnode);
- }
+ for (i = 0; nodes[i].name; i++)
+ software_node_unregister(&nodes[i]);
}
EXPORT_SYMBOL_GPL(software_node_unregister_nodes);
@@ -741,6 +742,20 @@ int software_node_register(const struct software_node *node)
}
EXPORT_SYMBOL_GPL(software_node_register);
+/**
+ * software_node_unregister - Unregister static software node
+ * @node: The software node to be unregistered
+ */
+void software_node_unregister(const struct software_node *node)
+{
+ struct swnode *swnode;
+
+ swnode = software_node_to_swnode(node);
+ if (swnode)
+ fwnode_remove_software_node(&swnode->fwnode);
+}
+EXPORT_SYMBOL_GPL(software_node_unregister);
+
struct fwnode_handle *
fwnode_create_software_node(const struct property_entry *properties,
const struct fwnode_handle *parent)
diff --git a/include/linux/property.h b/include/linux/property.h
index d86de017c689..0d4099b4ce1f 100644
--- a/include/linux/property.h
+++ b/include/linux/property.h
@@ -441,6 +441,7 @@ int software_node_register_nodes(const struct software_node *nodes);
void software_node_unregister_nodes(const struct software_node *nodes);
int software_node_register(const struct software_node *node);
+void software_node_unregister(const struct software_node *node);
int software_node_notify(struct device *dev, unsigned long action);
diff --git a/lib/test_printf.c b/lib/test_printf.c
index 6b1622f4d7c2..fc63b8959d42 100644
--- a/lib/test_printf.c
+++ b/lib/test_printf.c
@@ -637,7 +637,9 @@ static void __init fwnode_pointer(void)
test(second_name, "%pfwP", software_node_fwnode(&softnodes[1]));
test(third_name, "%pfwP", software_node_fwnode(&softnodes[2]));
- software_node_unregister_nodes(softnodes);
+ software_node_unregister(&softnodes[2]);
+ software_node_unregister(&softnodes[1]);
+ software_node_unregister(&softnodes[0]);
}
static void __init
--
2.26.2
The following commit has been merged into the ras/core branch of tip:
Commit-ID: be69f6c5cd38c457c22f6e718077f6524437369d
Gitweb: https://git.kernel.org/tip/be69f6c5cd38c457c22f6e718077f6524437369d
Author: Tony Luck <tony.luck(a)intel.com>
AuthorDate: Wed, 20 May 2020 09:35:46 -07:00
Committer: Borislav Petkov <bp(a)suse.de>
CommitterDate: Mon, 25 May 2020 22:37:41 +02:00
x86/{mce,mm}: Unmap the entire page if the whole page is affected and poisoned
An interesting thing happened when a guest Linux instance took a machine
check. The VMM unmapped the bad page from guest physical space and
passed the machine check to the guest.
Linux took all the normal actions to offline the page from the process
that was using it. But then guest Linux crashed because it said there
was a second machine check inside the kernel with this stack trace:
do_memory_failure
set_mce_nospec
set_memory_uc
_set_memory_uc
change_page_attr_set_clr
cpa_flush
clflush_cache_range_opt
This was odd, because a CLFLUSH instruction shouldn't raise a machine
check (it isn't consuming the data). Further investigation showed that
the VMM had passed in another machine check because is appeared that the
guest was accessing the bad page.
Fix is to check the scope of the poison by checking the MCi_MISC register.
If the entire page is affected, then unmap the page. If only part of the
page is affected, then mark the page as uncacheable.
This assumes that VMMs will do the logical thing and pass in the "whole
page scope" via the MCi_MISC register (since they unmapped the entire
page).
[ bp: Adjust to x86/entry changes. ]
Fixes: 284ce4011ba6 ("x86/memory_failure: Introduce {set, clear}_mce_nospec()")
Reported-by: Jue Wang <juew(a)google.com>
Signed-off-by: Tony Luck <tony.luck(a)intel.com>
Signed-off-by: Borislav Petkov <bp(a)suse.de>
Tested-by: Jue Wang <juew(a)google.com>
Cc: <stable(a)vger.kernel.org>
Link: https://lkml.kernel.org/r/20200520163546.GA7977@agluck-desk2.amr.corp.intel…
---
arch/x86/include/asm/set_memory.h | 19 +++++++++++++------
arch/x86/kernel/cpu/mce/core.c | 18 ++++++++++++++----
include/linux/sched.h | 4 +++-
include/linux/set_memory.h | 2 +-
4 files changed, 31 insertions(+), 12 deletions(-)
diff --git a/arch/x86/include/asm/set_memory.h b/arch/x86/include/asm/set_memory.h
index ec2c0a0..5948218 100644
--- a/arch/x86/include/asm/set_memory.h
+++ b/arch/x86/include/asm/set_memory.h
@@ -86,28 +86,35 @@ int set_direct_map_default_noflush(struct page *page);
extern int kernel_set_to_readonly;
#ifdef CONFIG_X86_64
-static inline int set_mce_nospec(unsigned long pfn)
+/*
+ * Prevent speculative access to the page by either unmapping
+ * it (if we do not require access to any part of the page) or
+ * marking it uncacheable (if we want to try to retrieve data
+ * from non-poisoned lines in the page).
+ */
+static inline int set_mce_nospec(unsigned long pfn, bool unmap)
{
unsigned long decoy_addr;
int rc;
/*
- * Mark the linear address as UC to make sure we don't log more
- * errors because of speculative access to the page.
* We would like to just call:
- * set_memory_uc((unsigned long)pfn_to_kaddr(pfn), 1);
+ * set_memory_XX((unsigned long)pfn_to_kaddr(pfn), 1);
* but doing that would radically increase the odds of a
* speculative access to the poison page because we'd have
* the virtual address of the kernel 1:1 mapping sitting
* around in registers.
* Instead we get tricky. We create a non-canonical address
* that looks just like the one we want, but has bit 63 flipped.
- * This relies on set_memory_uc() properly sanitizing any __pa()
+ * This relies on set_memory_XX() properly sanitizing any __pa()
* results with __PHYSICAL_MASK or PTE_PFN_MASK.
*/
decoy_addr = (pfn << PAGE_SHIFT) + (PAGE_OFFSET ^ BIT(63));
- rc = set_memory_uc(decoy_addr, 1);
+ if (unmap)
+ rc = set_memory_np(decoy_addr, 1);
+ else
+ rc = set_memory_uc(decoy_addr, 1);
if (rc)
pr_warn("Could not invalidate pfn=0x%lx from 1:1 map\n", pfn);
return rc;
diff --git a/arch/x86/kernel/cpu/mce/core.c b/arch/x86/kernel/cpu/mce/core.c
index ffee8a2..753bc77 100644
--- a/arch/x86/kernel/cpu/mce/core.c
+++ b/arch/x86/kernel/cpu/mce/core.c
@@ -520,6 +520,14 @@ bool mce_is_memory_error(struct mce *m)
}
EXPORT_SYMBOL_GPL(mce_is_memory_error);
+static bool whole_page(struct mce *m)
+{
+ if (!mca_cfg.ser || !(m->status & MCI_STATUS_MISCV))
+ return true;
+
+ return MCI_MISC_ADDR_LSB(m->misc) >= PAGE_SHIFT;
+}
+
bool mce_is_correctable(struct mce *m)
{
if (m->cpuvendor == X86_VENDOR_AMD && m->status & MCI_STATUS_DEFERRED)
@@ -573,7 +581,7 @@ static int uc_decode_notifier(struct notifier_block *nb, unsigned long val,
pfn = mce->addr >> PAGE_SHIFT;
if (!memory_failure(pfn, 0)) {
- set_mce_nospec(pfn);
+ set_mce_nospec(pfn, whole_page(mce));
mce->kflags |= MCE_HANDLED_UC;
}
@@ -1173,11 +1181,12 @@ static void kill_me_maybe(struct callback_head *cb)
int flags = MF_ACTION_REQUIRED;
pr_err("Uncorrected hardware memory error in user-access at %llx", p->mce_addr);
- if (!(p->mce_status & MCG_STATUS_RIPV))
+
+ if (!p->mce_ripv)
flags |= MF_MUST_KILL;
if (!memory_failure(p->mce_addr >> PAGE_SHIFT, flags)) {
- set_mce_nospec(p->mce_addr >> PAGE_SHIFT);
+ set_mce_nospec(p->mce_addr >> PAGE_SHIFT, p->mce_whole_page);
return;
}
@@ -1331,7 +1340,8 @@ void noinstr do_machine_check(struct pt_regs *regs)
BUG_ON(!on_thread_stack() || !user_mode(regs));
current->mce_addr = m.addr;
- current->mce_status = m.mcgstatus;
+ current->mce_ripv = !!(m.mcgstatus & MCG_STATUS_RIPV);
+ current->mce_whole_page = whole_page(&m);
current->mce_kill_me.func = kill_me_maybe;
if (kill_it)
current->mce_kill_me.func = kill_me_now;
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 1d68ee3..6293fc2 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1304,7 +1304,9 @@ struct task_struct {
#ifdef CONFIG_X86_MCE
u64 mce_addr;
- u64 mce_status;
+ __u64 mce_ripv : 1,
+ mce_whole_page : 1,
+ __mce_reserved : 62;
struct callback_head mce_kill_me;
#endif
diff --git a/include/linux/set_memory.h b/include/linux/set_memory.h
index 86281ac..860e0f8 100644
--- a/include/linux/set_memory.h
+++ b/include/linux/set_memory.h
@@ -26,7 +26,7 @@ static inline int set_direct_map_default_noflush(struct page *page)
#endif
#ifndef set_mce_nospec
-static inline int set_mce_nospec(unsigned long pfn)
+static inline int set_mce_nospec(unsigned long pfn, bool unmap)
{
return 0;
}
On Tue, May 26, 2020 at 11:44:18AM -0700, Jue Wang wrote:
> On Tue, May 26, 2020 at 11:03 AM Jue Wang <juew(a)google.com> wrote:
>
> > I tried to test this but my guest image build setup was not able to build
> > from kernel/git/bp/bp.git tip-ras-core branch. It appeared there was some
> > bindeb-pkg issue.
> >
> The bindeb-pkg issue is resolved and I tested the following branch in KVM
> guest and the injected MCE is recovered.
> https://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git/log/?h=tip-ras-co…
Thanks to both of you!
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
On Sun, May 24, 2020 at 09:52:54AM -0400, Sasha Levin wrote:
> This is a note to let you know that I've just added the patch titled
>
> ppp: mppe: Revert "ppp: mppe: Add softdep to arc4"
>
> 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:
> ppp-mppe-revert-ppp-mppe-add-softdep-to-arc4.patch
> and it can be found in the queue-4.4 subdirectory.
I already explained last time that this shouldn't be backported:
https://lore.kernel.org/stable/20190905161642.GA5659@google.com/
The commit message explains it too.
Is there something I could have done last time around to properly prevent this
from being backported, or do I have to continue to be ready to respond to these
emails which can come at arbitrary times forever?
>
> 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.
Hard for "anyone else" to object to it when you didn't Cc any real mailing lists
(stable-commits doesn't count) and just sent this to me. Lucky I saw this.
- Eric
On Tue, May 26, 2020 at 12:05 AM Saravana Kannan <saravanak(a)google.com> wrote:
>
> When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
> core: Add device link support for SYNC_STATE_ONLY flag"),
> SYNC_STATE_ONLY links were treated similar to STATELESS links in terms
> of not blocking consumer probe if the supplier hasn't probed yet.
>
> That caused a SYNC_STATE_ONLY device link's status to not get updated.
> Since SYNC_STATE_ONLY device link is no longer useful once the
> consumer probes, commit 21c27f06587d ("driver core: Fix
> SYNC_STATE_ONLY device link implementation") addresses the status
> update issue by deleting the SYNC_STATE_ONLY device link instead of
> complicating the status update code.
>
> However, there are still some cases where we need to update the status
> of a SYNC_STATE_ONLY device link. A SYNC_STATE_ONLY device link can
> later get converted into a normal MANAGED device link when a normal
> MANAGED device link is created between a supplier and consumer that
> already have a SYNC_STATE_ONLY device link between them. If a
> SYNC_STATE_ONLY device link's status isn't maintained correctly till
> it's converted to a normal MANAGED device link, then the normal
> MANAGED device link will end up with a wrong link status. This can
> cause a warning stack trace[1] when the consumer device probes.
>
> This commit fixes the SYNC_STATE_ONLY device link status update issue
> where it wouldn't transition correctly from DL_STATE_AVAILABLE to
> DL_STATE_CONSUMER_PROBE.
>
> [1] - https://lore.kernel.org/lkml/20200522204120.3b3c9ed6@apollo/
> Fixes: 05ef983e0d65 ("driver core: Add device link support for SYNC_STATE_ONLY flag")
> Fixes: 21c27f06587d ("driver core: Fix SYNC_STATE_ONLY device link implementation")
> Reported-by: Michael Walle <michael(a)walle.cc>
> Signed-off-by: Saravana Kannan <saravanak(a)google.com>
> ---
> Greg,
>
> I think this is the issue Michael ran into. I'd like him to test the fix
> before it's pulled in.
>
> Michael,
>
> If you can test this on the branch you saw the issue in and give a
> Tested-by if it works, that'd be great.
>
> Thanks,
> Saravana
>
> drivers/base/core.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/base/core.c b/drivers/base/core.c
> index 791b7530599f..9511be3f9a32 100644
> --- a/drivers/base/core.c
> +++ b/drivers/base/core.c
> @@ -687,11 +687,11 @@ int device_links_check_suppliers(struct device *dev)
> device_links_write_lock();
>
> list_for_each_entry(link, &dev->links.suppliers, c_node) {
> - if (!(link->flags & DL_FLAG_MANAGED) ||
> - link->flags & DL_FLAG_SYNC_STATE_ONLY)
> + if (!(link->flags & DL_FLAG_MANAGED))
> continue;
>
> - if (link->status != DL_STATE_AVAILABLE) {
> + if (link->status != DL_STATE_AVAILABLE &&
> + !(link->flags & DL_FLAG_SYNC_STATE_ONLY)) {
> device_links_missing_supplier(dev);
> ret = -EPROBE_DEFER;
> break;
> --
> 2.27.0.rc0.183.gde8f92d652-goog
>
Adding stable@ that I forgot to add earlier.
-Saravana
The following commit has been merged into the ras/core branch of tip:
Commit-ID: 3cb1ada80fe29e2fa022b5f20370b65718e0a744
Gitweb: https://git.kernel.org/tip/3cb1ada80fe29e2fa022b5f20370b65718e0a744
Author: Tony Luck <tony.luck(a)intel.com>
AuthorDate: Wed, 20 May 2020 09:35:46 -07:00
Committer: Borislav Petkov <bp(a)suse.de>
CommitterDate: Mon, 25 May 2020 12:46:40 +02:00
x86/{mce,mm}: Change so poison pages are either unmapped or marked uncacheable
An interesting thing happened when a guest Linux instance took a machine
check. The VMM unmapped the bad page from guest physical space and
passed the machine check to the guest.
Linux took all the normal actions to offline the page from the process
that was using it. But then guest Linux crashed because it said there
was a second machine check inside the kernel with this stack trace:
do_memory_failure
set_mce_nospec
set_memory_uc
_set_memory_uc
change_page_attr_set_clr
cpa_flush
clflush_cache_range_opt
This was odd, because a CLFLUSH instruction shouldn't raise a machine
check (it isn't consuming the data). Further investigation showed that
the VMM had passed in another machine check because is appeared that the
guest was accessing the bad page.
Fix is to check the scope of the poison by checking the MCi_MISC register.
If the entire page is affected, then unmap the page. If only part of the
page is affected, then mark the page as uncacheable.
This assumes that VMMs will do the logical thing and pass in the "whole
page scope" via the MCi_MISC register (since they unmapped the entire
page).
Fixes: 284ce4011ba6 ("x86/memory_failure: Introduce {set, clear}_mce_nospec()")
Reported-by: Jue Wang <juew(a)google.com>
Signed-off-by: Tony Luck <tony.luck(a)intel.com>
Signed-off-by: Borislav Petkov <bp(a)suse.de>
Tested-by: Jue Wang <juew(a)google.com>
Cc: <stable(a)vger.kernel.org>
Link: https://lkml.kernel.org/r/20200520163546.GA7977@agluck-desk2.amr.corp.intel…
---
arch/x86/include/asm/set_memory.h | 19 +++++++++++++------
arch/x86/kernel/cpu/mce/core.c | 11 +++++++++--
include/linux/set_memory.h | 2 +-
3 files changed, 23 insertions(+), 9 deletions(-)
diff --git a/arch/x86/include/asm/set_memory.h b/arch/x86/include/asm/set_memory.h
index ec2c0a0..5948218 100644
--- a/arch/x86/include/asm/set_memory.h
+++ b/arch/x86/include/asm/set_memory.h
@@ -86,28 +86,35 @@ int set_direct_map_default_noflush(struct page *page);
extern int kernel_set_to_readonly;
#ifdef CONFIG_X86_64
-static inline int set_mce_nospec(unsigned long pfn)
+/*
+ * Prevent speculative access to the page by either unmapping
+ * it (if we do not require access to any part of the page) or
+ * marking it uncacheable (if we want to try to retrieve data
+ * from non-poisoned lines in the page).
+ */
+static inline int set_mce_nospec(unsigned long pfn, bool unmap)
{
unsigned long decoy_addr;
int rc;
/*
- * Mark the linear address as UC to make sure we don't log more
- * errors because of speculative access to the page.
* We would like to just call:
- * set_memory_uc((unsigned long)pfn_to_kaddr(pfn), 1);
+ * set_memory_XX((unsigned long)pfn_to_kaddr(pfn), 1);
* but doing that would radically increase the odds of a
* speculative access to the poison page because we'd have
* the virtual address of the kernel 1:1 mapping sitting
* around in registers.
* Instead we get tricky. We create a non-canonical address
* that looks just like the one we want, but has bit 63 flipped.
- * This relies on set_memory_uc() properly sanitizing any __pa()
+ * This relies on set_memory_XX() properly sanitizing any __pa()
* results with __PHYSICAL_MASK or PTE_PFN_MASK.
*/
decoy_addr = (pfn << PAGE_SHIFT) + (PAGE_OFFSET ^ BIT(63));
- rc = set_memory_uc(decoy_addr, 1);
+ if (unmap)
+ rc = set_memory_np(decoy_addr, 1);
+ else
+ rc = set_memory_uc(decoy_addr, 1);
if (rc)
pr_warn("Could not invalidate pfn=0x%lx from 1:1 map\n", pfn);
return rc;
diff --git a/arch/x86/kernel/cpu/mce/core.c b/arch/x86/kernel/cpu/mce/core.c
index 02e1f16..e35aece 100644
--- a/arch/x86/kernel/cpu/mce/core.c
+++ b/arch/x86/kernel/cpu/mce/core.c
@@ -518,6 +518,13 @@ bool mce_is_memory_error(struct mce *m)
}
EXPORT_SYMBOL_GPL(mce_is_memory_error);
+static bool whole_page(struct mce *m)
+{
+ if (!mca_cfg.ser || !(m->status & MCI_STATUS_MISCV))
+ return true;
+ return MCI_MISC_ADDR_LSB(m->misc) >= PAGE_SHIFT;
+}
+
bool mce_is_correctable(struct mce *m)
{
if (m->cpuvendor == X86_VENDOR_AMD && m->status & MCI_STATUS_DEFERRED)
@@ -571,7 +578,7 @@ static int uc_decode_notifier(struct notifier_block *nb, unsigned long val,
pfn = mce->addr >> PAGE_SHIFT;
if (!memory_failure(pfn, 0)) {
- set_mce_nospec(pfn);
+ set_mce_nospec(pfn, whole_page(mce));
mce->kflags |= MCE_HANDLED_UC;
}
@@ -1069,7 +1076,7 @@ static int do_memory_failure(struct mce *m)
if (ret)
pr_err("Memory error not recovered");
else
- set_mce_nospec(m->addr >> PAGE_SHIFT);
+ set_mce_nospec(m->addr >> PAGE_SHIFT, whole_page(m));
return ret;
}
diff --git a/include/linux/set_memory.h b/include/linux/set_memory.h
index 86281ac..860e0f8 100644
--- a/include/linux/set_memory.h
+++ b/include/linux/set_memory.h
@@ -26,7 +26,7 @@ static inline int set_direct_map_default_noflush(struct page *page)
#endif
#ifndef set_mce_nospec
-static inline int set_mce_nospec(unsigned long pfn)
+static inline int set_mce_nospec(unsigned long pfn, bool unmap)
{
return 0;
}
Hi Greg.
This is for 4.4.
This is a follow-up to "l2tp locking and ordering fixes" for 4.9.
Compared with that series, this pulls in 5 more patches (the first 5
Guillaume Nault ones below) containing more of the same as well as
making later changes apply more cleanly.
As before, every commit compiles with make allmodconfig, but I have no
hardware to test this with.
9dd79945b0f8 (use IS_ENABLED) would have made one patch or so cleaner
but I didn't add it.
There are also bunch of fixes that aren't l2tp locking or ordering
fixes and I didn't add them either. For the record...
Between 4.4 and 4.9:
018f82585823 net: l2tp: fix reversed udp6 checksum flags
56cff471d0c6 l2tp: Fix the connect status check in pppol2tp_getname
286c72deabaa udp: must lock the socket in udp_disconnect()
df90e6886146 l2tp: fix lookup for sockets not bound to a device in l2tp_ip
31e2f21fb35b l2tp: fix address test in __l2tp_ip6_bind_lookup()
Between 4.9 and 4.9.latest:
000224c1106c l2tp: consider '::' as wildcard address in l2tp_ip6 socket lookup
d2d74d0e58b2 l2tp: take remote address into account in l2tp_ip and l2tp_ip6 socket lookups
65b05d03a578 l2tp: remove configurable payload offset
b437ed583592 l2tp: Fix possible NULL pointer dereference
Regards,
Giuliano.
Asbjørn Sloth Tønnesen (3):
net: l2tp: export debug flags to UAPI
net: l2tp: deprecate PPPOL2TP_MSG_* in favour of L2TP_MSG_*
net: l2tp: ppp: change PPPOL2TP_MSG_* => L2TP_MSG_*
Guillaume Nault (22):
l2tp: lock socket before checking flags in connect()
l2tp: fix racy socket lookup in l2tp_ip and l2tp_ip6 bind()
l2tp: hold session while sending creation notifications
l2tp: take a reference on sessions used in genetlink handlers
l2tp: don't use l2tp_tunnel_find() in l2tp_ip and l2tp_ip6
l2tp: remove useless duplicate session detection in l2tp_netlink
l2tp: remove l2tp_session_find()
l2tp: define parameters of l2tp_session_get*() as "const"
l2tp: define parameters of l2tp_tunnel_find*() as "const"
l2tp: initialise session's refcount before making it reachable
l2tp: hold tunnel while looking up sessions in l2tp_netlink
l2tp: hold tunnel while processing genl delete command
l2tp: hold tunnel while handling genl tunnel updates
l2tp: hold tunnel while handling genl TUNNEL_GET commands
l2tp: hold tunnel used while creating sessions with netlink
l2tp: prevent creation of sessions on terminated tunnels
l2tp: pass tunnel pointer to ->session_create()
l2tp: fix l2tp_eth module loading
l2tp: don't register sessions in l2tp_session_create()
l2tp: initialise l2tp_eth sessions before registering them
l2tp: protect sock pointer of struct pppol2tp_session with RCU
l2tp: initialise PPP sessions before registering them
R. Parameswaran (2):
New kernel function to get IP overhead on a socket.
L2TP:Adjust intf MTU, add underlay L3, L2 hdrs.
Documentation/networking/l2tp.txt | 8 +-
include/linux/net.h | 3 +
include/net/ipv6.h | 2 +
include/uapi/linux/if_pppol2tp.h | 13 +-
include/uapi/linux/l2tp.h | 17 +-
net/ipv6/datagram.c | 4 +-
net/l2tp/l2tp_core.c | 181 ++++++-----------
net/l2tp/l2tp_core.h | 47 +++--
net/l2tp/l2tp_eth.c | 214 +++++++++++++--------
net/l2tp/l2tp_ip.c | 68 ++++---
net/l2tp/l2tp_ip6.c | 82 ++++----
net/l2tp/l2tp_netlink.c | 124 +++++++-----
net/l2tp/l2tp_ppp.c | 309 ++++++++++++++++++------------
net/socket.c | 46 +++++
14 files changed, 629 insertions(+), 489 deletions(-)
--
2.27.0.rc0.183.gde8f92d652-goog
I hope you are doing great?
This is Felix from Toronto-Canada. I have a lucrative business
offer that will benefit us both immensely within a very short
period of time. However, I need your initial approval of interest
prior to further and complete details regarding the deal.
Thanks,
Felix.
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-5.6.y/kernel/v5.6.14-1…
-------------------------------------------------------------------------------
stable-rc/linux-5.6.y boot: 131 boots: 1 failed, 122 passed with 6 offline, 2 untried/unknown (v5.6.14-121-g8f40203f4915)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.6.y/kernel/v5.6.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-5.6.y/kernel/v5.6.14-121-…
Tree: stable-rc
Branch: linux-5.6.y
Git Describe: v5.6.14-121-g8f40203f4915
Git Commit: 8f40203f49158f3292f524ed280268758f8c9f30
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 88 unique boards, 23 SoC families, 20 builds out of 200
Boot Failure Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
Offline Platforms:
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
davinci_all_defconfig:
gcc-8
da850-evm: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.19.y/kernel/v4.19.12…
-------------------------------------------------------------------------------
stable-rc/linux-4.19.y boot: 139 boots: 2 failed, 125 passed with 7 offline, 5 untried/unknown (v4.19.124-77-g0708fb235b9c)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.19.y/kernel/v4.1…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.19.y/kernel/v4.19.124-7…
Tree: stable-rc
Branch: linux-4.19.y
Git Describe: v4.19.124-77-g0708fb235b9c
Git Commit: 0708fb235b9c82f3d983e90bdc1a11227512055b
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 80 unique boards, 22 SoC families, 19 builds out of 206
Boot Regressions Detected:
arm:
davinci_all_defconfig:
gcc-8:
da850-evm:
lab-baylibre-seattle: failing since 1 day (last pass: v4.19.123-81-gff1170bc0ae9 - first fail: v4.19.124)
dm365evm,legacy:
lab-baylibre-seattle: failing since 1 day (last pass: v4.19.123-81-gff1170bc0ae9 - first fail: v4.19.124)
omap2plus_defconfig:
gcc-8:
omap3-beagle-xm:
lab-baylibre: new failure (last pass: v4.19.123-81-gff1170bc0ae9)
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 13 days (last pass: v4.19.122 - first fail: v4.19.122-48-g92ba0b6b33ad)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 74 days (last pass: v4.19.108-87-g624c124960e8 - first fail: v4.19.109)
Boot Failures Detected:
arm:
omap2plus_defconfig:
gcc-8:
omap3-beagle-xm: 1 failed lab
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
Offline Platforms:
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
davinci_all_defconfig:
gcc-8
da850-evm: 1 offline lab
dm365evm,legacy: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.18…
-------------------------------------------------------------------------------
stable-rc/linux-4.14.y boot: 129 boots: 3 failed, 116 passed with 5 offline, 5 untried/unknown (v4.14.181-59-g2c9e54b6ad6a)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.1…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.14.y/kernel/v4.14.181-5…
Tree: stable-rc
Branch: linux-4.14.y
Git Describe: v4.14.181-59-g2c9e54b6ad6a
Git Commit: 2c9e54b6ad6a1307ba4365dae90d882bc31ada04
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 74 unique boards, 21 SoC families, 17 builds out of 200
Boot Regressions Detected:
arm:
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 13 days (last pass: v4.14.180 - first fail: v4.14.180-37-gad4fc99d1989)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 96 days (last pass: v4.14.170-141-g00a0113414f7 - first fail: v4.14.171-29-g9cfe30e85240)
Boot Failures Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
arm64:
defconfig:
gcc-8:
meson-gxbb-p200: 1 failed lab
meson-gxm-q200: 1 failed lab
Offline Platforms:
arm:
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.224-…
-------------------------------------------------------------------------------
stable-rc/linux-4.4.y boot: 92 boots: 3 failed, 78 passed with 6 offline, 4 untried/unknown, 1 conflict (v4.4.224-38-g1f47601a4296)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.4.y/kernel/v4.4.224-38-…
Tree: stable-rc
Branch: linux-4.4.y
Git Describe: v4.4.224-38-g1f47601a4296
Git Commit: 1f47601a4296940bac6cba8c55ab73ca2453f284
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 48 unique boards, 17 SoC families, 17 builds out of 190
Boot Regressions Detected:
arm:
davinci_all_defconfig:
gcc-8:
da850-evm:
lab-baylibre-seattle: new failure (last pass: v4.4.224)
dm365evm,legacy:
lab-baylibre-seattle: new failure (last pass: v4.4.224)
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 12 days (last pass: v4.4.223 - first fail: v4.4.223-36-g32f5ec9b096d)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 61 days (last pass: v4.4.216-127-g955137020949 - first fail: v4.4.217)
x86_64:
x86_64_defconfig:
gcc-8:
qemu_x86_64:
lab-baylibre: new failure (last pass: v4.4.224)
Boot Failures Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
imx_v4_v5_defconfig:
gcc-8:
imx27-phytec-phycard-s-rdk: 1 failed lab
multi_v5_defconfig:
gcc-8:
imx27-phytec-phycard-s-rdk: 1 failed lab
Offline Platforms:
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
davinci_all_defconfig:
gcc-8
da850-evm: 1 offline lab
dm365evm,legacy: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
Conflicting Boot Failure Detected: (These likely are not failures as other labs are reporting PASS. Needs review.)
x86_64:
x86_64_defconfig:
qemu_x86_64:
lab-baylibre: FAIL (gcc-8)
lab-collabora: PASS (gcc-8)
---
For more info write to <info(a)kernelci.org>
The TLB flush optimisation (a46cc7a90f: powerpc/mm/radix: Improve TLB/PWC
flushes) may result in random memory corruption. Any concurrent page-table walk
could end up with a Use-after-Free. Even on UP this might give issues, since
mmu_gather is preemptible these days. An interrupt or preempted task accessing
user pages might stumble into the free page if the hardware caches page
directories.
The series is a backport of the fix sent by Peter [1].
The first three patches are dependencies for the last patch (avoid potential
double flush). If the performance impact due to double flush is considered
trivial then the first three patches and last patch may be dropped.
This is only for v4.19 stable.
--
Changelog:
v2: Send the patches with the correct format (commit sha1 upstream) for stable
v3: Fix compilation for ppc44x_defconfig and mpc885_ads_defconfig
v4: No change, Resend.
--
Aneesh Kumar K.V (1):
powerpc/mmu_gather: enable RCU_TABLE_FREE even for !SMP case
Peter Zijlstra (4):
asm-generic/tlb: Track freeing of page-table directories in struct
mmu_gather
asm-generic/tlb, arch: Invert CONFIG_HAVE_RCU_TABLE_INVALIDATE
mm/mmu_gather: invalidate TLB correctly on batch allocation failure
and flush
asm-generic/tlb: avoid potential double flush
Will Deacon (1):
asm-generic/tlb: Track which levels of the page tables have been
cleared
arch/Kconfig | 3 -
arch/powerpc/Kconfig | 2 +-
arch/powerpc/include/asm/book3s/32/pgalloc.h | 8 --
arch/powerpc/include/asm/book3s/64/pgalloc.h | 2 -
arch/powerpc/include/asm/nohash/32/pgalloc.h | 8 --
arch/powerpc/include/asm/tlb.h | 11 ++
arch/powerpc/mm/pgtable-book3s64.c | 7 --
arch/sparc/include/asm/tlb_64.h | 9 ++
arch/x86/Kconfig | 1 -
include/asm-generic/tlb.h | 103 ++++++++++++++++---
mm/memory.c | 20 ++--
11 files changed, 122 insertions(+), 52 deletions(-)
--
2.25.4
Build reference: v5.4.42-105-g3cb79944b65a
gcc version: sh4-linux-gcc (GCC) 9.3.0
Building sh:defconfig ... failed
net/socket.c: In function 'sock_ioctl':
arch/sh/include/uapi/asm/sockios.h:16:41: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
and various other similar errors.
Guenter
Building x86_64:allyesconfig ... failed
--------------
Error log:
drivers/edac/ghes_edac.c: In function 'get_dimm_smbios_index':
drivers/edac/ghes_edac.c:79:29: error: 'ghes_pvt' undeclared (first use in this function)
79 | struct mem_ctl_info *mci = ghes_pvt->mci;
| ^~~~~~~~
drivers/edac/ghes_edac.c:79:29: note: each undeclared identifier is reported only once for each function it appears in
Guenter
When we push a virtual request onto the HW, we update the rq->engine to
point to the physical engine. A request that is then submitted by the
user that waits upon the virtual engine, but along the physical engine
in use, will then see that it is due to be submitted to the same engine
and take a shortcut (and be queued without waiting for the completion
fence). However, the virtual request may be preempted (either by higher
priority users, or by timeslicing) and removed from the physical engine
to be migrated over to one of its siblings. The dependent normal request
however is oblivious to the removal of the virtual request and remains
queued to execute on HW, believing that once it reaches the head of its
queue all of its predecessors will have completed executing!
Fixes: 6d06779e8672 ("drm/i915: Load balancing across a virtual engine")
Testcase: igt/gem_exec_balancer/sliced
Signed-off-by: Chris Wilson <chris(a)chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin(a)intel.com>
Cc: <stable(a)vger.kernel.org> # v5.3+
---
drivers/gpu/drm/i915/i915_request.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_request.c b/drivers/gpu/drm/i915/i915_request.c
index c282719ad3ac..51588209bddd 100644
--- a/drivers/gpu/drm/i915/i915_request.c
+++ b/drivers/gpu/drm/i915/i915_request.c
@@ -1074,7 +1074,7 @@ i915_request_await_request(struct i915_request *to, struct i915_request *from)
return ret;
}
- if (to->engine == from->engine)
+ if (is_power_of_2(to->execution_mask | READ_ONCE(from->execution_mask)))
ret = i915_sw_fence_await_sw_fence_gfp(&to->submit,
&from->submit,
I915_FENCE_GFP);
--
2.20.1
The patch below does not apply to the 5.4-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 52cd91c27f3908b88e8b25aed4a4d20660abcc45 Mon Sep 17 00:00:00 2001
From: Fabrice Gasnier <fabrice.gasnier(a)st.com>
Date: Thu, 30 Apr 2020 11:28:45 +0200
Subject: [PATCH] iio: adc: stm32-adc: fix device used to request dma
DMA channel request should use device struct from platform device struct.
Currently it's using iio device struct. But at this stage when probing,
device struct isn't yet registered (e.g. device_register is done in
iio_device_register). Since commit 71723a96b8b1 ("dmaengine: Create
symlinks between DMA channels and slaves"), a warning message is printed
as the links in sysfs can't be created, due to device isn't yet registered:
- Cannot create DMA slave symlink
- Cannot create DMA dma:rx symlink
Fix this by using device struct from platform device to request dma chan.
Fixes: 2763ea0585c99 ("iio: adc: stm32: add optional dma support")
Signed-off-by: Fabrice Gasnier <fabrice.gasnier(a)st.com>
Cc: <Stable(a)vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
diff --git a/drivers/iio/adc/stm32-adc.c b/drivers/iio/adc/stm32-adc.c
index ae622ee6d08c..dfc3a306c667 100644
--- a/drivers/iio/adc/stm32-adc.c
+++ b/drivers/iio/adc/stm32-adc.c
@@ -1812,18 +1812,18 @@ static int stm32_adc_chan_of_init(struct iio_dev *indio_dev)
return 0;
}
-static int stm32_adc_dma_request(struct iio_dev *indio_dev)
+static int stm32_adc_dma_request(struct device *dev, struct iio_dev *indio_dev)
{
struct stm32_adc *adc = iio_priv(indio_dev);
struct dma_slave_config config;
int ret;
- adc->dma_chan = dma_request_chan(&indio_dev->dev, "rx");
+ adc->dma_chan = dma_request_chan(dev, "rx");
if (IS_ERR(adc->dma_chan)) {
ret = PTR_ERR(adc->dma_chan);
if (ret != -ENODEV) {
if (ret != -EPROBE_DEFER)
- dev_err(&indio_dev->dev,
+ dev_err(dev,
"DMA channel request failed with %d\n",
ret);
return ret;
@@ -1930,7 +1930,7 @@ static int stm32_adc_probe(struct platform_device *pdev)
if (ret < 0)
return ret;
- ret = stm32_adc_dma_request(indio_dev);
+ ret = stm32_adc_dma_request(dev, indio_dev);
if (ret < 0)
return ret;
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-5.4.y/kernel/v5.4.42-1…
-------------------------------------------------------------------------------
stable-rc/linux-5.4.y boot: 161 boots: 1 failed, 145 passed with 7 offline, 8 untried/unknown (v5.4.42-105-g3cb79944b65a)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.4.y/kernel/v5.4.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-5.4.y/kernel/v5.4.42-105-…
Tree: stable-rc
Branch: linux-5.4.y
Git Describe: v5.4.42-105-g3cb79944b65a
Git Commit: 3cb79944b65a695eeefe570faadb81f64ecad390
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 97 unique boards, 26 SoC families, 21 builds out of 200
Boot Regressions Detected:
arc:
hsdk_defconfig:
gcc-8:
hsdk:
lab-baylibre: new failure (last pass: v5.4.42)
arm:
davinci_all_defconfig:
gcc-8:
da850-evm:
lab-baylibre-seattle: failing since 1 day (last pass: v5.4.41-148-gcac6eb2794c8 - first fail: v5.4.42)
dm365evm,legacy:
lab-baylibre-seattle: failing since 1 day (last pass: v5.4.41-148-gcac6eb2794c8 - first fail: v5.4.42)
multi_v7_defconfig:
gcc-8:
sun8i-a83t-bananapi-m3:
lab-clabbe: new failure (last pass: v5.4.42)
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 107 days (last pass: v5.4.17-99-gbd0c6624a110 - first fail: v5.4.17-238-gbffcaa93483d)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 48 days (last pass: v5.4.30-37-g40da5db79b55 - first fail: v5.4.30-39-g23c04177b89f)
versatile_defconfig:
gcc-8:
versatile-pb:
lab-collabora: new failure (last pass: v5.4.42)
arm64:
defconfig:
gcc-8:
meson-gxl-s905x-khadas-vim:
lab-baylibre: new failure (last pass: v5.4.42)
Boot Failure Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
Offline Platforms:
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
davinci_all_defconfig:
gcc-8
da850-evm: 1 offline lab
dm365evm,legacy: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.9.y/kernel/v4.9.224-…
-------------------------------------------------------------------------------
stable-rc/linux-4.9.y boot: 110 boots: 1 failed, 95 passed with 7 offline, 6 untried/unknown, 1 conflict (v4.9.224-65-g7b44b8e27432)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.9.y/kernel/v4.9.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.9.y/kernel/v4.9.224-65-…
Tree: stable-rc
Branch: linux-4.9.y
Git Describe: v4.9.224-65-g7b44b8e27432
Git Commit: 7b44b8e27432c38eb9fd9e98eb66b781ed4944ae
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 58 unique boards, 18 SoC families, 19 builds out of 197
Boot Regressions Detected:
arm:
davinci_all_defconfig:
gcc-8:
da850-evm:
lab-baylibre-seattle: new failure (last pass: v4.9.224)
dm365evm,legacy:
lab-baylibre-seattle: new failure (last pass: v4.9.224)
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 13 days (last pass: v4.9.223 - first fail: v4.9.223-25-g6dfb25040a46)
sunxi_defconfig:
gcc-8:
sun4i-a10-olinuxino-lime:
lab-baylibre: new failure (last pass: v4.9.224)
x86_64:
x86_64_defconfig:
gcc-8:
qemu_x86_64:
lab-baylibre: new failure (last pass: v4.9.224)
Boot Failure Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
Offline Platforms:
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
davinci_all_defconfig:
gcc-8
da850-evm: 1 offline lab
dm365evm,legacy: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
Conflicting Boot Failure Detected: (These likely are not failures as other labs are reporting PASS. Needs review.)
x86_64:
x86_64_defconfig:
qemu_x86_64:
lab-baylibre: FAIL (gcc-8)
lab-collabora: PASS (gcc-8)
---
For more info write to <info(a)kernelci.org>
Hi
[This is an automated email]
This commit has been processed because it contains a -stable tag.
The stable tag indicates that it's relevant for the following trees: 2.6.12+
The bot has tested the following trees: v5.6.14, v5.4.42, v4.19.124, v4.14.181, v4.9.224, v4.4.224.
v5.6.14: Build OK!
v5.4.42: Build OK!
v4.19.124: Build OK!
v4.14.181: Build OK!
v4.9.224: Build OK!
v4.4.224: Failed to apply! Possible dependencies:
302d3deb2068 ("xprtrdma: Prevent inline overflow")
65b80179f9b8 ("xprtrdma: No direct data placement with krb5i and krb5p")
94f58c58c0b4 ("xprtrdma: Allow Read list and Reply chunk simultaneously")
cce6deeb56aa ("xprtrdma: Avoid using Write list for small NFS READ requests")
NOTE: The patch will not be queued to stable trees until it is upstream.
How should we proceed with this patch?
--
Thanks
Sasha
Async page faults have to be trapped in the host (L1 in this case),
since the APF reason was passed from L0 to L1 and stored in the L1 APF
data page. This was completely reversed: the page faults were passed
to the guest, a L2 hypervisor.
Cc: stable(a)vger.kernel.org
Reviewed-by: Sean Christopherson <sean.j.christopherson(a)intel.com>
Signed-off-by: Paolo Bonzini <pbonzini(a)redhat.com>
---
arch/x86/kvm/svm/nested.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kvm/svm/nested.c b/arch/x86/kvm/svm/nested.c
index a89a166d1cb8..f4cd2d0cc360 100644
--- a/arch/x86/kvm/svm/nested.c
+++ b/arch/x86/kvm/svm/nested.c
@@ -880,8 +880,8 @@ int nested_svm_exit_special(struct vcpu_svm *svm)
return NESTED_EXIT_HOST;
break;
case SVM_EXIT_EXCP_BASE + PF_VECTOR:
- /* When we're shadowing, trap PFs, but not async PF */
- if (!npt_enabled && svm->vcpu.arch.apf.host_apf_reason == 0)
+ /* Trap async PF even if not shadowing */
+ if (!npt_enabled || svm->vcpu.arch.apf.host_apf_reason)
return NESTED_EXIT_HOST;
break;
default:
--
2.18.2
From: Eric Joyner <eric.joyner(a)intel.com>
Memory allocated in the ice_add_prof_id_vsig() function wasn't being
properly freed if an error occurred inside the for-loop in the function.
In particular, 'p' wasn't being freed if an error occurred before it was
added to the resource list at the end of the for-loop.
CC: stable <stable(a)vger.kernel.org>
Signed-off-by: Eric Joyner <eric.joyner(a)intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen(a)intel.com>
Tested-by: Andrew Bowers <andrewx.bowers(a)intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher(a)intel.com>
---
drivers/net/ethernet/intel/ice/ice_flex_pipe.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/intel/ice/ice_flex_pipe.c b/drivers/net/ethernet/intel/ice/ice_flex_pipe.c
index 4dc72aef5381..38c37f506257 100644
--- a/drivers/net/ethernet/intel/ice/ice_flex_pipe.c
+++ b/drivers/net/ethernet/intel/ice/ice_flex_pipe.c
@@ -4228,8 +4228,10 @@ ice_add_prof_id_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl,
t->tcam[i].prof_id,
t->tcam[i].ptg, vsig, 0, 0,
vl_msk, dc_msk, nm_msk);
- if (status)
+ if (status) {
+ devm_kfree(ice_hw_to_dev(hw), p);
goto err_ice_add_prof_id_vsig;
+ }
/* log change */
list_add(&p->list_entry, chg);
--
2.26.2
Restoring the ASID from the hsave area on VMEXIT is wrong, because its
value depends on the handling of TLB flushes. Just skipping the field in
copy_vmcb_control_area will do.
Cc: stable(a)vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini(a)redhat.com>
---
arch/x86/kvm/svm/nested.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kvm/svm/nested.c b/arch/x86/kvm/svm/nested.c
index f4cd2d0cc360..d544cce4f964 100644
--- a/arch/x86/kvm/svm/nested.c
+++ b/arch/x86/kvm/svm/nested.c
@@ -150,7 +150,7 @@ static void copy_vmcb_control_area(struct vmcb *dst_vmcb, struct vmcb *from_vmcb
dst->iopm_base_pa = from->iopm_base_pa;
dst->msrpm_base_pa = from->msrpm_base_pa;
dst->tsc_offset = from->tsc_offset;
- dst->asid = from->asid;
+ /* asid not copied, it is handled manually for svm->vmcb. */
dst->tlb_ctl = from->tlb_ctl;
dst->int_ctl = from->int_ctl;
dst->int_vector = from->int_vector;
--
2.18.2
When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
core: Add device link support for SYNC_STATE_ONLY flag"),
device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
device link to the supplier's and consumer's "device link" list. So the
"device link" is lost forever from driver core if the caller didn't keep
track of it (typically isn't expected to).
If the same SYNC_STATE_ONLY device link is created again using
device_link_add(), instead of returning the pointer to the previously
created device link, a new device link is created and returned. This can
cause memory leaks in conjunction with fw_devlinks.
Cc: stable(a)vger.kernel.org
Fixes: 05ef983e0d65 ("driver core: Add device link support for SYNC_STATE_ONLY flag")
Signed-off-by: Saravana Kannan <saravanak(a)google.com>
---
drivers/base/core.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 84c569726d75..d36e9289b2df 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -436,12 +436,16 @@ struct device_link *device_link_add(struct device *consumer,
flags & DL_FLAG_PM_RUNTIME)
pm_runtime_resume(supplier);
+ list_add_tail_rcu(&link->s_node, &supplier->links.consumers);
+ list_add_tail_rcu(&link->c_node, &consumer->links.suppliers);
+
if (flags & DL_FLAG_SYNC_STATE_ONLY) {
dev_dbg(consumer,
"Linked as a sync state only consumer to %s\n",
dev_name(supplier));
goto out;
}
+
reorder:
/*
* Move the consumer and all of the devices depending on it to the end
@@ -452,12 +456,9 @@ struct device_link *device_link_add(struct device *consumer,
*/
device_reorder_to_tail(consumer, NULL);
- list_add_tail_rcu(&link->s_node, &supplier->links.consumers);
- list_add_tail_rcu(&link->c_node, &consumer->links.suppliers);
-
dev_dbg(consumer, "Linked as a consumer to %s\n", dev_name(supplier));
- out:
+out:
device_pm_unlock();
device_links_write_unlock();
--
2.26.2.761.g0e0b3e54be-goog
The patch below does not apply to the 5.6-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From b34cb07dde7c2346dec73d053ce926aeaa087303 Mon Sep 17 00:00:00 2001
From: Phil Auld <pauld(a)redhat.com>
Date: Tue, 12 May 2020 09:52:22 -0400
Subject: [PATCH] sched/fair: Fix enqueue_task_fair() warning some more
sched/fair: Fix enqueue_task_fair warning some more
The recent patch, fe61468b2cb (sched/fair: Fix enqueue_task_fair warning)
did not fully resolve the issues with the rq->tmp_alone_branch !=
&rq->leaf_cfs_rq_list warning in enqueue_task_fair. There is a case where
the first for_each_sched_entity loop exits due to on_rq, having incompletely
updated the list. In this case the second for_each_sched_entity loop can
further modify se. The later code to fix up the list management fails to do
what is needed because se does not point to the sched_entity which broke out
of the first loop. The list is not fixed up because the throttled parent was
already added back to the list by a task enqueue in a parallel child hierarchy.
Address this by calling list_add_leaf_cfs_rq if there are throttled parents
while doing the second for_each_sched_entity loop.
Fixes: fe61468b2cb ("sched/fair: Fix enqueue_task_fair warning")
Suggested-by: Vincent Guittot <vincent.guittot(a)linaro.org>
Signed-off-by: Phil Auld <pauld(a)redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz(a)infradead.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann(a)arm.com>
Reviewed-by: Vincent Guittot <vincent.guittot(a)linaro.org>
Link: https://lkml.kernel.org/r/20200512135222.GC2201@lorien.usersys.redhat.com
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 02f323b85b6d..c6d57c334d51 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -5479,6 +5479,13 @@ enqueue_task_fair(struct rq *rq, struct task_struct *p, int flags)
/* end evaluation on encountering a throttled cfs_rq */
if (cfs_rq_throttled(cfs_rq))
goto enqueue_throttle;
+
+ /*
+ * One parent has been throttled and cfs_rq removed from the
+ * list. Add it back to not break the leaf list.
+ */
+ if (throttled_hierarchy(cfs_rq))
+ list_add_leaf_cfs_rq(cfs_rq);
}
enqueue_throttle:
The patch below does not apply to the 5.6-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From dfeb376dd4cb2c5004aeb625e2475f58a5ff2ea7 Mon Sep 17 00:00:00 2001
From: Andrii Nakryiko <andriin(a)fb.com>
Date: Mon, 18 May 2020 22:38:24 -0700
Subject: [PATCH] bpf: Prevent mmap()'ing read-only maps as writable
As discussed in [0], it's dangerous to allow mapping BPF map, that's meant to
be frozen and is read-only on BPF program side, because that allows user-space
to actually store a writable view to the page even after it is frozen. This is
exacerbated by BPF verifier making a strong assumption that contents of such
frozen map will remain unchanged. To prevent this, disallow mapping
BPF_F_RDONLY_PROG mmap()'able BPF maps as writable, ever.
[0] https://lore.kernel.org/bpf/CAEf4BzYGWYhXdp6BJ7_=9OQPJxQpgug080MMjdSB72i9R+…
Fixes: fc9702273e2e ("bpf: Add mmap() support for BPF_MAP_TYPE_ARRAY")
Suggested-by: Jann Horn <jannh(a)google.com>
Signed-off-by: Andrii Nakryiko <andriin(a)fb.com>
Signed-off-by: Alexei Starovoitov <ast(a)kernel.org>
Reviewed-by: Jann Horn <jannh(a)google.com>
Link: https://lore.kernel.org/bpf/20200519053824.1089415-1-andriin@fb.com
diff --git a/kernel/bpf/syscall.c b/kernel/bpf/syscall.c
index 2843bbba9ca1..4e6dee19a668 100644
--- a/kernel/bpf/syscall.c
+++ b/kernel/bpf/syscall.c
@@ -623,9 +623,20 @@ static int bpf_map_mmap(struct file *filp, struct vm_area_struct *vma)
mutex_lock(&map->freeze_mutex);
- if ((vma->vm_flags & VM_WRITE) && map->frozen) {
- err = -EPERM;
- goto out;
+ if (vma->vm_flags & VM_WRITE) {
+ if (map->frozen) {
+ err = -EPERM;
+ goto out;
+ }
+ /* map is meant to be read-only, so do not allow mapping as
+ * writable, because it's possible to leak a writable page
+ * reference and allows user-space to still modify it after
+ * freezing, while verifier will assume contents do not change
+ */
+ if (map->map_flags & BPF_F_RDONLY_PROG) {
+ err = -EACCES;
+ goto out;
+ }
}
/* set default open/close callbacks */
diff --git a/tools/testing/selftests/bpf/prog_tests/mmap.c b/tools/testing/selftests/bpf/prog_tests/mmap.c
index 6b9dce431d41..43d0b5578f46 100644
--- a/tools/testing/selftests/bpf/prog_tests/mmap.c
+++ b/tools/testing/selftests/bpf/prog_tests/mmap.c
@@ -19,7 +19,7 @@ void test_mmap(void)
const size_t map_sz = roundup_page(sizeof(struct map_data));
const int zero = 0, one = 1, two = 2, far = 1500;
const long page_size = sysconf(_SC_PAGE_SIZE);
- int err, duration = 0, i, data_map_fd, data_map_id, tmp_fd;
+ int err, duration = 0, i, data_map_fd, data_map_id, tmp_fd, rdmap_fd;
struct bpf_map *data_map, *bss_map;
void *bss_mmaped = NULL, *map_mmaped = NULL, *tmp1, *tmp2;
struct test_mmap__bss *bss_data;
@@ -37,6 +37,17 @@ void test_mmap(void)
data_map = skel->maps.data_map;
data_map_fd = bpf_map__fd(data_map);
+ rdmap_fd = bpf_map__fd(skel->maps.rdonly_map);
+ tmp1 = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, rdmap_fd, 0);
+ if (CHECK(tmp1 != MAP_FAILED, "rdonly_write_mmap", "unexpected success\n")) {
+ munmap(tmp1, 4096);
+ goto cleanup;
+ }
+ /* now double-check if it's mmap()'able at all */
+ tmp1 = mmap(NULL, 4096, PROT_READ, MAP_SHARED, rdmap_fd, 0);
+ if (CHECK(tmp1 == MAP_FAILED, "rdonly_read_mmap", "failed: %d\n", errno))
+ goto cleanup;
+
/* get map's ID */
memset(&map_info, 0, map_info_sz);
err = bpf_obj_get_info_by_fd(data_map_fd, &map_info, &map_info_sz);
diff --git a/tools/testing/selftests/bpf/progs/test_mmap.c b/tools/testing/selftests/bpf/progs/test_mmap.c
index 6239596cd14e..4eb42cff5fe9 100644
--- a/tools/testing/selftests/bpf/progs/test_mmap.c
+++ b/tools/testing/selftests/bpf/progs/test_mmap.c
@@ -7,6 +7,14 @@
char _license[] SEC("license") = "GPL";
+struct {
+ __uint(type, BPF_MAP_TYPE_ARRAY);
+ __uint(max_entries, 4096);
+ __uint(map_flags, BPF_F_MMAPABLE | BPF_F_RDONLY_PROG);
+ __type(key, __u32);
+ __type(value, char);
+} rdonly_map SEC(".maps");
+
struct {
__uint(type, BPF_MAP_TYPE_ARRAY);
__uint(max_entries, 512 * 4); /* at least 4 pages of data */
The patch below does not apply to the 4.9-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 928edefbc18cd8433f7df235c6e09a9306e7d580 Mon Sep 17 00:00:00 2001
From: Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
Date: Wed, 6 May 2020 05:52:06 +0200
Subject: [PATCH] iio: sca3000: Remove an erroneous 'get_device()'
This looks really unusual to have a 'get_device()' hidden in a 'dev_err()'
call.
Remove it.
While at it add a missing \n at the end of the message.
Fixes: 574fb258d636 ("Staging: IIO: VTI sca3000 series accelerometer driver (spi)")
Signed-off-by: Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
Cc: <Stable(a)vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
diff --git a/drivers/iio/accel/sca3000.c b/drivers/iio/accel/sca3000.c
index 66d768d971e1..6e429072e44a 100644
--- a/drivers/iio/accel/sca3000.c
+++ b/drivers/iio/accel/sca3000.c
@@ -980,7 +980,7 @@ static int sca3000_read_data(struct sca3000_state *st,
st->tx[0] = SCA3000_READ_REG(reg_address_high);
ret = spi_sync_transfer(st->us, xfer, ARRAY_SIZE(xfer));
if (ret) {
- dev_err(get_device(&st->us->dev), "problem reading register");
+ dev_err(&st->us->dev, "problem reading register\n");
return ret;
}
The patch below does not apply to the 5.6-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 39f23ce07b9355d05a64ae303ce20d1c4b92b957 Mon Sep 17 00:00:00 2001
From: Vincent Guittot <vincent.guittot(a)linaro.org>
Date: Wed, 13 May 2020 15:55:28 +0200
Subject: [PATCH] sched/fair: Fix unthrottle_cfs_rq() for leaf_cfs_rq list
Although not exactly identical, unthrottle_cfs_rq() and enqueue_task_fair()
are quite close and follow the same sequence for enqueuing an entity in the
cfs hierarchy. Modify unthrottle_cfs_rq() to use the same pattern as
enqueue_task_fair(). This fixes a problem already faced with the latter and
add an optimization in the last for_each_sched_entity loop.
Fixes: fe61468b2cb (sched/fair: Fix enqueue_task_fair warning)
Reported-by Tao Zhou <zohooouoto(a)zoho.com.cn>
Signed-off-by: Vincent Guittot <vincent.guittot(a)linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz(a)infradead.org>
Reviewed-by: Phil Auld <pauld(a)redhat.com>
Reviewed-by: Ben Segall <bsegall(a)google.com>
Link: https://lkml.kernel.org/r/20200513135528.4742-1-vincent.guittot@linaro.org
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index c6d57c334d51..538ba5d94e99 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -4774,7 +4774,6 @@ void unthrottle_cfs_rq(struct cfs_rq *cfs_rq)
struct rq *rq = rq_of(cfs_rq);
struct cfs_bandwidth *cfs_b = tg_cfs_bandwidth(cfs_rq->tg);
struct sched_entity *se;
- int enqueue = 1;
long task_delta, idle_task_delta;
se = cfs_rq->tg->se[cpu_of(rq)];
@@ -4798,26 +4797,44 @@ void unthrottle_cfs_rq(struct cfs_rq *cfs_rq)
idle_task_delta = cfs_rq->idle_h_nr_running;
for_each_sched_entity(se) {
if (se->on_rq)
- enqueue = 0;
+ break;
+ cfs_rq = cfs_rq_of(se);
+ enqueue_entity(cfs_rq, se, ENQUEUE_WAKEUP);
+ cfs_rq->h_nr_running += task_delta;
+ cfs_rq->idle_h_nr_running += idle_task_delta;
+
+ /* end evaluation on encountering a throttled cfs_rq */
+ if (cfs_rq_throttled(cfs_rq))
+ goto unthrottle_throttle;
+ }
+
+ for_each_sched_entity(se) {
cfs_rq = cfs_rq_of(se);
- if (enqueue) {
- enqueue_entity(cfs_rq, se, ENQUEUE_WAKEUP);
- } else {
- update_load_avg(cfs_rq, se, 0);
- se_update_runnable(se);
- }
+
+ update_load_avg(cfs_rq, se, UPDATE_TG);
+ se_update_runnable(se);
cfs_rq->h_nr_running += task_delta;
cfs_rq->idle_h_nr_running += idle_task_delta;
+
+ /* end evaluation on encountering a throttled cfs_rq */
if (cfs_rq_throttled(cfs_rq))
- break;
+ goto unthrottle_throttle;
+
+ /*
+ * One parent has been throttled and cfs_rq removed from the
+ * list. Add it back to not break the leaf list.
+ */
+ if (throttled_hierarchy(cfs_rq))
+ list_add_leaf_cfs_rq(cfs_rq);
}
- if (!se)
- add_nr_running(rq, task_delta);
+ /* At this point se is NULL and we are at root level*/
+ add_nr_running(rq, task_delta);
+unthrottle_throttle:
/*
* The cfs_rq_throttled() breaks in the above iteration can result in
* incomplete leaf list maintenance, resulting in triggering the
@@ -4826,7 +4843,8 @@ void unthrottle_cfs_rq(struct cfs_rq *cfs_rq)
for_each_sched_entity(se) {
cfs_rq = cfs_rq_of(se);
- list_add_leaf_cfs_rq(cfs_rq);
+ if (list_add_leaf_cfs_rq(cfs_rq))
+ break;
}
assert_list_leaf_cfs_rq(rq);
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-5.6.y/kernel/v5.6.14/p…
-------------------------------------------------------------------------------
stable-rc/linux-5.6.y boot: 122 boots: 1 failed, 112 passed with 6 offline, 3 untried/unknown (v5.6.14)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.6.y/kernel/v5.6.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-5.6.y/kernel/v5.6.14/
Tree: stable-rc
Branch: linux-5.6.y
Git Describe: v5.6.14
Git Commit: e3ac9117b18596b7363d5b7904ab03a7d782b40c
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 79 unique boards, 23 SoC families, 17 builds out of 200
Boot Regressions Detected:
arc:
hsdk_defconfig:
gcc-8:
hsdk:
lab-baylibre: new failure (last pass: v5.6.13-193-g67346f550ad8)
arm64:
defconfig:
gcc-8:
meson-g12a-sei510:
lab-baylibre: failing since 11 days (last pass: v5.6.12 - first fail: v5.6.12-119-gf1d28d1c7608)
riscv:
defconfig:
gcc-8:
hifive-unleashed-a00:
lab-baylibre: new failure (last pass: v5.6.13-193-g67346f550ad8)
Boot Failure Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
Offline Platforms:
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
davinci_all_defconfig:
gcc-8
da850-evm: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.18…
-------------------------------------------------------------------------------
stable-rc/linux-4.14.y boot: 117 boots: 3 failed, 104 passed with 7 offline, 3 untried/unknown (v4.14.181)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.1…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.14.y/kernel/v4.14.181/
Tree: stable-rc
Branch: linux-4.14.y
Git Describe: v4.14.181
Git Commit: a41ba30d9df20fe141c92aacbb56b6b077f19716
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 71 unique boards, 21 SoC families, 18 builds out of 201
Boot Regressions Detected:
arm:
davinci_all_defconfig:
gcc-8:
da850-evm:
lab-baylibre-seattle: new failure (last pass: v4.14.180-115-g53d55a576a17)
dm365evm,legacy:
lab-baylibre-seattle: new failure (last pass: v4.14.180-115-g53d55a576a17)
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 12 days (last pass: v4.14.180 - first fail: v4.14.180-37-gad4fc99d1989)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 95 days (last pass: v4.14.170-141-g00a0113414f7 - first fail: v4.14.171-29-g9cfe30e85240)
versatile_defconfig:
gcc-8:
versatile-pb:
lab-collabora: new failure (last pass: v4.14.180-115-g53d55a576a17)
Boot Failures Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
arm64:
defconfig:
gcc-8:
meson-gxbb-p200: 1 failed lab
meson-gxm-q200: 1 failed lab
Offline Platforms:
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
davinci_all_defconfig:
gcc-8
da850-evm: 1 offline lab
dm365evm,legacy: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
---
For more info write to <info(a)kernelci.org>
Currently the ethtool shows that WOL(Wake On Lan) is enabled
even if the device wakeup ability has been disabled via sysfs:
cat /sys/devices/pci0000:00/0000:00:1f.6/power/wakeup
disabled
ethtool eno1
...
Wake-on: g
Fix this in ethtool to check if the user has explicitly disabled the
wake up ability for this device.
Fixes: 6ff68026f475 ("e1000e: Use device_set_wakeup_enable")
Reported-by: Len Brown <len.brown(a)intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko(a)linux.intel.com>
Cc: <Stable(a)vger.kernel.org>
Signed-off-by: Chen Yu <yu.c.chen(a)intel.com>
---
drivers/net/ethernet/intel/e1000e/ethtool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/intel/e1000e/ethtool.c b/drivers/net/ethernet/intel/e1000e/ethtool.c
index 1d47e2503072..0cccd823ff24 100644
--- a/drivers/net/ethernet/intel/e1000e/ethtool.c
+++ b/drivers/net/ethernet/intel/e1000e/ethtool.c
@@ -1891,7 +1891,7 @@ static void e1000_get_wol(struct net_device *netdev,
wol->wolopts = 0;
if (!(adapter->flags & FLAG_HAS_WOL) ||
- !device_can_wakeup(&adapter->pdev->dev))
+ !device_may_wakeup(&adapter->pdev->dev))
return;
wol->supported = WAKE_UCAST | WAKE_MCAST |
--
2.17.1
The patch below does not apply to the 5.4-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From b34cb07dde7c2346dec73d053ce926aeaa087303 Mon Sep 17 00:00:00 2001
From: Phil Auld <pauld(a)redhat.com>
Date: Tue, 12 May 2020 09:52:22 -0400
Subject: [PATCH] sched/fair: Fix enqueue_task_fair() warning some more
sched/fair: Fix enqueue_task_fair warning some more
The recent patch, fe61468b2cb (sched/fair: Fix enqueue_task_fair warning)
did not fully resolve the issues with the rq->tmp_alone_branch !=
&rq->leaf_cfs_rq_list warning in enqueue_task_fair. There is a case where
the first for_each_sched_entity loop exits due to on_rq, having incompletely
updated the list. In this case the second for_each_sched_entity loop can
further modify se. The later code to fix up the list management fails to do
what is needed because se does not point to the sched_entity which broke out
of the first loop. The list is not fixed up because the throttled parent was
already added back to the list by a task enqueue in a parallel child hierarchy.
Address this by calling list_add_leaf_cfs_rq if there are throttled parents
while doing the second for_each_sched_entity loop.
Fixes: fe61468b2cb ("sched/fair: Fix enqueue_task_fair warning")
Suggested-by: Vincent Guittot <vincent.guittot(a)linaro.org>
Signed-off-by: Phil Auld <pauld(a)redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz(a)infradead.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann(a)arm.com>
Reviewed-by: Vincent Guittot <vincent.guittot(a)linaro.org>
Link: https://lkml.kernel.org/r/20200512135222.GC2201@lorien.usersys.redhat.com
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 02f323b85b6d..c6d57c334d51 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -5479,6 +5479,13 @@ enqueue_task_fair(struct rq *rq, struct task_struct *p, int flags)
/* end evaluation on encountering a throttled cfs_rq */
if (cfs_rq_throttled(cfs_rq))
goto enqueue_throttle;
+
+ /*
+ * One parent has been throttled and cfs_rq removed from the
+ * list. Add it back to not break the leaf list.
+ */
+ if (throttled_hierarchy(cfs_rq))
+ list_add_leaf_cfs_rq(cfs_rq);
}
enqueue_throttle:
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-5.4.y/kernel/v5.4.42/p…
-------------------------------------------------------------------------------
stable-rc/linux-5.4.y boot: 148 boots: 1 failed, 137 passed with 7 offline, 3 untried/unknown (v5.4.42)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.4.y/kernel/v5.4.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-5.4.y/kernel/v5.4.42/
Tree: stable-rc
Branch: linux-5.4.y
Git Describe: v5.4.42
Git Commit: 1cdaf895c99d319c0007d0b62818cf85fc4b087f
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 95 unique boards, 27 SoC families, 21 builds out of 200
Boot Regressions Detected:
arc:
hsdk_defconfig:
gcc-8:
hsdk:
lab-baylibre: failing since 6 days (last pass: v5.4.41-2-ged1728340b22 - first fail: v5.4.41-148-gcac6eb2794c8)
arm:
davinci_all_defconfig:
gcc-8:
da850-evm:
lab-baylibre-seattle: new failure (last pass: v5.4.41-148-gcac6eb2794c8)
dm365evm,legacy:
lab-baylibre-seattle: new failure (last pass: v5.4.41-148-gcac6eb2794c8)
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 106 days (last pass: v5.4.17-99-gbd0c6624a110 - first fail: v5.4.17-238-gbffcaa93483d)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 47 days (last pass: v5.4.30-37-g40da5db79b55 - first fail: v5.4.30-39-g23c04177b89f)
versatile_defconfig:
gcc-8:
versatile-pb:
lab-collabora: new failure (last pass: v5.4.41-148-gcac6eb2794c8)
Boot Failure Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
Offline Platforms:
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
davinci_all_defconfig:
gcc-8
da850-evm: 1 offline lab
dm365evm,legacy: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.19.y/kernel/v4.19.12…
-------------------------------------------------------------------------------
stable-rc/linux-4.19.y boot: 129 boots: 1 failed, 117 passed with 7 offline, 4 untried/unknown (v4.19.124)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.19.y/kernel/v4.1…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.19.y/kernel/v4.19.124/
Tree: stable-rc
Branch: linux-4.19.y
Git Describe: v4.19.124
Git Commit: 1bab61d3e8cd96f2badf515dcb06e4e1029bc017
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 79 unique boards, 23 SoC families, 20 builds out of 206
Boot Regressions Detected:
arm:
davinci_all_defconfig:
gcc-8:
da850-evm:
lab-baylibre-seattle: new failure (last pass: v4.19.123-81-gff1170bc0ae9)
dm365evm,legacy:
lab-baylibre-seattle: new failure (last pass: v4.19.123-81-gff1170bc0ae9)
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 12 days (last pass: v4.19.122 - first fail: v4.19.122-48-g92ba0b6b33ad)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 73 days (last pass: v4.19.108-87-g624c124960e8 - first fail: v4.19.109)
sunxi_defconfig:
gcc-8:
sun8i-h2-plus-orangepi-r1:
lab-baylibre: new failure (last pass: v4.19.123-81-gff1170bc0ae9)
versatile_defconfig:
gcc-8:
versatile-pb:
lab-collabora: new failure (last pass: v4.19.123-81-gff1170bc0ae9)
arm64:
defconfig:
gcc-8:
sun50i-a64-pine64-plus:
lab-baylibre: new failure (last pass: v4.19.123-81-gff1170bc0ae9)
Boot Failure Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
Offline Platforms:
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
davinci_all_defconfig:
gcc-8
da850-evm: 1 offline lab
dm365evm,legacy: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
---
For more info write to <info(a)kernelci.org>
The patch below does not apply to the 4.19-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 70b690547d5ea1a3d135a4cc39cd1e08246d0c3a Mon Sep 17 00:00:00 2001
From: Philipp Rudo <prudo(a)linux.ibm.com>
Date: Tue, 12 May 2020 19:39:56 +0200
Subject: [PATCH] s390/kexec_file: fix initrd location for kdump kernel
initrd_start must not point at the location the initrd is loaded into
the crashkernel memory but at the location it will be after the
crashkernel memory is swapped with the memory at 0.
Fixes: ee337f5469fd ("s390/kexec_file: Add crash support to image loader")
Reported-by: Lianbo Jiang <lijiang(a)redhat.com>
Signed-off-by: Philipp Rudo <prudo(a)linux.ibm.com>
Tested-by: Lianbo Jiang <lijiang(a)redhat.com>
Link: https://lore.kernel.org/r/20200512193956.15ae3f23@laptop2-ibm.local
Signed-off-by: Christian Borntraeger <borntraeger(a)de.ibm.com>
Signed-off-by: Vasily Gorbik <gor(a)linux.ibm.com>
diff --git a/arch/s390/kernel/machine_kexec_file.c b/arch/s390/kernel/machine_kexec_file.c
index 8415ae7d2a23..f9e4baa64b67 100644
--- a/arch/s390/kernel/machine_kexec_file.c
+++ b/arch/s390/kernel/machine_kexec_file.c
@@ -151,7 +151,7 @@ static int kexec_file_add_initrd(struct kimage *image,
buf.mem += crashk_res.start;
buf.memsz = buf.bufsz;
- data->parm->initrd_start = buf.mem;
+ data->parm->initrd_start = data->memsz;
data->parm->initrd_size = buf.memsz;
data->memsz += buf.memsz;
The patch below does not apply to the 5.4-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From b4f1874c62168159fdb419ced4afc77c1b51c475 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Yhuel?= <loic.yhuel(a)gmail.com>
Date: Tue, 12 May 2020 06:01:13 +0200
Subject: [PATCH] tpm: check event log version before reading final events
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This fixes the boot issues since 5.3 on several Dell models when the TPM
is enabled. Depending on the exact grub binary, booting the kernel would
freeze early, or just report an error parsing the final events log.
We get an event log in the SHA-1 format, which doesn't have a
tcg_efi_specid_event_head in the first event, and there is a final events
table which doesn't match the crypto agile format.
__calc_tpm2_event_size reads bad "count" and "efispecid->num_algs", and
either fails, or loops long enough for the machine to be appear frozen.
So we now only parse the final events table, which is per the spec always
supposed to be in the crypto agile format, when we got a event log in this
format.
Fixes: c46f3405692de ("tpm: Reserve the TPM final events table")
Fixes: 166a2809d65b2 ("tpm: Don't duplicate events from the final event log in the TCG2 log")
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1779611
Signed-off-by: Loïc Yhuel <loic.yhuel(a)gmail.com>
Link: https://lore.kernel.org/r/20200512040113.277768-1-loic.yhuel@gmail.com
Reviewed-by: Javier Martinez Canillas <javierm(a)redhat.com>
Reviewed-by: Jerry Snitselaar <jsnitsel(a)redhat.com>
Reviewed-by: Matthew Garrett <mjg59(a)google.com>
[ardb: warn when final events table is missing or in the wrong format]
Signed-off-by: Ard Biesheuvel <ardb(a)kernel.org>
diff --git a/drivers/firmware/efi/libstub/tpm.c b/drivers/firmware/efi/libstub/tpm.c
index 1d59e103a2e3..e9a684637b70 100644
--- a/drivers/firmware/efi/libstub/tpm.c
+++ b/drivers/firmware/efi/libstub/tpm.c
@@ -54,7 +54,7 @@ void efi_retrieve_tpm2_eventlog(void)
efi_status_t status;
efi_physical_addr_t log_location = 0, log_last_entry = 0;
struct linux_efi_tpm_eventlog *log_tbl = NULL;
- struct efi_tcg2_final_events_table *final_events_table;
+ struct efi_tcg2_final_events_table *final_events_table = NULL;
unsigned long first_entry_addr, last_entry_addr;
size_t log_size, last_entry_size;
efi_bool_t truncated;
@@ -127,7 +127,8 @@ void efi_retrieve_tpm2_eventlog(void)
* Figure out whether any events have already been logged to the
* final events structure, and if so how much space they take up
*/
- final_events_table = get_efi_config_table(LINUX_EFI_TPM_FINAL_LOG_GUID);
+ if (version == EFI_TCG2_EVENT_LOG_FORMAT_TCG_2)
+ final_events_table = get_efi_config_table(LINUX_EFI_TPM_FINAL_LOG_GUID);
if (final_events_table && final_events_table->nr_events) {
struct tcg_pcr_event2_head *header;
int offset;
diff --git a/drivers/firmware/efi/tpm.c b/drivers/firmware/efi/tpm.c
index 31f9f0e369b9..0543fbf60222 100644
--- a/drivers/firmware/efi/tpm.c
+++ b/drivers/firmware/efi/tpm.c
@@ -62,8 +62,11 @@ int __init efi_tpm_eventlog_init(void)
tbl_size = sizeof(*log_tbl) + log_tbl->size;
memblock_reserve(efi.tpm_log, tbl_size);
- if (efi.tpm_final_log == EFI_INVALID_TABLE_ADDR)
+ if (efi.tpm_final_log == EFI_INVALID_TABLE_ADDR ||
+ log_tbl->version != EFI_TCG2_EVENT_LOG_FORMAT_TCG_2) {
+ pr_warn(FW_BUG "TPM Final Events table missing or invalid\n");
goto out;
+ }
final_tbl = early_memremap(efi.tpm_final_log, sizeof(*final_tbl));
The patch below does not apply to the 4.19-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 441fdee1eaf050ef0040bde0d7af075c1c6a6d8b Mon Sep 17 00:00:00 2001
From: David Howells <dhowells(a)redhat.com>
Date: Wed, 29 Apr 2020 23:48:43 +0100
Subject: [PATCH] rxrpc: Fix ack discard
The Rx protocol has a "previousPacket" field in it that is not handled in
the same way by all protocol implementations. Sometimes it contains the
serial number of the last DATA packet received, sometimes the sequence
number of the last DATA packet received and sometimes the highest sequence
number so far received.
AF_RXRPC is using this to weed out ACKs that are out of date (it's possible
for ACK packets to get reordered on the wire), but this does not work with
OpenAFS which will just stick the sequence number of the last packet seen
into previousPacket.
The issue being seen is that big AFS FS.StoreData RPC (eg. of ~256MiB) are
timing out when partly sent. A trace was captured, with an additional
tracepoint to show ACKs being discarded in rxrpc_input_ack(). Here's an
excerpt showing the problem.
52873.203230: rxrpc_tx_data: c=000004ae DATA ed1a3584:00000002 0002449c q=00024499 fl=09
A DATA packet with sequence number 00024499 has been transmitted (the "q="
field).
...
52873.243296: rxrpc_rx_ack: c=000004ae 00012a2b DLY r=00024499 f=00024497 p=00024496 n=0
52873.243376: rxrpc_rx_ack: c=000004ae 00012a2c IDL r=0002449b f=00024499 p=00024498 n=0
52873.243383: rxrpc_rx_ack: c=000004ae 00012a2d OOS r=0002449d f=00024499 p=0002449a n=2
The Out-Of-Sequence ACK indicates that the server didn't see DATA sequence
number 00024499, but did see seq 0002449a (previousPacket, shown as "p=",
skipped the number, but firstPacket, "f=", which shows the bottom of the
window is set at that point).
52873.252663: rxrpc_retransmit: c=000004ae q=24499 a=02 xp=14581537
52873.252664: rxrpc_tx_data: c=000004ae DATA ed1a3584:00000002 000244bc q=00024499 fl=0b *RETRANS*
The packet has been retransmitted. Retransmission recurs until the peer
says it got the packet.
52873.271013: rxrpc_rx_ack: c=000004ae 00012a31 OOS r=000244a1 f=00024499 p=0002449e n=6
More OOS ACKs indicate that the other packets that are already in the
transmission pipeline are being received. The specific-ACK list is up to 6
ACKs and NAKs.
...
52873.284792: rxrpc_rx_ack: c=000004ae 00012a49 OOS r=000244b9 f=00024499 p=000244b6 n=30
52873.284802: rxrpc_retransmit: c=000004ae q=24499 a=0a xp=63505500
52873.284804: rxrpc_tx_data: c=000004ae DATA ed1a3584:00000002 000244c2 q=00024499 fl=0b *RETRANS*
52873.287468: rxrpc_rx_ack: c=000004ae 00012a4a OOS r=000244ba f=00024499 p=000244b7 n=31
52873.287478: rxrpc_rx_ack: c=000004ae 00012a4b OOS r=000244bb f=00024499 p=000244b8 n=32
At this point, the server's receive window is full (n=32) with presumably 1
NAK'd packet and 31 ACK'd packets. We can't transmit any more packets.
52873.287488: rxrpc_retransmit: c=000004ae q=24499 a=0a xp=61327980
52873.287489: rxrpc_tx_data: c=000004ae DATA ed1a3584:00000002 000244c3 q=00024499 fl=0b *RETRANS*
52873.293850: rxrpc_rx_ack: c=000004ae 00012a4c DLY r=000244bc f=000244a0 p=00024499 n=25
And now we've received an ACK indicating that a DATA retransmission was
received. 7 packets have been processed (the occupied part of the window
moved, as indicated by f= and n=).
52873.293853: rxrpc_rx_discard_ack: c=000004ae r=00012a4c 000244a0<00024499 00024499<000244b8
However, the DLY ACK gets discarded because its previousPacket has gone
backwards (from p=000244b8, in the ACK at 52873.287478 to p=00024499 in the
ACK at 52873.293850).
We then end up in a continuous cycle of retransmit/discard. kafs fails to
update its window because it's discarding the ACKs and can't transmit an
extra packet that would clear the issue because the window is full.
OpenAFS doesn't change the previousPacket value in the ACKs because no new
DATA packets are received with a different previousPacket number.
Fix this by altering the discard check to only discard an ACK based on
previousPacket if there was no advance in the firstPacket. This allows us
to transmit a new packet which will cause previousPacket to advance in the
next ACK.
The check, however, needs to allow for the possibility that previousPacket
may actually have had the serial number placed in it instead - in which
case it will go outside the window and we should ignore it.
Fixes: 1a2391c30c0b ("rxrpc: Fix detection of out of order acks")
Reported-by: Dave Botsch <botsch(a)cnf.cornell.edu>
Signed-off-by: David Howells <dhowells(a)redhat.com>
diff --git a/net/rxrpc/input.c b/net/rxrpc/input.c
index 2f22f082a66c..3be4177baf70 100644
--- a/net/rxrpc/input.c
+++ b/net/rxrpc/input.c
@@ -802,6 +802,30 @@ static void rxrpc_input_soft_acks(struct rxrpc_call *call, u8 *acks,
}
}
+/*
+ * Return true if the ACK is valid - ie. it doesn't appear to have regressed
+ * with respect to the ack state conveyed by preceding ACKs.
+ */
+static bool rxrpc_is_ack_valid(struct rxrpc_call *call,
+ rxrpc_seq_t first_pkt, rxrpc_seq_t prev_pkt)
+{
+ rxrpc_seq_t base = READ_ONCE(call->ackr_first_seq);
+
+ if (after(first_pkt, base))
+ return true; /* The window advanced */
+
+ if (before(first_pkt, base))
+ return false; /* firstPacket regressed */
+
+ if (after_eq(prev_pkt, call->ackr_prev_seq))
+ return true; /* previousPacket hasn't regressed. */
+
+ /* Some rx implementations put a serial number in previousPacket. */
+ if (after_eq(prev_pkt, base + call->tx_winsize))
+ return false;
+ return true;
+}
+
/*
* Process an ACK packet.
*
@@ -865,8 +889,7 @@ static void rxrpc_input_ack(struct rxrpc_call *call, struct sk_buff *skb)
}
/* Discard any out-of-order or duplicate ACKs (outside lock). */
- if (before(first_soft_ack, call->ackr_first_seq) ||
- before(prev_pkt, call->ackr_prev_seq)) {
+ if (!rxrpc_is_ack_valid(call, first_soft_ack, prev_pkt)) {
trace_rxrpc_rx_discard_ack(call->debug_id, sp->hdr.serial,
first_soft_ack, call->ackr_first_seq,
prev_pkt, call->ackr_prev_seq);
@@ -882,8 +905,7 @@ static void rxrpc_input_ack(struct rxrpc_call *call, struct sk_buff *skb)
spin_lock(&call->input_lock);
/* Discard any out-of-order or duplicate ACKs (inside lock). */
- if (before(first_soft_ack, call->ackr_first_seq) ||
- before(prev_pkt, call->ackr_prev_seq)) {
+ if (!rxrpc_is_ack_valid(call, first_soft_ack, prev_pkt)) {
trace_rxrpc_rx_discard_ack(call->debug_id, sp->hdr.serial,
first_soft_ack, call->ackr_first_seq,
prev_pkt, call->ackr_prev_seq);
The patch below does not apply to the 5.4-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 441fdee1eaf050ef0040bde0d7af075c1c6a6d8b Mon Sep 17 00:00:00 2001
From: David Howells <dhowells(a)redhat.com>
Date: Wed, 29 Apr 2020 23:48:43 +0100
Subject: [PATCH] rxrpc: Fix ack discard
The Rx protocol has a "previousPacket" field in it that is not handled in
the same way by all protocol implementations. Sometimes it contains the
serial number of the last DATA packet received, sometimes the sequence
number of the last DATA packet received and sometimes the highest sequence
number so far received.
AF_RXRPC is using this to weed out ACKs that are out of date (it's possible
for ACK packets to get reordered on the wire), but this does not work with
OpenAFS which will just stick the sequence number of the last packet seen
into previousPacket.
The issue being seen is that big AFS FS.StoreData RPC (eg. of ~256MiB) are
timing out when partly sent. A trace was captured, with an additional
tracepoint to show ACKs being discarded in rxrpc_input_ack(). Here's an
excerpt showing the problem.
52873.203230: rxrpc_tx_data: c=000004ae DATA ed1a3584:00000002 0002449c q=00024499 fl=09
A DATA packet with sequence number 00024499 has been transmitted (the "q="
field).
...
52873.243296: rxrpc_rx_ack: c=000004ae 00012a2b DLY r=00024499 f=00024497 p=00024496 n=0
52873.243376: rxrpc_rx_ack: c=000004ae 00012a2c IDL r=0002449b f=00024499 p=00024498 n=0
52873.243383: rxrpc_rx_ack: c=000004ae 00012a2d OOS r=0002449d f=00024499 p=0002449a n=2
The Out-Of-Sequence ACK indicates that the server didn't see DATA sequence
number 00024499, but did see seq 0002449a (previousPacket, shown as "p=",
skipped the number, but firstPacket, "f=", which shows the bottom of the
window is set at that point).
52873.252663: rxrpc_retransmit: c=000004ae q=24499 a=02 xp=14581537
52873.252664: rxrpc_tx_data: c=000004ae DATA ed1a3584:00000002 000244bc q=00024499 fl=0b *RETRANS*
The packet has been retransmitted. Retransmission recurs until the peer
says it got the packet.
52873.271013: rxrpc_rx_ack: c=000004ae 00012a31 OOS r=000244a1 f=00024499 p=0002449e n=6
More OOS ACKs indicate that the other packets that are already in the
transmission pipeline are being received. The specific-ACK list is up to 6
ACKs and NAKs.
...
52873.284792: rxrpc_rx_ack: c=000004ae 00012a49 OOS r=000244b9 f=00024499 p=000244b6 n=30
52873.284802: rxrpc_retransmit: c=000004ae q=24499 a=0a xp=63505500
52873.284804: rxrpc_tx_data: c=000004ae DATA ed1a3584:00000002 000244c2 q=00024499 fl=0b *RETRANS*
52873.287468: rxrpc_rx_ack: c=000004ae 00012a4a OOS r=000244ba f=00024499 p=000244b7 n=31
52873.287478: rxrpc_rx_ack: c=000004ae 00012a4b OOS r=000244bb f=00024499 p=000244b8 n=32
At this point, the server's receive window is full (n=32) with presumably 1
NAK'd packet and 31 ACK'd packets. We can't transmit any more packets.
52873.287488: rxrpc_retransmit: c=000004ae q=24499 a=0a xp=61327980
52873.287489: rxrpc_tx_data: c=000004ae DATA ed1a3584:00000002 000244c3 q=00024499 fl=0b *RETRANS*
52873.293850: rxrpc_rx_ack: c=000004ae 00012a4c DLY r=000244bc f=000244a0 p=00024499 n=25
And now we've received an ACK indicating that a DATA retransmission was
received. 7 packets have been processed (the occupied part of the window
moved, as indicated by f= and n=).
52873.293853: rxrpc_rx_discard_ack: c=000004ae r=00012a4c 000244a0<00024499 00024499<000244b8
However, the DLY ACK gets discarded because its previousPacket has gone
backwards (from p=000244b8, in the ACK at 52873.287478 to p=00024499 in the
ACK at 52873.293850).
We then end up in a continuous cycle of retransmit/discard. kafs fails to
update its window because it's discarding the ACKs and can't transmit an
extra packet that would clear the issue because the window is full.
OpenAFS doesn't change the previousPacket value in the ACKs because no new
DATA packets are received with a different previousPacket number.
Fix this by altering the discard check to only discard an ACK based on
previousPacket if there was no advance in the firstPacket. This allows us
to transmit a new packet which will cause previousPacket to advance in the
next ACK.
The check, however, needs to allow for the possibility that previousPacket
may actually have had the serial number placed in it instead - in which
case it will go outside the window and we should ignore it.
Fixes: 1a2391c30c0b ("rxrpc: Fix detection of out of order acks")
Reported-by: Dave Botsch <botsch(a)cnf.cornell.edu>
Signed-off-by: David Howells <dhowells(a)redhat.com>
diff --git a/net/rxrpc/input.c b/net/rxrpc/input.c
index 2f22f082a66c..3be4177baf70 100644
--- a/net/rxrpc/input.c
+++ b/net/rxrpc/input.c
@@ -802,6 +802,30 @@ static void rxrpc_input_soft_acks(struct rxrpc_call *call, u8 *acks,
}
}
+/*
+ * Return true if the ACK is valid - ie. it doesn't appear to have regressed
+ * with respect to the ack state conveyed by preceding ACKs.
+ */
+static bool rxrpc_is_ack_valid(struct rxrpc_call *call,
+ rxrpc_seq_t first_pkt, rxrpc_seq_t prev_pkt)
+{
+ rxrpc_seq_t base = READ_ONCE(call->ackr_first_seq);
+
+ if (after(first_pkt, base))
+ return true; /* The window advanced */
+
+ if (before(first_pkt, base))
+ return false; /* firstPacket regressed */
+
+ if (after_eq(prev_pkt, call->ackr_prev_seq))
+ return true; /* previousPacket hasn't regressed. */
+
+ /* Some rx implementations put a serial number in previousPacket. */
+ if (after_eq(prev_pkt, base + call->tx_winsize))
+ return false;
+ return true;
+}
+
/*
* Process an ACK packet.
*
@@ -865,8 +889,7 @@ static void rxrpc_input_ack(struct rxrpc_call *call, struct sk_buff *skb)
}
/* Discard any out-of-order or duplicate ACKs (outside lock). */
- if (before(first_soft_ack, call->ackr_first_seq) ||
- before(prev_pkt, call->ackr_prev_seq)) {
+ if (!rxrpc_is_ack_valid(call, first_soft_ack, prev_pkt)) {
trace_rxrpc_rx_discard_ack(call->debug_id, sp->hdr.serial,
first_soft_ack, call->ackr_first_seq,
prev_pkt, call->ackr_prev_seq);
@@ -882,8 +905,7 @@ static void rxrpc_input_ack(struct rxrpc_call *call, struct sk_buff *skb)
spin_lock(&call->input_lock);
/* Discard any out-of-order or duplicate ACKs (inside lock). */
- if (before(first_soft_ack, call->ackr_first_seq) ||
- before(prev_pkt, call->ackr_prev_seq)) {
+ if (!rxrpc_is_ack_valid(call, first_soft_ack, prev_pkt)) {
trace_rxrpc_rx_discard_ack(call->debug_id, sp->hdr.serial,
first_soft_ack, call->ackr_first_seq,
prev_pkt, call->ackr_prev_seq);
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.224/…
-------------------------------------------------------------------------------
stable-rc/linux-4.4.y boot: 82 boots: 3 failed, 73 passed with 4 offline, 2 untried/unknown (v4.4.224)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.4.y/kernel/v4.4.224/
Tree: stable-rc
Branch: linux-4.4.y
Git Describe: v4.4.224
Git Commit: d72237c1e00f85e5df1c040280d50561c8a28329
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 47 unique boards, 18 SoC families, 17 builds out of 190
Boot Regressions Detected:
arm:
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 11 days (last pass: v4.4.223 - first fail: v4.4.223-36-g32f5ec9b096d)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 60 days (last pass: v4.4.216-127-g955137020949 - first fail: v4.4.217)
Boot Failures Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
imx_v4_v5_defconfig:
gcc-8:
imx27-phytec-phycard-s-rdk: 1 failed lab
multi_v5_defconfig:
gcc-8:
imx27-phytec-phycard-s-rdk: 1 failed lab
Offline Platforms:
arm:
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
---
For more info write to <info(a)kernelci.org>
The patch below does not apply to the 5.6-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From f92f26f2ed2c9f92c9270c705bca96310c3cdf5a Mon Sep 17 00:00:00 2001
From: Luca Coelho <luciano.coelho(a)intel.com>
Date: Fri, 24 Apr 2020 12:20:08 +0300
Subject: [PATCH] iwlwifi: pcie: handle QuZ configs with killer NICs as well
The killer devices were left out of the checks that convert Qu-B0 to
QuZ configurations. Add them.
Cc: stable(a)vger.kernel.org # v5.3+
Fixes: 5a8c31aa6357 ("iwlwifi: pcie: fix recognition of QuZ devices")
Signed-off-by: Luca Coelho <luciano.coelho(a)intel.com>
Tested-by: You-Sheng Yang <vicamo(a)gmail.com>
Signed-off-by: Kalle Valo <kvalo(a)codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20200424121518.b715acfbe211.I273a098064a2…
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
index 6744c0281ffb..29971c25dba4 100644
--- a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
@@ -1092,6 +1092,10 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
iwl_trans->cfg = &iwl_ax101_cfg_quz_hr;
else if (iwl_trans->cfg == &iwl_ax201_cfg_qu_hr)
iwl_trans->cfg = &iwl_ax201_cfg_quz_hr;
+ else if (iwl_trans->cfg == &killer1650s_2ax_cfg_qu_b0_hr_b0)
+ iwl_trans->cfg = &iwl_ax1650s_cfg_quz_hr;
+ else if (iwl_trans->cfg == &killer1650i_2ax_cfg_qu_b0_hr_b0)
+ iwl_trans->cfg = &iwl_ax1650i_cfg_quz_hr;
}
#endif
The patch below does not apply to the 5.4-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From f92f26f2ed2c9f92c9270c705bca96310c3cdf5a Mon Sep 17 00:00:00 2001
From: Luca Coelho <luciano.coelho(a)intel.com>
Date: Fri, 24 Apr 2020 12:20:08 +0300
Subject: [PATCH] iwlwifi: pcie: handle QuZ configs with killer NICs as well
The killer devices were left out of the checks that convert Qu-B0 to
QuZ configurations. Add them.
Cc: stable(a)vger.kernel.org # v5.3+
Fixes: 5a8c31aa6357 ("iwlwifi: pcie: fix recognition of QuZ devices")
Signed-off-by: Luca Coelho <luciano.coelho(a)intel.com>
Tested-by: You-Sheng Yang <vicamo(a)gmail.com>
Signed-off-by: Kalle Valo <kvalo(a)codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20200424121518.b715acfbe211.I273a098064a2…
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
index 6744c0281ffb..29971c25dba4 100644
--- a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
@@ -1092,6 +1092,10 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
iwl_trans->cfg = &iwl_ax101_cfg_quz_hr;
else if (iwl_trans->cfg == &iwl_ax201_cfg_qu_hr)
iwl_trans->cfg = &iwl_ax201_cfg_quz_hr;
+ else if (iwl_trans->cfg == &killer1650s_2ax_cfg_qu_b0_hr_b0)
+ iwl_trans->cfg = &iwl_ax1650s_cfg_quz_hr;
+ else if (iwl_trans->cfg == &killer1650i_2ax_cfg_qu_b0_hr_b0)
+ iwl_trans->cfg = &iwl_ax1650i_cfg_quz_hr;
}
#endif
The patch below does not apply to the 4.4-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 928edefbc18cd8433f7df235c6e09a9306e7d580 Mon Sep 17 00:00:00 2001
From: Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
Date: Wed, 6 May 2020 05:52:06 +0200
Subject: [PATCH] iio: sca3000: Remove an erroneous 'get_device()'
This looks really unusual to have a 'get_device()' hidden in a 'dev_err()'
call.
Remove it.
While at it add a missing \n at the end of the message.
Fixes: 574fb258d636 ("Staging: IIO: VTI sca3000 series accelerometer driver (spi)")
Signed-off-by: Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
Cc: <Stable(a)vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
diff --git a/drivers/iio/accel/sca3000.c b/drivers/iio/accel/sca3000.c
index 66d768d971e1..6e429072e44a 100644
--- a/drivers/iio/accel/sca3000.c
+++ b/drivers/iio/accel/sca3000.c
@@ -980,7 +980,7 @@ static int sca3000_read_data(struct sca3000_state *st,
st->tx[0] = SCA3000_READ_REG(reg_address_high);
ret = spi_sync_transfer(st->us, xfer, ARRAY_SIZE(xfer));
if (ret) {
- dev_err(get_device(&st->us->dev), "problem reading register");
+ dev_err(&st->us->dev, "problem reading register\n");
return ret;
}
The patch below does not apply to the 4.19-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 52cd91c27f3908b88e8b25aed4a4d20660abcc45 Mon Sep 17 00:00:00 2001
From: Fabrice Gasnier <fabrice.gasnier(a)st.com>
Date: Thu, 30 Apr 2020 11:28:45 +0200
Subject: [PATCH] iio: adc: stm32-adc: fix device used to request dma
DMA channel request should use device struct from platform device struct.
Currently it's using iio device struct. But at this stage when probing,
device struct isn't yet registered (e.g. device_register is done in
iio_device_register). Since commit 71723a96b8b1 ("dmaengine: Create
symlinks between DMA channels and slaves"), a warning message is printed
as the links in sysfs can't be created, due to device isn't yet registered:
- Cannot create DMA slave symlink
- Cannot create DMA dma:rx symlink
Fix this by using device struct from platform device to request dma chan.
Fixes: 2763ea0585c99 ("iio: adc: stm32: add optional dma support")
Signed-off-by: Fabrice Gasnier <fabrice.gasnier(a)st.com>
Cc: <Stable(a)vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
diff --git a/drivers/iio/adc/stm32-adc.c b/drivers/iio/adc/stm32-adc.c
index ae622ee6d08c..dfc3a306c667 100644
--- a/drivers/iio/adc/stm32-adc.c
+++ b/drivers/iio/adc/stm32-adc.c
@@ -1812,18 +1812,18 @@ static int stm32_adc_chan_of_init(struct iio_dev *indio_dev)
return 0;
}
-static int stm32_adc_dma_request(struct iio_dev *indio_dev)
+static int stm32_adc_dma_request(struct device *dev, struct iio_dev *indio_dev)
{
struct stm32_adc *adc = iio_priv(indio_dev);
struct dma_slave_config config;
int ret;
- adc->dma_chan = dma_request_chan(&indio_dev->dev, "rx");
+ adc->dma_chan = dma_request_chan(dev, "rx");
if (IS_ERR(adc->dma_chan)) {
ret = PTR_ERR(adc->dma_chan);
if (ret != -ENODEV) {
if (ret != -EPROBE_DEFER)
- dev_err(&indio_dev->dev,
+ dev_err(dev,
"DMA channel request failed with %d\n",
ret);
return ret;
@@ -1930,7 +1930,7 @@ static int stm32_adc_probe(struct platform_device *pdev)
if (ret < 0)
return ret;
- ret = stm32_adc_dma_request(indio_dev);
+ ret = stm32_adc_dma_request(dev, indio_dev);
if (ret < 0)
return ret;
The patch below does not apply to the 4.14-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 52cd91c27f3908b88e8b25aed4a4d20660abcc45 Mon Sep 17 00:00:00 2001
From: Fabrice Gasnier <fabrice.gasnier(a)st.com>
Date: Thu, 30 Apr 2020 11:28:45 +0200
Subject: [PATCH] iio: adc: stm32-adc: fix device used to request dma
DMA channel request should use device struct from platform device struct.
Currently it's using iio device struct. But at this stage when probing,
device struct isn't yet registered (e.g. device_register is done in
iio_device_register). Since commit 71723a96b8b1 ("dmaengine: Create
symlinks between DMA channels and slaves"), a warning message is printed
as the links in sysfs can't be created, due to device isn't yet registered:
- Cannot create DMA slave symlink
- Cannot create DMA dma:rx symlink
Fix this by using device struct from platform device to request dma chan.
Fixes: 2763ea0585c99 ("iio: adc: stm32: add optional dma support")
Signed-off-by: Fabrice Gasnier <fabrice.gasnier(a)st.com>
Cc: <Stable(a)vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
diff --git a/drivers/iio/adc/stm32-adc.c b/drivers/iio/adc/stm32-adc.c
index ae622ee6d08c..dfc3a306c667 100644
--- a/drivers/iio/adc/stm32-adc.c
+++ b/drivers/iio/adc/stm32-adc.c
@@ -1812,18 +1812,18 @@ static int stm32_adc_chan_of_init(struct iio_dev *indio_dev)
return 0;
}
-static int stm32_adc_dma_request(struct iio_dev *indio_dev)
+static int stm32_adc_dma_request(struct device *dev, struct iio_dev *indio_dev)
{
struct stm32_adc *adc = iio_priv(indio_dev);
struct dma_slave_config config;
int ret;
- adc->dma_chan = dma_request_chan(&indio_dev->dev, "rx");
+ adc->dma_chan = dma_request_chan(dev, "rx");
if (IS_ERR(adc->dma_chan)) {
ret = PTR_ERR(adc->dma_chan);
if (ret != -ENODEV) {
if (ret != -EPROBE_DEFER)
- dev_err(&indio_dev->dev,
+ dev_err(dev,
"DMA channel request failed with %d\n",
ret);
return ret;
@@ -1930,7 +1930,7 @@ static int stm32_adc_probe(struct platform_device *pdev)
if (ret < 0)
return ret;
- ret = stm32_adc_dma_request(indio_dev);
+ ret = stm32_adc_dma_request(dev, indio_dev);
if (ret < 0)
return ret;
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.9.y/kernel/v4.9.224/…
-------------------------------------------------------------------------------
stable-rc/linux-4.9.y boot: 97 boots: 1 failed, 88 passed with 5 offline, 3 untried/unknown (v4.9.224)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.9.y/kernel/v4.9.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.9.y/kernel/v4.9.224/
Tree: stable-rc
Branch: linux-4.9.y
Git Describe: v4.9.224
Git Commit: e4ebe4fae299b559e683eb31a2dc950507842bf7
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 56 unique boards, 19 SoC families, 19 builds out of 197
Boot Regressions Detected:
arm:
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 12 days (last pass: v4.9.223 - first fail: v4.9.223-25-g6dfb25040a46)
versatile_defconfig:
gcc-8:
versatile-pb:
lab-collabora: new failure (last pass: v4.9.223-91-g7cb03e23d3f5)
Boot Failure Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
Offline Platforms:
arm:
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
---
For more info write to <info(a)kernelci.org>
stable-rc/linux-3.16.y build: 187 builds: 13 failed, 174 passed, 11 errors, 3983 warnings (v3.16.84)
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-3.16.y/kernel/v3.16.84/
Tree: stable-rc
Branch: linux-3.16.y
Git Describe: v3.16.84
Git Commit: babf7e4a11200d94219dcebd64f50e6304bbde2e
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Built: 6 unique architectures
Build Failures Detected:
arc:
allnoconfig: (gcc-8) FAIL
fpga_defconfig: (gcc-8) FAIL
fpga_noramfs_defconfig: (gcc-8) FAIL
arm:
kzm9g_defconfig: (gcc-8) FAIL
mips:
cavium_octeon_defconfig: (gcc-8) FAIL
lemote2f_defconfig: (gcc-8) FAIL
malta_kvm_defconfig: (gcc-8) FAIL
nlm_xlp_defconfig: (gcc-8) FAIL
nlm_xlr_defconfig: (gcc-8) FAIL
rt305x_defconfig: (gcc-8) FAIL
sead3_defconfig: (gcc-8) FAIL
sead3micro_defconfig: (gcc-8) FAIL
xway_defconfig: (gcc-8) FAIL
Errors and Warnings Detected:
arc:
allnoconfig (gcc-8): 2 errors, 239 warnings
fpga_defconfig (gcc-8): 3 warnings
fpga_noramfs_defconfig (gcc-8): 2 errors, 8 warnings
arm64:
allnoconfig (gcc-8): 2 warnings
defconfig (gcc-8): 40 warnings
arm:
acs5k_defconfig (gcc-8): 7 warnings
acs5k_tiny_defconfig (gcc-8): 6 warnings
allnoconfig (gcc-8): 4 warnings
am200epdkit_defconfig (gcc-8): 12 warnings
ape6evm_defconfig (gcc-8): 29 warnings
armadillo800eva_defconfig (gcc-8): 5 warnings
assabet_defconfig (gcc-8): 9 warnings
at91_dt_defconfig (gcc-8): 6 warnings
at91rm9200_defconfig (gcc-8): 15 warnings
at91sam9260_9g20_defconfig (gcc-8): 13 warnings
at91sam9261_9g10_defconfig (gcc-8): 14 warnings
at91sam9263_defconfig (gcc-8): 12 warnings
at91sam9g45_defconfig (gcc-8): 5 warnings
at91sam9rl_defconfig (gcc-8): 8 warnings
at91x40_defconfig (gcc-8): 4 warnings
axm55xx_defconfig (gcc-8): 19 warnings
badge4_defconfig (gcc-8): 17 warnings
bcm2835_defconfig (gcc-8): 5 warnings
bcm_defconfig (gcc-8): 14 warnings
bockw_defconfig (gcc-8): 9 warnings
cerfcube_defconfig (gcc-8): 6 warnings
clps711x_defconfig (gcc-8): 10 warnings
cm_x2xx_defconfig (gcc-8): 14 warnings
cm_x300_defconfig (gcc-8): 16 warnings
cns3420vb_defconfig (gcc-8): 8 warnings
colibri_pxa270_defconfig (gcc-8): 19 warnings
colibri_pxa300_defconfig (gcc-8): 14 warnings
collie_defconfig (gcc-8): 5 warnings
corgi_defconfig (gcc-8): 20 warnings
davinci_all_defconfig (gcc-8): 13 warnings
dove_defconfig (gcc-8): 17 warnings
ebsa110_defconfig (gcc-8): 7 warnings
efm32_defconfig (gcc-8): 3 warnings
em_x270_defconfig (gcc-8): 15 warnings
ep93xx_defconfig (gcc-8): 8 warnings
eseries_pxa_defconfig (gcc-8): 17 warnings
exynos_defconfig (gcc-8): 18 warnings
ezx_defconfig (gcc-8): 17 warnings
footbridge_defconfig (gcc-8): 10 warnings
genmai_defconfig (gcc-8): 3 warnings
h3600_defconfig (gcc-8): 10 warnings
h5000_defconfig (gcc-8): 12 warnings
hackkit_defconfig (gcc-8): 6 warnings
hi3xxx_defconfig (gcc-8): 13 warnings
imote2_defconfig (gcc-8): 15 warnings
imx_v4_v5_defconfig (gcc-8): 32 warnings
imx_v6_v7_defconfig (gcc-8): 26 warnings
integrator_defconfig (gcc-8): 8 warnings
iop13xx_defconfig (gcc-8): 13 warnings
iop32x_defconfig (gcc-8): 13 warnings
iop33x_defconfig (gcc-8): 8 warnings
ixp4xx_defconfig (gcc-8): 8 warnings
jornada720_defconfig (gcc-8): 10 warnings
keystone_defconfig (gcc-8): 36 warnings
kirkwood_defconfig (gcc-8): 17 warnings
koelsch_defconfig (gcc-8): 4 warnings
ks8695_defconfig (gcc-8): 7 warnings
kzm9g_defconfig (gcc-8): 1 error, 9 warnings
lager_defconfig (gcc-8): 4 warnings
lart_defconfig (gcc-8): 11 warnings
lpc32xx_defconfig (gcc-8): 6 warnings
lpd270_defconfig (gcc-8): 6 warnings
lubbock_defconfig (gcc-8): 7 warnings
mackerel_defconfig (gcc-8): 16 warnings
magician_defconfig (gcc-8): 19 warnings
mainstone_defconfig (gcc-8): 6 warnings
marzen_defconfig (gcc-8): 10 warnings
mini2440_defconfig (gcc-8): 17 warnings
mmp2_defconfig (gcc-8): 9 warnings
moxart_defconfig (gcc-8): 7 warnings
msm_defconfig (gcc-8): 35 warnings
multi_v5_defconfig (gcc-8): 19 warnings
multi_v7_defconfig (gcc-8): 25 warnings
mv78xx0_defconfig (gcc-8): 34 warnings
mvebu_v5_defconfig (gcc-8): 18 warnings
mvebu_v7_defconfig (gcc-8): 17 warnings
mxs_defconfig (gcc-8): 36 warnings
neponset_defconfig (gcc-8): 8 warnings
netwinder_defconfig (gcc-8): 5 warnings
netx_defconfig (gcc-8): 12 warnings
nhk8815_defconfig (gcc-8): 17 warnings
nuc910_defconfig (gcc-8): 6 warnings
nuc950_defconfig (gcc-8): 6 warnings
nuc960_defconfig (gcc-8): 6 warnings
omap1_defconfig (gcc-8): 17 warnings
omap2plus_defconfig (gcc-8): 36 warnings
orion5x_defconfig (gcc-8): 16 warnings
palmz72_defconfig (gcc-8): 6 warnings
pcm027_defconfig (gcc-8): 8 warnings
pleb_defconfig (gcc-8): 6 warnings
prima2_defconfig (gcc-8): 9 warnings
pxa168_defconfig (gcc-8): 6 warnings
pxa255-idp_defconfig (gcc-8): 6 warnings
pxa3xx_defconfig (gcc-8): 6 warnings
pxa910_defconfig (gcc-8): 6 warnings
qcom_defconfig (gcc-8): 36 warnings
raumfeld_defconfig (gcc-8): 15 warnings
realview-smp_defconfig (gcc-8): 6 warnings
realview_defconfig (gcc-8): 6 warnings
rpc_defconfig (gcc-8): 9 warnings
s3c2410_defconfig (gcc-8): 21 warnings
s3c6400_defconfig (gcc-8): 6 warnings
s5p64x0_defconfig (gcc-8): 7 warnings
s5pc100_defconfig (gcc-8): 5 warnings
s5pv210_defconfig (gcc-8): 7 warnings
sama5_defconfig (gcc-8): 20 warnings
shannon_defconfig (gcc-8): 6 warnings
shmobile_defconfig (gcc-8): 5 warnings
simpad_defconfig (gcc-8): 16 warnings
socfpga_defconfig (gcc-8): 29 warnings
spear13xx_defconfig (gcc-8): 9 warnings
spear3xx_defconfig (gcc-8): 7 warnings
spear6xx_defconfig (gcc-8): 7 warnings
spitz_defconfig (gcc-8): 20 warnings
sunxi_defconfig (gcc-8): 11 warnings
tct_hammer_defconfig (gcc-8): 7 warnings
tegra_defconfig (gcc-8): 23 warnings
trizeps4_defconfig (gcc-8): 20 warnings
u300_defconfig (gcc-8): 7 warnings
u8500_defconfig (gcc-8): 19 warnings
versatile_defconfig (gcc-8): 6 warnings
vexpress_defconfig (gcc-8): 12 warnings
viper_defconfig (gcc-8): 14 warnings
vt8500_v6_v7_defconfig (gcc-8): 12 warnings
xcep_defconfig (gcc-8): 6 warnings
zeus_defconfig (gcc-8): 15 warnings
i386:
allnoconfig (gcc-8): 3 warnings
i386_defconfig (gcc-8): 5 warnings
mips:
allnoconfig (gcc-8): 28 warnings
ar7_defconfig (gcc-8): 29 warnings
ath79_defconfig (gcc-8): 31 warnings
bcm47xx_defconfig (gcc-8): 43 warnings
bcm63xx_defconfig (gcc-8): 28 warnings
bigsur_defconfig (gcc-8): 86 warnings
capcella_defconfig (gcc-8): 29 warnings
cavium_octeon_defconfig (gcc-8): 50 warnings
cobalt_defconfig (gcc-8): 29 warnings
db1xxx_defconfig (gcc-8): 29 warnings
decstation_defconfig (gcc-8): 29 warnings
e55_defconfig (gcc-8): 29 warnings
fuloong2e_defconfig (gcc-8): 59 warnings
gpr_defconfig (gcc-8): 29 warnings
ip22_defconfig (gcc-8): 30 warnings
ip27_defconfig (gcc-8): 73 warnings
ip28_defconfig (gcc-8): 51 warnings
ip32_defconfig (gcc-8): 59 warnings
jazz_defconfig (gcc-8): 29 warnings
jmr3927_defconfig (gcc-8): 28 warnings
lasat_defconfig (gcc-8): 28 warnings
lemote2f_defconfig (gcc-8): 1 error, 4 warnings
loongson3_defconfig (gcc-8): 329 warnings
ls1b_defconfig (gcc-8): 29 warnings
malta_defconfig (gcc-8): 31 warnings
malta_kvm_defconfig (gcc-8): 2 errors, 4 warnings
malta_kvm_guest_defconfig (gcc-8): 31 warnings
maltaaprp_defconfig (gcc-8): 31 warnings
maltasmvp_defconfig (gcc-8): 34 warnings
maltasmvp_eva_defconfig (gcc-8): 34 warnings
maltaup_defconfig (gcc-8): 31 warnings
markeins_defconfig (gcc-8): 29 warnings
mips_paravirt_defconfig (gcc-8): 50 warnings
mpc30x_defconfig (gcc-8): 29 warnings
msp71xx_defconfig (gcc-8): 31 warnings
mtx1_defconfig (gcc-8): 35 warnings
nlm_xlp_defconfig (gcc-8): 77 warnings
nlm_xlr_defconfig (gcc-8): 1 error, 2 warnings
pnx8335_stb225_defconfig (gcc-8): 31 warnings
qi_lb60_defconfig (gcc-8): 30 warnings
rb532_defconfig (gcc-8): 29 warnings
rbtx49xx_defconfig (gcc-8): 30 warnings
rm200_defconfig (gcc-8): 29 warnings
rt305x_defconfig (gcc-8): 31 warnings
sb1250_swarm_defconfig (gcc-8): 48 warnings
sead3_defconfig (gcc-8): 31 warnings
sead3micro_defconfig (gcc-8): 2 errors, 2 warnings
tb0219_defconfig (gcc-8): 29 warnings
tb0226_defconfig (gcc-8): 29 warnings
tb0287_defconfig (gcc-8): 29 warnings
workpad_defconfig (gcc-8): 29 warnings
xway_defconfig (gcc-8): 31 warnings
x86_64:
allnoconfig (gcc-8): 2 warnings
x86_64_defconfig (gcc-8): 63 warnings
Errors summary:
4 arch/arc/include/asm/uaccess.h:676:2: error: impossible constraint in ‘asm’
2 include/linux/kern_levels.h:4:18: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘u64’ {aka ‘long long unsigned int’} [-Werror=format=]
1 arch/mips/loongson/common/cs5536/cs5536_ohci.c:141:25: error: bitwise comparison always evaluates to false [-Werror=tautological-compare]
1 arch/mips/kernel/genex.S:234: Error: branch to a symbol in another ISA mode
1 arch/mips/kernel/genex.S:152: Error: branch to a symbol in another ISA mode
1 arch/mips/include/asm/netlogic/xlr/fmn.h:304:22: error: bitwise comparison always evaluates to false [-Werror=tautological-compare]
1 arch/arm/mach-shmobile/board-kzm9g.c:734:13: error: initializer element is not computable at load time
Warnings summary:
1008 arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
413 <stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
288 arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
129 fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
125 arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
119 lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
116 fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
115 cc1: warning: ‘-mno-mpy’ is deprecated
105 net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
67 drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
67 drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
56 include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
56 include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
56 include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
56 include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
56 include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
56 include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
56 include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
56 include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
56 include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
50 crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
50 crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
50 crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
50 crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
50 crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
46 drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
34 net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
31 fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
31 fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
28 fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
24 net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
20 include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
20 include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
20 include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
20 include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
20 include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
20 include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
20 include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
20 include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
20 include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
14 net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
14 net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
14 net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
14 net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
14 include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
14 drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
12 net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
12 net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
12 net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
12 net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
12 net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
12 net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
12 net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
11 fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
6 drivers/video/hdmi.c:163:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
6 drivers/video/hdmi.c:162:2: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
6 drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:3598:2: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
5 {standard input}:1462: Warning: the `msa' extension requires 64-bit FPRs
5 drivers/net/irda/irtty-sir.c:405:3: warning: ‘strncpy’ output may be truncated copying 5 bytes from a string of length 15 [-Wstringop-truncation]
4 fs/cifs/cifsencrypt.c:309:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
4 drivers/video/fbdev/mx3fb.c:748:2: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
4 drivers/misc/eeprom/at25.c:311:2: warning: ‘strncpy’ specified bound 10 equals destination size [-Wstringop-truncation]
3 sound/pci/au88x0/au88x0_core.c:2303:58: warning: ‘src[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
3 sound/pci/au88x0/au88x0_core.c:2302:59: warning: ‘mix[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
3 drivers/scsi/scsi_tgt_if.c:192:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
3 drivers/net/wireless/hostap/hostap_ioctl.c:3614:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
3 cc1: all warnings being treated as errors
2 {standard input}:1715: Warning: the `msa' extension requires 64-bit FPRs
2 {standard input}:1498: Warning: the `msa' extension requires 64-bit FPRs
2 mm/mmap.c:650:2: warning: ‘prev’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2 mm/memory.c:581:7: warning: assignment to ‘pgtable_t’ {aka ‘long unsigned int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
2 include/linux/rbtree.h:85:11: warning: ‘rb_link’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2 include/linux/rbtree.h:82:28: warning: ‘rb_parent’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2 include/linux/kernel.h:716:17: warning: comparison of distinct pointer types lacks a cast
2 fs/xfs/xfs_xattr.c:159:2: warning: ‘strncpy’ output may be truncated copying between 5 and 9 bytes from a string of length 9 [-Wstringop-truncation]
2 drivers/net/wireless/prism54/isl_ioctl.c:284:2: warning: ‘strncpy’ output may be truncated copying 16 bytes from a string of length 28 [-Wstringop-truncation]
2 drivers/net/ethernet/seeq/sgiseeq.c:804:26: warning: passing argument 5 of ‘dma_free_attrs’ makes pointer from integer without a cast [-Wint-conversion]
2 drivers/mfd/db8500-prcmu.c:2721:2: warning: ‘strncpy’ specified bound 20 equals destination size [-Wstringop-truncation]
2 drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 8 [-Wpacked-not-aligned]
2 arch/x86/kernel/rtc.c:173:29: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
2 arch/x86/kernel/head_32.S:672: Warning: ignoring fill value in section `.bss..page_aligned'
2 arch/x86/kernel/head_32.S:670: Warning: ignoring fill value in section `.bss..page_aligned'
2 arch/x86/kernel/head_32.S:665: Warning: ignoring fill value in section `.bss..page_aligned'
2 arch/mips/kernel/cps-vec.S:384: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
2 arch/mips/kernel/cps-vec.S:352: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
2 arch/mips/kernel/cps-vec.S:232: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
1 {standard input}:900: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:2119: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1953: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1923: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1882: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1822: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1821: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1697: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1668: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1664: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1655: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1525: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1485: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1431: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1424: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1395: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1359: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1257: Warning: the `msa' extension requires 64-bit FPRs
1 net/caif/cfctrl.c:261:3: warning: ‘strncpy’ output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation]
1 kernel/debug/kdb/kdb_support.c:132:4: warning: ‘memcpy’ accessing 396 bytes at offsets 0 and 4 overlaps 392 bytes at offset 4 [-Wrestrict]
1 drivers/video/fbdev/matrox/matroxfb_Ti3026.c:375:2: warning: ‘memcpy’ forming offset [22, 80] is out of the bounds [0, 21] of object ‘MGADACbpp32’ with type ‘const unsigned char[21]’ [-Warray-bounds]
1 drivers/scsi/pmcraid.h:1059:1: warning: alignment 1 of ‘struct pmcraid_passthrough_ioctl_buffer’ is less than 4 [-Wpacked-not-aligned]
1 drivers/scsi/pmcraid.h:1059:1: warning: alignment 1 of ‘struct pmcraid_passthrough_ioctl_buffer’ is less than 32 [-Wpacked-not-aligned]
1 drivers/scsi/pmcraid.h:1056:24: warning: ‘ioarcb’ offset 16 in ‘struct pmcraid_passthrough_ioctl_buffer’ isn’t aligned to 32 [-Wpacked-not-aligned]
1 drivers/net/wireless/rtlwifi/rtl8192cu/hw.c:1363:22: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
1 drivers/net/wireless/rtl818x/rtl8187/leds.c:149:2: warning: ‘strncpy’ specified bound 22 equals destination size [-Wstringop-truncation]
1 drivers/net/wireless/mwl8k.c:805:1: warning: alignment 1 of ‘struct mwl8k_dma_data’ is less than 2 [-Wpacked-not-aligned]
1 drivers/gpu/drm/i915/intel_tv.c:1422:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
1 cc1: warning: switch -mcpu=cortex-a9 conflicts with -march=armv7-a switch
1 arch/x86/power/hibernate_64.c:129:2: warning: ‘memcpy’ forming offset [2, 4096] is out of the bounds [0, 1] of object ‘core_restore_code’ with type ‘char’ [-Warray-bounds]
1 arch/x86/kernel/apic/apic.c:138:13: warning: ‘nox2apic’ defined but not used [-Wunused-variable]
================================================================================
Detailed per-defconfig build reports:
--------------------------------------------------------------------------------
acs5k_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/wireless/prism54/isl_ioctl.c:284:2: warning: ‘strncpy’ output may be truncated copying 16 bytes from a string of length 28 [-Wstringop-truncation]
--------------------------------------------------------------------------------
acs5k_tiny_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
allnoconfig (arc, gcc-8) — FAIL, 2 errors, 239 warnings, 0 section mismatches
Errors:
arch/arc/include/asm/uaccess.h:676:2: error: impossible constraint in ‘asm’
arch/arc/include/asm/uaccess.h:676:2: error: impossible constraint in ‘asm’
Warnings:
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
mm/memory.c:581:7: warning: assignment to ‘pgtable_t’ {aka ‘long unsigned int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
include/linux/rbtree.h:85:11: warning: ‘rb_link’ may be used uninitialized in this function [-Wmaybe-uninitialized]
include/linux/rbtree.h:82:28: warning: ‘rb_parent’ may be used uninitialized in this function [-Wmaybe-uninitialized]
mm/mmap.c:650:2: warning: ‘prev’ may be used uninitialized in this function [-Wmaybe-uninitialized]
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
include/linux/kernel.h:716:17: warning: comparison of distinct pointer types lacks a cast
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
--------------------------------------------------------------------------------
allnoconfig (x86_64, gcc-8) — PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
allnoconfig (arm64, gcc-8) — PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
allnoconfig (arm, gcc-8) — PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
allnoconfig (mips, gcc-8) — PASS, 0 errors, 28 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
--------------------------------------------------------------------------------
allnoconfig (i386, gcc-8) — PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
arch/x86/kernel/head_32.S:665: Warning: ignoring fill value in section `.bss..page_aligned'
arch/x86/kernel/head_32.S:670: Warning: ignoring fill value in section `.bss..page_aligned'
arch/x86/kernel/head_32.S:672: Warning: ignoring fill value in section `.bss..page_aligned'
--------------------------------------------------------------------------------
am200epdkit_defconfig (arm, gcc-8) — PASS, 0 errors, 12 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
ape6evm_defconfig (arm, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ar7_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
armadillo800eva_defconfig (arm, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
assabet_defconfig (arm, gcc-8) — PASS, 0 errors, 9 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
at91_dt_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/wireless/rtlwifi/rtl8192cu/hw.c:1363:22: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
at91rm9200_defconfig (arm, gcc-8) — PASS, 0 errors, 15 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
at91sam9260_9g20_defconfig (arm, gcc-8) — PASS, 0 errors, 13 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/misc/eeprom/at25.c:311:2: warning: ‘strncpy’ specified bound 10 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
at91sam9261_9g10_defconfig (arm, gcc-8) — PASS, 0 errors, 14 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
at91sam9263_defconfig (arm, gcc-8) — PASS, 0 errors, 12 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
at91sam9g45_defconfig (arm, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
at91sam9rl_defconfig (arm, gcc-8) — PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
at91x40_defconfig (arm, gcc-8) — PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
ath79_defconfig (mips, gcc-8) — PASS, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1359: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:900: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
axm55xx_defconfig (arm, gcc-8) — PASS, 0 errors, 19 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
drivers/misc/eeprom/at25.c:311:2: warning: ‘strncpy’ specified bound 10 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
badge4_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
bcm2835_defconfig (arm, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
kernel/debug/kdb/kdb_support.c:132:4: warning: ‘memcpy’ accessing 396 bytes at offsets 0 and 4 overlaps 392 bytes at offset 4 [-Wrestrict]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
bcm47xx_defconfig (mips, gcc-8) — PASS, 0 errors, 43 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
bcm63xx_defconfig (mips, gcc-8) — PASS, 0 errors, 28 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
--------------------------------------------------------------------------------
bcm_defconfig (arm, gcc-8) — PASS, 0 errors, 14 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
bigsur_defconfig (mips, gcc-8) — PASS, 0 errors, 86 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
bockw_defconfig (arm, gcc-8) — PASS, 0 errors, 9 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
capcella_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
cavium_octeon_defconfig (mips, gcc-8) — FAIL, 0 errors, 50 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
cerfcube_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
clps711x_defconfig (arm, gcc-8) — PASS, 0 errors, 10 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
drivers/net/irda/irtty-sir.c:405:3: warning: ‘strncpy’ output may be truncated copying 5 bytes from a string of length 15 [-Wstringop-truncation]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
cm_x2xx_defconfig (arm, gcc-8) — PASS, 0 errors, 14 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
--------------------------------------------------------------------------------
cm_x300_defconfig (arm, gcc-8) — PASS, 0 errors, 16 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/cifs/cifsencrypt.c:309:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
--------------------------------------------------------------------------------
cns3420vb_defconfig (arm, gcc-8) — PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
cobalt_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
colibri_pxa270_defconfig (arm, gcc-8) — PASS, 0 errors, 19 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/net/wireless/hostap/hostap_ioctl.c:3614:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/irda/irtty-sir.c:405:3: warning: ‘strncpy’ output may be truncated copying 5 bytes from a string of length 15 [-Wstringop-truncation]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
colibri_pxa300_defconfig (arm, gcc-8) — PASS, 0 errors, 14 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
collie_defconfig (arm, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
corgi_defconfig (arm, gcc-8) — PASS, 0 errors, 20 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
davinci_all_defconfig (arm, gcc-8) — PASS, 0 errors, 13 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
fs/xfs/xfs_xattr.c:159:2: warning: ‘strncpy’ output may be truncated copying between 5 and 9 bytes from a string of length 9 [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
db1xxx_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
--------------------------------------------------------------------------------
decstation_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
defconfig (arm64, gcc-8) — PASS, 0 errors, 40 warnings, 0 section mismatches
Warnings:
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
--------------------------------------------------------------------------------
dove_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
--------------------------------------------------------------------------------
e55_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ebsa110_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
efm32_defconfig (arm, gcc-8) — PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
em_x270_defconfig (arm, gcc-8) — PASS, 0 errors, 15 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
--------------------------------------------------------------------------------
ep93xx_defconfig (arm, gcc-8) — PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
eseries_pxa_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
--------------------------------------------------------------------------------
exynos_defconfig (arm, gcc-8) — PASS, 0 errors, 18 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ezx_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/cifs/cifsencrypt.c:309:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
fs/xfs/xfs_xattr.c:159:2: warning: ‘strncpy’ output may be truncated copying between 5 and 9 bytes from a string of length 9 [-Wstringop-truncation]
--------------------------------------------------------------------------------
footbridge_defconfig (arm, gcc-8) — PASS, 0 errors, 10 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
fpga_defconfig (arc, gcc-8) — FAIL, 0 errors, 3 warnings, 0 section mismatches
Warnings:
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
--------------------------------------------------------------------------------
fpga_noramfs_defconfig (arc, gcc-8) — FAIL, 2 errors, 8 warnings, 0 section mismatches
Errors:
arch/arc/include/asm/uaccess.h:676:2: error: impossible constraint in ‘asm’
arch/arc/include/asm/uaccess.h:676:2: error: impossible constraint in ‘asm’
Warnings:
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
mm/memory.c:581:7: warning: assignment to ‘pgtable_t’ {aka ‘long unsigned int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
include/linux/rbtree.h:85:11: warning: ‘rb_link’ may be used uninitialized in this function [-Wmaybe-uninitialized]
include/linux/rbtree.h:82:28: warning: ‘rb_parent’ may be used uninitialized in this function [-Wmaybe-uninitialized]
mm/mmap.c:650:2: warning: ‘prev’ may be used uninitialized in this function [-Wmaybe-uninitialized]
include/linux/kernel.h:716:17: warning: comparison of distinct pointer types lacks a cast
--------------------------------------------------------------------------------
fuloong2e_defconfig (mips, gcc-8) — PASS, 0 errors, 59 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
genmai_defconfig (arm, gcc-8) — PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
gpr_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
h3600_defconfig (arm, gcc-8) — PASS, 0 errors, 10 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
h5000_defconfig (arm, gcc-8) — PASS, 0 errors, 12 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
hackkit_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
hi3xxx_defconfig (arm, gcc-8) — PASS, 0 errors, 13 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/video/hdmi.c:162:2: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
drivers/video/hdmi.c:163:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
i386_defconfig (i386, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
arch/x86/kernel/rtc.c:173:29: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
arch/x86/kernel/apic/apic.c:138:13: warning: ‘nox2apic’ defined but not used [-Wunused-variable]
arch/x86/kernel/head_32.S:665: Warning: ignoring fill value in section `.bss..page_aligned'
arch/x86/kernel/head_32.S:670: Warning: ignoring fill value in section `.bss..page_aligned'
arch/x86/kernel/head_32.S:672: Warning: ignoring fill value in section `.bss..page_aligned'
--------------------------------------------------------------------------------
imote2_defconfig (arm, gcc-8) — PASS, 0 errors, 15 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/cifs/cifsencrypt.c:309:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
--------------------------------------------------------------------------------
imx_v4_v5_defconfig (arm, gcc-8) — PASS, 0 errors, 32 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/misc/eeprom/at25.c:311:2: warning: ‘strncpy’ specified bound 10 equals destination size [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/video/fbdev/mx3fb.c:748:2: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
imx_v6_v7_defconfig (arm, gcc-8) — PASS, 0 errors, 26 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
drivers/misc/eeprom/at25.c:311:2: warning: ‘strncpy’ specified bound 10 equals destination size [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/video/hdmi.c:162:2: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
drivers/video/hdmi.c:163:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
drivers/video/fbdev/mx3fb.c:748:2: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:3598:2: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:3598:2: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
integrator_defconfig (arm, gcc-8) — PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/video/fbdev/matrox/matroxfb_Ti3026.c:375:2: warning: ‘memcpy’ forming offset [22, 80] is out of the bounds [0, 21] of object ‘MGADACbpp32’ with type ‘const unsigned char[21]’ [-Warray-bounds]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
iop13xx_defconfig (arm, gcc-8) — PASS, 0 errors, 13 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
iop32x_defconfig (arm, gcc-8) — PASS, 0 errors, 13 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
iop33x_defconfig (arm, gcc-8) — PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ip22_defconfig (mips, gcc-8) — PASS, 0 errors, 30 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/ethernet/seeq/sgiseeq.c:804:26: warning: passing argument 5 of ‘dma_free_attrs’ makes pointer from integer without a cast [-Wint-conversion]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ip27_defconfig (mips, gcc-8) — PASS, 0 errors, 73 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
drivers/net/wireless/mwl8k.c:805:1: warning: alignment 1 of ‘struct mwl8k_dma_data’ is less than 2 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
drivers/scsi/pmcraid.h:1059:1: warning: alignment 1 of ‘struct pmcraid_passthrough_ioctl_buffer’ is less than 32 [-Wpacked-not-aligned]
drivers/scsi/pmcraid.h:1056:24: warning: ‘ioarcb’ offset 16 in ‘struct pmcraid_passthrough_ioctl_buffer’ isn’t aligned to 32 [-Wpacked-not-aligned]
drivers/scsi/pmcraid.h:1059:1: warning: alignment 1 of ‘struct pmcraid_passthrough_ioctl_buffer’ is less than 4 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ip28_defconfig (mips, gcc-8) — PASS, 0 errors, 51 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/ethernet/seeq/sgiseeq.c:804:26: warning: passing argument 5 of ‘dma_free_attrs’ makes pointer from integer without a cast [-Wint-conversion]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ip32_defconfig (mips, gcc-8) — PASS, 0 errors, 59 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ixp4xx_defconfig (arm, gcc-8) — PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
jazz_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
jmr3927_defconfig (mips, gcc-8) — PASS, 0 errors, 28 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
--------------------------------------------------------------------------------
jornada720_defconfig (arm, gcc-8) — PASS, 0 errors, 10 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
keystone_defconfig (arm, gcc-8) — PASS, 0 errors, 36 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
kirkwood_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
koelsch_defconfig (arm, gcc-8) — PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ks8695_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/wireless/prism54/isl_ioctl.c:284:2: warning: ‘strncpy’ output may be truncated copying 16 bytes from a string of length 28 [-Wstringop-truncation]
--------------------------------------------------------------------------------
kzm9g_defconfig (arm, gcc-8) — FAIL, 1 error, 9 warnings, 0 section mismatches
Errors:
arch/arm/mach-shmobile/board-kzm9g.c:734:13: error: initializer element is not computable at load time
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
--------------------------------------------------------------------------------
lager_defconfig (arm, gcc-8) — PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
lart_defconfig (arm, gcc-8) — PASS, 0 errors, 11 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
lasat_defconfig (mips, gcc-8) — PASS, 0 errors, 28 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
--------------------------------------------------------------------------------
lemote2f_defconfig (mips, gcc-8) — FAIL, 1 error, 4 warnings, 0 section mismatches
Errors:
arch/mips/loongson/common/cs5536/cs5536_ohci.c:141:25: error: bitwise comparison always evaluates to false [-Werror=tautological-compare]
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
cc1: all warnings being treated as errors
--------------------------------------------------------------------------------
loongson3_defconfig (mips, gcc-8) — PASS, 0 errors, 329 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
lpc32xx_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
lpd270_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ls1b_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
lubbock_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
mackerel_defconfig (arm, gcc-8) — PASS, 0 errors, 16 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
magician_defconfig (arm, gcc-8) — PASS, 0 errors, 19 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/net/irda/irtty-sir.c:405:3: warning: ‘strncpy’ output may be truncated copying 5 bytes from a string of length 15 [-Wstringop-truncation]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
mainstone_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
malta_defconfig (mips, gcc-8) — PASS, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1498: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1715: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
malta_kvm_defconfig (mips, gcc-8) — FAIL, 2 errors, 4 warnings, 0 section mismatches
Errors:
include/linux/kern_levels.h:4:18: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘u64’ {aka ‘long long unsigned int’} [-Werror=format=]
include/linux/kern_levels.h:4:18: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘u64’ {aka ‘long long unsigned int’} [-Werror=format=]
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1498: Warning: the `msa' extension requires 64-bit FPRs
cc1: all warnings being treated as errors
{standard input}:1953: Warning: the `msa' extension requires 64-bit FPRs
--------------------------------------------------------------------------------
malta_kvm_guest_defconfig (mips, gcc-8) — PASS, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1462: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1664: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
maltaaprp_defconfig (mips, gcc-8) — PASS, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1462: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1697: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
maltasmvp_defconfig (mips, gcc-8) — PASS, 0 errors, 34 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1462: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1715: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/kernel/cps-vec.S:232: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
arch/mips/kernel/cps-vec.S:352: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
arch/mips/kernel/cps-vec.S:384: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
maltasmvp_eva_defconfig (mips, gcc-8) — PASS, 0 errors, 34 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1462: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1822: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/kernel/cps-vec.S:232: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
arch/mips/kernel/cps-vec.S:352: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
arch/mips/kernel/cps-vec.S:384: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
maltaup_defconfig (mips, gcc-8) — PASS, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1462: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1668: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
markeins_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
marzen_defconfig (arm, gcc-8) — PASS, 0 errors, 10 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/video/hdmi.c:162:2: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
drivers/video/hdmi.c:163:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
mini2440_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/net/wireless/hostap/hostap_ioctl.c:3614:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
--------------------------------------------------------------------------------
mips_paravirt_defconfig (mips, gcc-8) — PASS, 0 errors, 50 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
mmp2_defconfig (arm, gcc-8) — PASS, 0 errors, 9 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
moxart_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
mpc30x_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
msm_defconfig (arm, gcc-8) — PASS, 0 errors, 35 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/scsi/scsi_tgt_if.c:192:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
msp71xx_defconfig (mips, gcc-8) — PASS, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1655: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1882: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
mtx1_defconfig (mips, gcc-8) — PASS, 0 errors, 35 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
sound/pci/au88x0/au88x0_core.c:2302:59: warning: ‘mix[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sound/pci/au88x0/au88x0_core.c:2303:58: warning: ‘src[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sound/pci/au88x0/au88x0_core.c:2302:59: warning: ‘mix[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sound/pci/au88x0/au88x0_core.c:2303:58: warning: ‘src[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sound/pci/au88x0/au88x0_core.c:2302:59: warning: ‘mix[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sound/pci/au88x0/au88x0_core.c:2303:58: warning: ‘src[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
multi_v5_defconfig (arm, gcc-8) — PASS, 0 errors, 19 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/video/fbdev/mx3fb.c:748:2: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
multi_v7_defconfig (arm, gcc-8) — PASS, 0 errors, 25 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
cc1: warning: switch -mcpu=cortex-a9 conflicts with -march=armv7-a switch
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/mfd/db8500-prcmu.c:2721:2: warning: ‘strncpy’ specified bound 20 equals destination size [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/video/hdmi.c:162:2: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
drivers/video/hdmi.c:163:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
drivers/video/fbdev/mx3fb.c:748:2: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:3598:2: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:3598:2: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
mv78xx0_defconfig (arm, gcc-8) — PASS, 0 errors, 34 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
--------------------------------------------------------------------------------
mvebu_v5_defconfig (arm, gcc-8) — PASS, 0 errors, 18 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
mvebu_v7_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
mxs_defconfig (arm, gcc-8) — PASS, 0 errors, 36 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
neponset_defconfig (arm, gcc-8) — PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
--------------------------------------------------------------------------------
netwinder_defconfig (arm, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
netx_defconfig (arm, gcc-8) — PASS, 0 errors, 12 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
--------------------------------------------------------------------------------
nhk8815_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/cifs/cifsencrypt.c:309:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
nlm_xlp_defconfig (mips, gcc-8) — FAIL, 0 errors, 77 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
nlm_xlr_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
arch/mips/include/asm/netlogic/xlr/fmn.h:304:22: error: bitwise comparison always evaluates to false [-Werror=tautological-compare]
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
cc1: all warnings being treated as errors
--------------------------------------------------------------------------------
nuc910_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
nuc950_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
--------------------------------------------------------------------------------
nuc960_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
--------------------------------------------------------------------------------
omap1_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
omap2plus_defconfig (arm, gcc-8) — PASS, 0 errors, 36 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
orion5x_defconfig (arm, gcc-8) — PASS, 0 errors, 16 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
--------------------------------------------------------------------------------
palmz72_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
pcm027_defconfig (arm, gcc-8) — PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
pleb_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
pnx8335_stb225_defconfig (mips, gcc-8) — PASS, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1485: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:2119: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
prima2_defconfig (arm, gcc-8) — PASS, 0 errors, 9 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
pxa168_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
pxa255-idp_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
pxa3xx_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
pxa910_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
qcom_defconfig (arm, gcc-8) — PASS, 0 errors, 36 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/scsi/scsi_tgt_if.c:192:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
qi_lb60_defconfig (mips, gcc-8) — PASS, 0 errors, 30 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
raumfeld_defconfig (arm, gcc-8) — PASS, 0 errors, 15 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
rb532_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
rbtx49xx_defconfig (mips, gcc-8) — PASS, 0 errors, 30 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
realview-smp_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
realview_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
rm200_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
rpc_defconfig (arm, gcc-8) — PASS, 0 errors, 9 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
--------------------------------------------------------------------------------
rt305x_defconfig (mips, gcc-8) — FAIL, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1431: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1257: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
s3c2410_defconfig (arm, gcc-8) — PASS, 0 errors, 21 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/scsi/scsi_tgt_if.c:192:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
--------------------------------------------------------------------------------
s3c6400_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
s5p64x0_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
s5pc100_defconfig (arm, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
s5pv210_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
sama5_defconfig (arm, gcc-8) — PASS, 0 errors, 20 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/wireless/rtl818x/rtl8187/leds.c:149:2: warning: ‘strncpy’ specified bound 22 equals destination size [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
sb1250_swarm_defconfig (mips, gcc-8) — PASS, 0 errors, 48 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
sead3_defconfig (mips, gcc-8) — FAIL, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1424: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1923: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
sead3micro_defconfig (mips, gcc-8) — FAIL, 2 errors, 2 warnings, 0 section mismatches
Errors:
arch/mips/kernel/genex.S:152: Error: branch to a symbol in another ISA mode
arch/mips/kernel/genex.S:234: Error: branch to a symbol in another ISA mode
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1395: Warning: the `msa' extension requires 64-bit FPRs
--------------------------------------------------------------------------------
shannon_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
shmobile_defconfig (arm, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
simpad_defconfig (arm, gcc-8) — PASS, 0 errors, 16 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/irda/irtty-sir.c:405:3: warning: ‘strncpy’ output may be truncated copying 5 bytes from a string of length 15 [-Wstringop-truncation]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
socfpga_defconfig (arm, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
spear13xx_defconfig (arm, gcc-8) — PASS, 0 errors, 9 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
spear3xx_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
spear6xx_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
spitz_defconfig (arm, gcc-8) — PASS, 0 errors, 20 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
sunxi_defconfig (arm, gcc-8) — PASS, 0 errors, 11 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
tb0219_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
tb0226_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
tb0287_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
tct_hammer_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
tegra_defconfig (arm, gcc-8) — PASS, 0 errors, 23 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/video/hdmi.c:162:2: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
drivers/video/hdmi.c:163:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:3598:2: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:3598:2: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
trizeps4_defconfig (arm, gcc-8) — PASS, 0 errors, 20 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/net/wireless/hostap/hostap_ioctl.c:3614:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/irda/irtty-sir.c:405:3: warning: ‘strncpy’ output may be truncated copying 5 bytes from a string of length 15 [-Wstringop-truncation]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
u300_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
u8500_defconfig (arm, gcc-8) — PASS, 0 errors, 19 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
net/caif/cfctrl.c:261:3: warning: ‘strncpy’ output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/mfd/db8500-prcmu.c:2721:2: warning: ‘strncpy’ specified bound 20 equals destination size [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
versatile_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
vexpress_defconfig (arm, gcc-8) — PASS, 0 errors, 12 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
viper_defconfig (arm, gcc-8) — PASS, 0 errors, 14 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
--------------------------------------------------------------------------------
vt8500_v6_v7_defconfig (arm, gcc-8) — PASS, 0 errors, 12 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
workpad_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
x86_64_defconfig (x86_64, gcc-8) — PASS, 0 errors, 63 warnings, 0 section mismatches
Warnings:
arch/x86/kernel/rtc.c:173:29: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
arch/x86/power/hibernate_64.c:129:2: warning: ‘memcpy’ forming offset [2, 4096] is out of the bounds [0, 1] of object ‘core_restore_code’ with type ‘char’ [-Warray-bounds]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
drivers/gpu/drm/i915/intel_tv.c:1422:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/video/hdmi.c:162:2: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
drivers/video/hdmi.c:163:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
--------------------------------------------------------------------------------
xcep_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
xway_defconfig (mips, gcc-8) — FAIL, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1525: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1821: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
zeus_defconfig (arm, gcc-8) — PASS, 0 errors, 15 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
---
For more info write to <info(a)kernelci.org>
From: Johannes Berg <johannes.berg(a)intel.com>
Removing the "if (IS_ERR(dir)) dir = NULL;" check only works
if we adjust the remaining code to not rely on it being NULL.
Check IS_ERR_OR_NULL() before attempting to dereference it.
I'm not actually entirely sure this fixes the syzbot crash as
the kernel config indicates that they do have DEBUG_FS in the
kernel, but this is what I found when looking there.
Cc: stable(a)vger.kernel.org
Fixes: d82574a8e5a4 ("cfg80211: no need to check return value of debugfs_create functions")
Reported-by: syzbot+fd5332e429401bf42d18(a)syzkaller.appspotmail.com
Signed-off-by: Johannes Berg <johannes.berg(a)intel.com>
---
net/wireless/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/wireless/core.c b/net/wireless/core.c
index 341402b4f178..ce024440fa51 100644
--- a/net/wireless/core.c
+++ b/net/wireless/core.c
@@ -142,7 +142,7 @@ int cfg80211_dev_rename(struct cfg80211_registered_device *rdev,
if (result)
return result;
- if (rdev->wiphy.debugfsdir)
+ if (!IS_ERR_OR_NULL(rdev->wiphy.debugfsdir))
debugfs_rename(rdev->wiphy.debugfsdir->d_parent,
rdev->wiphy.debugfsdir,
rdev->wiphy.debugfsdir->d_parent, newname);
--
2.26.2
Hi
[This is an automated email]
This commit has been processed because it contains a "Fixes:" tag
fixing commit: c83f6bf98dc1 ("block: add partition resize function to blkpg ioctl").
The bot has tested the following trees: v5.6.13, v5.4.41, v4.19.123, v4.14.180, v4.9.223, v4.4.223.
v5.6.13: Failed to apply! Possible dependencies:
1a9fba3a77a5 ("block: unexport read_dev_sector and put_dev_sector")
2b8bd423614c ("block/diskstats: more accurate approximation of io_ticks for slow disks")
387048bf67ee ("block: merge partition-generic.c and check.c")
3ad5cee5cd00 ("block: move sysfs methods shared by disks and partitions to genhd.c")
581e26004a09 ("block: move block layer internals out of include/linux/genhd.h")
74cc979c3c7f ("block: cleanup how md_autodetect_dev is called")
f17c21c1ecb8 ("block: remove alloc_part_info and free_part_info")
ffa9ed647aa4 ("block: remove warn_no_part")
v5.4.41: Failed to apply! Possible dependencies:
387048bf67ee ("block: merge partition-generic.c and check.c")
3ad5cee5cd00 ("block: move sysfs methods shared by disks and partitions to genhd.c")
581e26004a09 ("block: move block layer internals out of include/linux/genhd.h")
5eac3eb30c9a ("block: Remove partition support for zoned block devices")
6c1b1da58f8c ("block: add zone open, close and finish operations")
74cc979c3c7f ("block: cleanup how md_autodetect_dev is called")
b68663186577 ("block: add iostat counters for flush requests")
c7a1d926dc40 ("block: Simplify REQ_OP_ZONE_RESET_ALL handling")
ceeb373aa6b9 ("block: Simplify report zones execution")
f902b0260002 ("block: refactor rescan_partitions")
v4.19.123: Failed to apply! Possible dependencies:
2268c0feb0ff ("blkcg: introduce common blkg association logic")
27e6fa996c53 ("blkcg: fix ref count issue with bio_blkcg using task_css")
43b729bfe9cf ("block: move integrity_req_gap_{back,front}_merge to blk.h")
49f4c2dc2b50 ("blkcg: update blkg_lookup_create to do locking")
581e26004a09 ("block: move block layer internals out of include/linux/genhd.h")
5bf9a1f3b4ef ("blkcg: consolidate bio_issue_init to be a part of core")
6f70fb66182b ("blkcg: remove bio_disassociate_task()")
a7b39b4e961c ("blkcg: always associate a bio with a blkg")
b5f2954d30c7 ("blkcg: revert blkcg cleanups series")
bdc2491708c4 ("blkcg: associate writeback bios with a blkg")
beea9da07d8a ("blkcg: convert blkg_lookup_create() to find closest blkg")
c839e7a03f92 ("blkcg: remove bio->bi_css and instead use bio->bi_blkg")
d459d853c2ed ("blkcg: reassociate bios when make_request() is called recursively")
ece841abbed2 ("block: fix memleak of bio integrity data")
v4.14.180: Failed to apply! Possible dependencies:
055f6e18e08f ("block: Make q_usage_counter also track legacy requests")
1b6d65a0bfb5 ("block: Introduce BLK_MQ_REQ_PREEMPT")
2268c0feb0ff ("blkcg: introduce common blkg association logic")
359f642700f2 ("block: move bio_integrity_{intervals,bytes} into blkdev.h")
37f9579f4c31 ("blk-mq: Avoid that submitting a bio concurrently with device removal triggers a crash")
3a0a529971ec ("block, scsi: Make SCSI quiesce and resume work reliably")
43b729bfe9cf ("block: move integrity_req_gap_{back,front}_merge to blk.h")
581e26004a09 ("block: move block layer internals out of include/linux/genhd.h")
6a15674d1e90 ("block: Introduce blk_get_request_flags()")
6f70fb66182b ("blkcg: remove bio_disassociate_task()")
9a95e4ef7095 ("block, nvme: Introduce blk_mq_req_flags_t")
c9254f2ddb19 ("block: Add the QUEUE_FLAG_PREEMPT_ONLY request queue flag")
d459d853c2ed ("blkcg: reassociate bios when make_request() is called recursively")
ece841abbed2 ("block: fix memleak of bio integrity data")
f421e1d9ade4 ("block: provide a direct_make_request helper")
v4.9.223: Failed to apply! Possible dependencies:
297e3d854784 ("blk-throttle: make throtl_slice tunable")
43b729bfe9cf ("block: move integrity_req_gap_{back,front}_merge to blk.h")
4e4cbee93d56 ("block: switch bios to blk_status_t")
581e26004a09 ("block: move block layer internals out of include/linux/genhd.h")
7c20f11680a4 ("bio-integrity: stop abusing bi_end_io")
87760e5eef35 ("block: hook up writeback throttling")
9e234eeafbe1 ("blk-throttle: add a simple idle detection")
cf43e6be865a ("block: add scalable completion tracking of requests")
e806402130c9 ("block: split out request-only flags into a new namespace")
fbbaf700e7b1 ("block: trace completion of all bios.")
v4.4.223: Failed to apply! Possible dependencies:
005411ea7ee7 ("doc: update block/queue-sysfs.txt entries")
27489a3c827b ("blk-mq: turn hctx->run_work into a regular work struct")
297e3d854784 ("blk-throttle: make throtl_slice tunable")
38f8baae8905 ("block: factor out chained bio completion")
43b729bfe9cf ("block: move integrity_req_gap_{back,front}_merge to blk.h")
4e4cbee93d56 ("block: switch bios to blk_status_t")
511cbce2ff8b ("irq_poll: make blk-iopoll available outside the block layer")
581e26004a09 ("block: move block layer internals out of include/linux/genhd.h")
7c20f11680a4 ("bio-integrity: stop abusing bi_end_io")
87760e5eef35 ("block: hook up writeback throttling")
8d354f133e86 ("blk-mq: improve layout of blk_mq_hw_ctx")
9467f85960a3 ("blk-mq/cpu-notif: Convert to new hotplug state machine")
9e234eeafbe1 ("blk-throttle: add a simple idle detection")
af3e3a5259e3 ("block: don't unecessarily clobber bi_error for chained bios")
ba8c6967b739 ("block: cleanup bio_endio")
cf43e6be865a ("block: add scalable completion tracking of requests")
e57690fe009b ("blk-mq: don't overwrite rq->mq_ctx")
e6a40b096e28 ("block: prepare request creation/destruction code to use REQ_OPs")
e806402130c9 ("block: split out request-only flags into a new namespace")
fbbaf700e7b1 ("block: trace completion of all bios.")
NOTE: The patch will not be queued to stable trees until it is upstream.
How should we proceed with this patch?
--
Thanks
Sasha