This is a note to let you know that I've just added the patch titled
staging: rtl8188eu: Add device code for TP-Link TL-WN727N v5.21
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-linus 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 hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From 58dcc5bf4030cab548d5c98cd4cd3632a5444d5a Mon Sep 17 00:00:00 2001
From: Michael Straube <straube.linux(a)gmail.com>
Date: Sat, 28 Dec 2019 15:37:25 +0100
Subject: staging: rtl8188eu: Add device code for TP-Link TL-WN727N v5.21
This device was added to the stand-alone driver on github.
Add it to the staging driver as well.
Link: https://github.com/lwfinger/rtl8188eu/commit/b9b537aa25a8
Signed-off-by: Michael Straube <straube.linux(a)gmail.com>
Cc: stable <stable(a)vger.kernel.org>
Link: https://lore.kernel.org/r/20191228143725.24455-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/staging/rtl8188eu/os_dep/usb_intf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
index a7cac0719b8b..b5d42f411dd8 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_intf.c
+++ b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
@@ -37,6 +37,7 @@ static const struct usb_device_id rtw_usb_id_tbl[] = {
{USB_DEVICE(0x2001, 0x3311)}, /* DLink GO-USB-N150 REV B1 */
{USB_DEVICE(0x2001, 0x331B)}, /* D-Link DWA-121 rev B1 */
{USB_DEVICE(0x2357, 0x010c)}, /* TP-Link TL-WN722N v2 */
+ {USB_DEVICE(0x2357, 0x0111)}, /* TP-Link TL-WN727N v5.21 */
{USB_DEVICE(0x0df6, 0x0076)}, /* Sitecom N150 v2 */
{USB_DEVICE(USB_VENDER_ID_REALTEK, 0xffef)}, /* Rosewill RNX-N150NUB */
{} /* Terminating entry */
--
2.24.1
This is a note to let you know that I've just added the patch titled
staging: comedi: adv_pci1710: fix AI channels 16-31 for PCI-1713
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-linus 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 hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From a9d3a9cedc1330c720e0ddde1978a8e7771da5ab Mon Sep 17 00:00:00 2001
From: Ian Abbott <abbotti(a)mev.co.uk>
Date: Fri, 27 Dec 2019 17:00:54 +0000
Subject: staging: comedi: adv_pci1710: fix AI channels 16-31 for PCI-1713
The Advantech PCI-1713 has 32 analog input channels, but an incorrect
bit-mask in the definition of the `PCI171X_MUX_CHANH(x)` and
PCI171X_MUX_CHANL(x)` macros is causing channels 16 to 31 to be aliases
of channels 0 to 15. Change the bit-mask value from 0xf to 0xff to fix
it. Note that the channel numbers will have been range checked already,
so the bit-mask isn't really needed.
Fixes: 92c65e5553ed ("staging: comedi: adv_pci1710: define the mux control register bits")
Reported-by: Dmytro Fil <monkdaf(a)gmail.com>
Cc: <stable(a)vger.kernel.org> # v4.5+
Signed-off-by: Ian Abbott <abbotti(a)mev.co.uk>
Link: https://lore.kernel.org/r/20191227170054.32051-1-abbotti@mev.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/staging/comedi/drivers/adv_pci1710.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/comedi/drivers/adv_pci1710.c b/drivers/staging/comedi/drivers/adv_pci1710.c
index dbff0f7e7cf5..ddc0dc93d08b 100644
--- a/drivers/staging/comedi/drivers/adv_pci1710.c
+++ b/drivers/staging/comedi/drivers/adv_pci1710.c
@@ -46,8 +46,8 @@
#define PCI171X_RANGE_UNI BIT(4)
#define PCI171X_RANGE_GAIN(x) (((x) & 0x7) << 0)
#define PCI171X_MUX_REG 0x04 /* W: A/D multiplexor control */
-#define PCI171X_MUX_CHANH(x) (((x) & 0xf) << 8)
-#define PCI171X_MUX_CHANL(x) (((x) & 0xf) << 0)
+#define PCI171X_MUX_CHANH(x) (((x) & 0xff) << 8)
+#define PCI171X_MUX_CHANL(x) (((x) & 0xff) << 0)
#define PCI171X_MUX_CHAN(x) (PCI171X_MUX_CHANH(x) | PCI171X_MUX_CHANL(x))
#define PCI171X_STATUS_REG 0x06 /* R: status register */
#define PCI171X_STATUS_IRQ BIT(11) /* 1=IRQ occurred */
--
2.24.1
This is a note to let you know that I've just added the patch titled
staging: vt6656: set usb_set_intfdata on driver fail.
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-linus 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 hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From c0bcf9f3f5b661d4ace2a64a79ef661edd2a4dc8 Mon Sep 17 00:00:00 2001
From: Malcolm Priestley <tvboxspy(a)gmail.com>
Date: Fri, 20 Dec 2019 21:15:59 +0000
Subject: staging: vt6656: set usb_set_intfdata on driver fail.
intfdata will contain stale pointer when the device is detached after
failed initialization when referenced in vt6656_disconnect
Provide driver access to it here and NULL it.
Cc: stable <stable(a)vger.kernel.org>
Signed-off-by: Malcolm Priestley <tvboxspy(a)gmail.com>
Link: https://lore.kernel.org/r/6de448d7-d833-ef2e-dd7b-3ef9992fee0e@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/staging/vt6656/device.h | 1 +
drivers/staging/vt6656/main_usb.c | 1 +
drivers/staging/vt6656/wcmd.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h
index 6074ceda78bf..50e1c8918040 100644
--- a/drivers/staging/vt6656/device.h
+++ b/drivers/staging/vt6656/device.h
@@ -259,6 +259,7 @@ struct vnt_private {
u8 mac_hw;
/* netdev */
struct usb_device *usb;
+ struct usb_interface *intf;
u64 tsf_time;
u8 rx_rate;
diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c
index 4a5d741f94f5..9cb924c54571 100644
--- a/drivers/staging/vt6656/main_usb.c
+++ b/drivers/staging/vt6656/main_usb.c
@@ -992,6 +992,7 @@ vt6656_probe(struct usb_interface *intf, const struct usb_device_id *id)
priv = hw->priv;
priv->hw = hw;
priv->usb = udev;
+ priv->intf = intf;
vnt_set_options(priv);
diff --git a/drivers/staging/vt6656/wcmd.c b/drivers/staging/vt6656/wcmd.c
index 3eb2f11a5de1..2c5250ca2801 100644
--- a/drivers/staging/vt6656/wcmd.c
+++ b/drivers/staging/vt6656/wcmd.c
@@ -99,6 +99,7 @@ void vnt_run_command(struct work_struct *work)
if (vnt_init(priv)) {
/* If fail all ends TODO retry */
dev_err(&priv->usb->dev, "failed to start\n");
+ usb_set_intfdata(priv->intf, NULL);
ieee80211_free_hw(priv->hw);
return;
}
--
2.24.1
This is a note to let you know that I've just added the patch titled
staging: vt6656: Fix non zero logical return of, usb_control_msg
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-linus 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 hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From 58c3e681b04dd57c70d0dcb7b69fe52d043ff75a Mon Sep 17 00:00:00 2001
From: Malcolm Priestley <tvboxspy(a)gmail.com>
Date: Fri, 20 Dec 2019 21:14:59 +0000
Subject: staging: vt6656: Fix non zero logical return of, usb_control_msg
Starting with commit 59608cb1de1856
("staging: vt6656: clean function's error path in usbpipe.c")
the usb control functions have returned errors throughout driver
with only logical variable checking.
However, usb_control_msg return the amount of bytes transferred
this means that normal operation causes errors.
Correct the return function so only return zero when transfer
is successful.
Cc: stable <stable(a)vger.kernel.org> # v5.3+
Signed-off-by: Malcolm Priestley <tvboxspy(a)gmail.com>
Link: https://lore.kernel.org/r/08e88842-6f78-a2e3-a7a0-139fec960b2b@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/staging/vt6656/usbpipe.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c
index d3304df6bd53..488ebd98773d 100644
--- a/drivers/staging/vt6656/usbpipe.c
+++ b/drivers/staging/vt6656/usbpipe.c
@@ -59,7 +59,9 @@ int vnt_control_out(struct vnt_private *priv, u8 request, u16 value,
kfree(usb_buffer);
- if (ret >= 0 && ret < (int)length)
+ if (ret == (int)length)
+ ret = 0;
+ else
ret = -EIO;
end_unlock:
@@ -103,7 +105,9 @@ int vnt_control_in(struct vnt_private *priv, u8 request, u16 value,
kfree(usb_buffer);
- if (ret >= 0 && ret < (int)length)
+ if (ret == (int)length)
+ ret = 0;
+ else
ret = -EIO;
end_unlock:
--
2.24.1
This is a note to let you know that I've just added the patch titled
staging: vt6656: limit reg output to block size
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-linus 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 hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From 69cc1f925e1aa74b96e2ace67e3453a50d091d2f Mon Sep 17 00:00:00 2001
From: Malcolm Priestley <tvboxspy(a)gmail.com>
Date: Fri, 20 Dec 2019 21:15:24 +0000
Subject: staging: vt6656: limit reg output to block size
vnt_control_out appears to fail when BBREG is greater than 64 writes.
Create new function that will relay an array in no larger than
the indicated block size.
It appears that this command has always failed but was ignored by
driver until the introduction of error checking.
Cc: stable <stable(a)vger.kernel.org> # v5.3+
Signed-off-by: Malcolm Priestley <tvboxspy(a)gmail.com>
Link: https://lore.kernel.org/r/a41f0601-df46-ce6e-ab7c-35e697946e2a@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/staging/vt6656/baseband.c | 4 ++--
drivers/staging/vt6656/usbpipe.c | 17 +++++++++++++++++
drivers/staging/vt6656/usbpipe.h | 5 +++++
3 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/vt6656/baseband.c b/drivers/staging/vt6656/baseband.c
index 8d19ae71e7cc..4e651b698617 100644
--- a/drivers/staging/vt6656/baseband.c
+++ b/drivers/staging/vt6656/baseband.c
@@ -449,8 +449,8 @@ int vnt_vt3184_init(struct vnt_private *priv)
memcpy(array, addr, length);
- ret = vnt_control_out(priv, MESSAGE_TYPE_WRITE, 0,
- MESSAGE_REQUEST_BBREG, length, array);
+ ret = vnt_control_out_blocks(priv, VNT_REG_BLOCK_SIZE,
+ MESSAGE_REQUEST_BBREG, length, array);
if (ret)
goto end;
diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c
index 488ebd98773d..d977d4777e4f 100644
--- a/drivers/staging/vt6656/usbpipe.c
+++ b/drivers/staging/vt6656/usbpipe.c
@@ -76,6 +76,23 @@ int vnt_control_out_u8(struct vnt_private *priv, u8 reg, u8 reg_off, u8 data)
reg_off, reg, sizeof(u8), &data);
}
+int vnt_control_out_blocks(struct vnt_private *priv,
+ u16 block, u8 reg, u16 length, u8 *data)
+{
+ int ret = 0, i;
+
+ for (i = 0; i < length; i += block) {
+ u16 len = min_t(int, length - i, block);
+
+ ret = vnt_control_out(priv, MESSAGE_TYPE_WRITE,
+ i, reg, len, data + i);
+ if (ret)
+ goto end;
+ }
+end:
+ return ret;
+}
+
int vnt_control_in(struct vnt_private *priv, u8 request, u16 value,
u16 index, u16 length, u8 *buffer)
{
diff --git a/drivers/staging/vt6656/usbpipe.h b/drivers/staging/vt6656/usbpipe.h
index 95147ec7b96a..b65d9c01a211 100644
--- a/drivers/staging/vt6656/usbpipe.h
+++ b/drivers/staging/vt6656/usbpipe.h
@@ -18,6 +18,8 @@
#include "device.h"
+#define VNT_REG_BLOCK_SIZE 64
+
int vnt_control_out(struct vnt_private *priv, u8 request, u16 value,
u16 index, u16 length, u8 *buffer);
int vnt_control_in(struct vnt_private *priv, u8 request, u16 value,
@@ -26,6 +28,9 @@ int vnt_control_in(struct vnt_private *priv, u8 request, u16 value,
int vnt_control_out_u8(struct vnt_private *priv, u8 reg, u8 ref_off, u8 data);
int vnt_control_in_u8(struct vnt_private *priv, u8 reg, u8 reg_off, u8 *data);
+int vnt_control_out_blocks(struct vnt_private *priv,
+ u16 block, u8 reg, u16 len, u8 *data);
+
int vnt_start_interrupt_urb(struct vnt_private *priv);
int vnt_submit_rx_urb(struct vnt_private *priv, struct vnt_rcb *rcb);
int vnt_tx_context(struct vnt_private *priv,
--
2.24.1
This is a note to let you know that I've just added the patch titled
staging: vt6656: correct return of vnt_init_registers.
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-linus 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 hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From 7de6155c8968a3342d1bef3f7a2084d31ae6e4be Mon Sep 17 00:00:00 2001
From: Malcolm Priestley <tvboxspy(a)gmail.com>
Date: Fri, 20 Dec 2019 21:15:09 +0000
Subject: staging: vt6656: correct return of vnt_init_registers.
The driver standard error returns remove bool false conditions.
Cc: stable <stable(a)vger.kernel.org> # v5.3+
Signed-off-by: Malcolm Priestley <tvboxspy(a)gmail.com>
Link: https://lore.kernel.org/r/072ec0b3-425f-277e-130c-1e3a116c90d6@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/staging/vt6656/main_usb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c
index 4ac85ecb0921..4a5d741f94f5 100644
--- a/drivers/staging/vt6656/main_usb.c
+++ b/drivers/staging/vt6656/main_usb.c
@@ -949,7 +949,7 @@ static const struct ieee80211_ops vnt_mac_ops = {
int vnt_init(struct vnt_private *priv)
{
- if (!(vnt_init_registers(priv)))
+ if (vnt_init_registers(priv))
return -EAGAIN;
SET_IEEE80211_PERM_ADDR(priv->hw, priv->permanent_net_addr);
--
2.24.1
Dobrý den,
Do dnešního dne jste nesplnili Vaši zákonnou povinnost a nevrátili mi zaplacenou finanční částku, kterou jste byli povinni mi vrátit.
Současně vás tímto upozorňujeme, že pokud k úhradě uvedené částky na základě této písemné výzvy dobrovolně nedojde, případně se ani neozvete, a to obratem, za účelem návrhu akceptovatelného řešení této situace, jsme připraveni se domáhat uvedeného nároku právní cestou, především pak podáním žaloby k místně příslušnému soudu prostřednictvím zvolené advokátní kanceláře.
Dôvodová správa v příloze (zahrnuje fakturu a smlouvu).
S pozdravem a přáním hezkého dne,
Petra Stoklasová
advokát/attorney at law
Opatovická 1642/8, Praha 1
Declaring __current_thread_info as a global register variable has the
effect of preventing GCC from saving & restoring its value in cases
where the ABI would typically do so.
To quote GCC documentation:
> If the register is a call-saved register, call ABI is affected: the
> register will not be restored in function epilogue sequences after the
> variable has been assigned. Therefore, functions cannot safely return
> to callers that assume standard ABI.
When our position independent VDSO is built for the n32 or n64 ABIs all
functions it exposes should be preserving the value of $gp/$28 for their
caller, but in the presence of the __current_thread_info global register
variable GCC stops doing so & simply clobbers $gp/$28 when calculating
the address of the GOT.
In cases where the VDSO returns success this problem will typically be
masked by the caller in libc returning & restoring $gp/$28 itself, but
that is by no means guaranteed. In cases where the VDSO returns an error
libc will typically contain a fallback path which will now fail
(typically with a bad memory access) if it attempts anything which
relies upon the value of $gp/$28 - eg. accessing anything via the GOT.
Fix this by moving the declaration of __current_thread_info inside the
current_thread_info() function, demoting it from global register
variable to local register variable & avoiding inadvertently creating a
non-standard calling ABI for the VDSO.
Signed-off-by: Paul Burton <paulburton(a)kernel.org>
Reported-by: "Jason A. Donenfeld" <Jason(a)zx2c4.com>
Fixes: ebb5e78cc634 ("MIPS: Initial implementation of a VDSO")
Cc: Arnd Bergmann <arnd(a)arndb.de>
Cc: Christian Brauner <christian.brauner(a)canonical.com>
Cc: Vincenzo Frascino <vincenzo.frascino(a)arm.com>
Cc: <stable(a)vger.kernel.org> # v4.4+
---
arch/mips/include/asm/thread_info.h | 4 ++--
arch/mips/kernel/relocate.c | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/mips/include/asm/thread_info.h b/arch/mips/include/asm/thread_info.h
index 4993db40482c..aceefc3f9a1a 100644
--- a/arch/mips/include/asm/thread_info.h
+++ b/arch/mips/include/asm/thread_info.h
@@ -50,10 +50,10 @@ struct thread_info {
}
/* How to get the thread information struct from C. */
-register struct thread_info *__current_thread_info __asm__("$28");
-
static inline struct thread_info *current_thread_info(void)
{
+ register struct thread_info *__current_thread_info __asm__("$28");
+
return __current_thread_info;
}
diff --git a/arch/mips/kernel/relocate.c b/arch/mips/kernel/relocate.c
index 3d80a51256de..c9afdc39b003 100644
--- a/arch/mips/kernel/relocate.c
+++ b/arch/mips/kernel/relocate.c
@@ -296,6 +296,7 @@ static inline int __init relocation_addr_valid(void *loc_new)
void *__init relocate_kernel(void)
{
+ register struct thread_info *__current_thread_info __asm__("$28");
void *loc_new;
unsigned long kernel_length;
unsigned long bss_length;
--
2.24.0
commit 6acdf7e19b37cb3a9258603d0eab315079c19c5e upstream.
The part_event_bitmap register is 64 bits wide, so read it with ioread64()
instead of the 32-bit ioread32().
Fixes: 52eabba5bcdb ("switchtec: Add IOCTLs to the Switchtec driver")
Link: https://lore.kernel.org/r/20190910195833.3891-1-logang@deltatee.com
Reported-by: Doug Meyer <dmeyer(a)gigaio.com>
Signed-off-by: Logan Gunthorpe <logang(a)deltatee.com>
Cc: Bjorn Helgaas <bhelgaas(a)google.com>
Cc: stable(a)vger.kernel.org # v4.12+
Cc: Kelvin Cao <Kelvin.Cao(a)microchip.com>
Cc: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
ioread64() was introduced in v5.1 so the upstream patch won't compile on
stable versions 4.14 or 4.19. This is the same patch but uses readq()
which should be equivalent.
drivers/pci/switch/switchtec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci/switch/switchtec.c b/drivers/pci/switch/switchtec.c
index e3aefdafae89..7a788b759c86 100644
--- a/drivers/pci/switch/switchtec.c
+++ b/drivers/pci/switch/switchtec.c
@@ -898,7 +898,7 @@ static int ioctl_event_summary(struct switchtec_dev *stdev,
u32 reg;
s.global = ioread32(&stdev->mmio_sw_event->global_summary);
- s.part_bitmap = ioread32(&stdev->mmio_sw_event->part_event_bitmap);
+ s.part_bitmap = readq(&stdev->mmio_sw_event->part_event_bitmap);
s.local_part = ioread32(&stdev->mmio_part_cfg->part_event_summary);
for (i = 0; i < stdev->partition_count; i++) {
--
2.20.1
If a TPM is in disabled state, it's reasonable for it to have an empty
log. Bailing out of probe in this case means that the PPI interface
isn't available, so there's no way to then enable the TPM from the OS.
In general it seems reasonable to ignore log errors - they shouldn't
itnerfere with any other TPM functionality.
Signed-off-by: Matthew Garrett <mjg59(a)google.com>
Cc: stable(a)vger.kernel.org
---
drivers/char/tpm/tpm-chip.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/char/tpm/tpm-chip.c b/drivers/char/tpm/tpm-chip.c
index 3d6d394a8661..58073836b555 100644
--- a/drivers/char/tpm/tpm-chip.c
+++ b/drivers/char/tpm/tpm-chip.c
@@ -596,9 +596,7 @@ int tpm_chip_register(struct tpm_chip *chip)
tpm_sysfs_add_device(chip);
- rc = tpm_bios_log_setup(chip);
- if (rc != 0 && rc != -ENODEV)
- return rc;
+ tpm_bios_log_setup(chip);
tpm_add_ppi(chip);
--
2.24.1.735.g03f4e72817-goog
This is a note to let you know that I've just added the patch titled
USB-PD tcpm: bad warning+size, PPS adapters
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-linus 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 hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From c215e48e97d232249a33849fc46fc50311043e11 Mon Sep 17 00:00:00 2001
From: Douglas Gilbert <dgilbert(a)interlog.com>
Date: Sun, 29 Dec 2019 22:35:44 -0500
Subject: USB-PD tcpm: bad warning+size, PPS adapters
Augmented Power Delivery Objects (A)PDO_s are used by USB-C
PD power adapters to advertize the voltages and currents
they support. There can be up to 7 PDO_s but before PPS
(programmable power supply) there were seldom more than 4
or 5. Recently Samsung released an optional PPS 45 Watt power
adapter (EP-TA485) that has 7 PDO_s. It is for the Galaxy 10+
tablet and charges it quicker than the adapter supplied at
purchase. The EP-TA485 causes an overzealous WARN_ON to soil
the log plus it miscalculates the number of bytes to read.
So this bug has been there for some time but goes
undetected for the majority of USB-C PD power adapters on
the market today that have 6 or less PDO_s. That may soon
change as more USB-C PD adapters with PPS come to market.
Tested on a EP-TA485 and an older Lenovo PN: SA10M13950
USB-C 65 Watt adapter (without PPS and has 4 PDO_s) plus
several other PD power adapters.
Signed-off-by: Douglas Gilbert <dgilbert(a)interlog.com>
Reviewed-by: Guenter Roeck <linux(a)roeck-us.net>
Cc: stable <stable(a)vger.kernel.org>
Link: https://lore.kernel.org/r/20191230033544.1809-1-dgilbert@interlog.com
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/usb/typec/tcpm/tcpci.c | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/typec/tcpm/tcpci.c b/drivers/usb/typec/tcpm/tcpci.c
index c1f7073a56de..8b4ff9fff340 100644
--- a/drivers/usb/typec/tcpm/tcpci.c
+++ b/drivers/usb/typec/tcpm/tcpci.c
@@ -432,20 +432,30 @@ irqreturn_t tcpci_irq(struct tcpci *tcpci)
if (status & TCPC_ALERT_RX_STATUS) {
struct pd_message msg;
- unsigned int cnt;
+ unsigned int cnt, payload_cnt;
u16 header;
regmap_read(tcpci->regmap, TCPC_RX_BYTE_CNT, &cnt);
+ /*
+ * 'cnt' corresponds to READABLE_BYTE_COUNT in section 4.4.14
+ * of the TCPCI spec [Rev 2.0 Ver 1.0 October 2017] and is
+ * defined in table 4-36 as one greater than the number of
+ * bytes received. And that number includes the header. So:
+ */
+ if (cnt > 3)
+ payload_cnt = cnt - (1 + sizeof(msg.header));
+ else
+ payload_cnt = 0;
tcpci_read16(tcpci, TCPC_RX_HDR, &header);
msg.header = cpu_to_le16(header);
- if (WARN_ON(cnt > sizeof(msg.payload)))
- cnt = sizeof(msg.payload);
+ if (WARN_ON(payload_cnt > sizeof(msg.payload)))
+ payload_cnt = sizeof(msg.payload);
- if (cnt > 0)
+ if (payload_cnt > 0)
regmap_raw_read(tcpci->regmap, TCPC_RX_DATA,
- &msg.payload, cnt);
+ &msg.payload, payload_cnt);
/* Read complete, clear RX status alert bit */
tcpci_write16(tcpci, TCPC_ALERT, TCPC_ALERT_RX_STATUS);
--
2.24.1
Under load, the RX side of the mscan driver can get stuck while TX still
works. Restarting the interface locks up the system. This behaviour
could be reproduced reliably on a MPC5121e based system.
The patch fixes the return value of the NAPI polling function (should be
the number of processed packets, not constant 1) and the condition under
which IRQs are enabled again after polling is finished.
With this patch, no more lockups were observed over a test period of ten
days.
Signed-off-by: Florian Faber <faber(a)faberman.de>
---
diff -uprN a/drivers/net/can/mscan/mscan.c b/drivers/net/can/mscan/mscan.c
--- a/drivers/net/can/mscan/mscan.c
+++ b/drivers/net/can/mscan/mscan.c
@@ -381,10 +381,9 @@ static int mscan_rx_poll(struct napi_str
struct net_device *dev = napi->dev;
struct mscan_regs __iomem *regs = priv->reg_base;
struct net_device_stats *stats = &dev->stats;
- int npackets = 0;
- int ret = 1;
+ int work_done = 0;
struct sk_buff *skb;
struct can_frame *frame;
u8 canrflg;
- while (npackets < quota) {
+ while (work_done < quota) {
canrflg = in_8(®s->canrflg);
if (!(canrflg & (MSCAN_RXF | MSCAN_ERR_IF)))
@@ -408,15 +409,16 @@ static int mscan_rx_poll(struct napi_str
stats->rx_packets++;
stats->rx_bytes += frame->can_dlc;
- npackets++;
+ work_done++;
netif_receive_skb(skb);
}
- if (!(in_8(®s->canrflg) & (MSCAN_RXF | MSCAN_ERR_IF))) {
- napi_complete(&priv->napi);
- clear_bit(F_RX_PROGRESS, &priv->flags);
- if (priv->can.state < CAN_STATE_BUS_OFF)
- out_8(®s->canrier, priv->shadow_canrier);
- ret = 0;
+ if (work_done < quota) {
+ if (likely(napi_complete_done(&priv->napi, work_done))) {
+ clear_bit(F_RX_PROGRESS, &priv->flags);
+ if (priv->can.state < CAN_STATE_BUS_OFF)
+ out_8(®s->canrier, priv->shadow_canrier);
+ }
}
- return ret;
+
+ return work_done;
}
--
Machines can do the work, so people have time to think.
The m_can tries to detect of niso (canfd) is available while in standby,
this function results in the following error:
tcan4x5x spi2.0 (unnamed net_device) (uninitialized): Failed to init module
tcan4x5x spi2.0: m_can device registered (irq=84, version=32)
tcan4x5x spi2.0 can2: TCAN4X5X successfully initialized.
When the tcan device comes out of reset it comes out in standby mode.
The m_can driver tries to access the control register but fails due to
the device is in standby mode.
So this patch will put the tcan device in normal mode before the m_can
driver does the initialization.
Fixes: 5443c226ba91 ("can: tcan4x5x: Add tcan4x5x driver to the kernel")
Cc: stable(a)vger.kernel.org
Signed-off-by: Sean Nyekjaer <sean(a)geanix.com>
---
tcan4x5x_init will now be called from probe and the m_can call.
Would it be better to move the mode switch only to the probe function?
drivers/net/can/m_can/tcan4x5x.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/can/m_can/tcan4x5x.c b/drivers/net/can/m_can/tcan4x5x.c
index 4e1789ea2bc3..3c30209ca84c 100644
--- a/drivers/net/can/m_can/tcan4x5x.c
+++ b/drivers/net/can/m_can/tcan4x5x.c
@@ -455,6 +455,8 @@ static int tcan4x5x_can_probe(struct spi_device *spi)
if (ret)
goto out_clk;
+ tcan4x5x_init(mcan_class);
+
tcan4x5x_power_enable(priv->power, 1);
ret = m_can_class_register(mcan_class);
--
2.24.0
From: Florian Faber <faber(a)faberman.de>
Under load, the RX side of the mscan driver can get stuck while TX still
works. Restarting the interface locks up the system. This behaviour
could be reproduced reliably on a MPC5121e based system.
The patch fixes the return value of the NAPI polling function (should be
the number of processed packets, not constant 1) and the condition under
which IRQs are enabled again after polling is finished.
With this patch, no more lockups were observed over a test period of ten
days.
Fixes: afa17a500a36 ("net/can: add driver for mscan family & mpc52xx_mscan")
Signed-off-by: Florian Faber <faber(a)faberman.de>
Cc: linux-stable <stable(a)vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl(a)pengutronix.de>
---
drivers/net/can/mscan/mscan.c | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/drivers/net/can/mscan/mscan.c b/drivers/net/can/mscan/mscan.c
index 8caf7af0dee2..99101d7027a8 100644
--- a/drivers/net/can/mscan/mscan.c
+++ b/drivers/net/can/mscan/mscan.c
@@ -381,13 +381,12 @@ static int mscan_rx_poll(struct napi_struct *napi, int quota)
struct net_device *dev = napi->dev;
struct mscan_regs __iomem *regs = priv->reg_base;
struct net_device_stats *stats = &dev->stats;
- int npackets = 0;
- int ret = 1;
+ int work_done = 0;
struct sk_buff *skb;
struct can_frame *frame;
u8 canrflg;
- while (npackets < quota) {
+ while (work_done < quota) {
canrflg = in_8(®s->canrflg);
if (!(canrflg & (MSCAN_RXF | MSCAN_ERR_IF)))
break;
@@ -408,18 +407,18 @@ static int mscan_rx_poll(struct napi_struct *napi, int quota)
stats->rx_packets++;
stats->rx_bytes += frame->can_dlc;
- npackets++;
+ work_done++;
netif_receive_skb(skb);
}
- if (!(in_8(®s->canrflg) & (MSCAN_RXF | MSCAN_ERR_IF))) {
- napi_complete(&priv->napi);
- clear_bit(F_RX_PROGRESS, &priv->flags);
- if (priv->can.state < CAN_STATE_BUS_OFF)
- out_8(®s->canrier, priv->shadow_canrier);
- ret = 0;
+ if (work_done < quota) {
+ if (likely(napi_complete_done(&priv->napi, work_done))) {
+ clear_bit(F_RX_PROGRESS, &priv->flags);
+ if (priv->can.state < CAN_STATE_BUS_OFF)
+ out_8(®s->canrier, priv->shadow_canrier);
+ }
}
- return ret;
+ return work_done;
}
static irqreturn_t mscan_isr(int irq, void *dev_id)
--
2.24.1
From: Johan Hovold <johan(a)kernel.org>
Make sure to use the current alternate setting when verifying the
interface descriptors to avoid binding to an invalid interface.
Failing to do so could cause the driver to misbehave or trigger a WARN()
in usb_submit_urb() that kernels with panic_on_warn set would choke on.
Fixes: aec5fb2268b7 ("can: kvaser_usb: Add support for Kvaser USB hydra family")
Cc: stable <stable(a)vger.kernel.org> # 4.19
Cc: Jimmy Assarsson <extja(a)kvaser.com>
Cc: Christer Beskow <chbe(a)kvaser.com>
Cc: Nicklas Johansson <extnj(a)kvaser.com>
Cc: Martin Henriksson <mh(a)kvaser.com>
Signed-off-by: Johan Hovold <johan(a)kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl(a)pengutronix.de>
---
drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c | 2 +-
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c b/drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c
index 5fc0be564274..7ab87a758754 100644
--- a/drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c
+++ b/drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c
@@ -1590,7 +1590,7 @@ static int kvaser_usb_hydra_setup_endpoints(struct kvaser_usb *dev)
struct usb_endpoint_descriptor *ep;
int i;
- iface_desc = &dev->intf->altsetting[0];
+ iface_desc = dev->intf->cur_altsetting;
for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
ep = &iface_desc->endpoint[i].desc;
diff --git a/drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c b/drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
index ae4c37e1bb75..1b9957f12459 100644
--- a/drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
+++ b/drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
@@ -1310,7 +1310,7 @@ static int kvaser_usb_leaf_setup_endpoints(struct kvaser_usb *dev)
struct usb_endpoint_descriptor *endpoint;
int i;
- iface_desc = &dev->intf->altsetting[0];
+ iface_desc = dev->intf->cur_altsetting;
for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
endpoint = &iface_desc->endpoint[i].desc;
--
2.24.1
From: Oliver Hartkopp <socketcan(a)hartkopp.net>
KMSAN sysbot detected a read access to an untinitialized value in the
headroom of an outgoing CAN related sk_buff. When using CAN sockets this
area is filled appropriately - but when using a packet socket this
initialization is missing.
The problematic read access occurs in the CAN receive path which can
only be triggered when the sk_buff is sent through a (virtual) CAN
interface. So we check in the sending path whether we need to perform
the missing initializations.
Fixes: d3b58c47d330d ("can: replace timestamp as unique skb attribute")
Reported-by: syzbot+b02ff0707a97e4e79ebb(a)syzkaller.appspotmail.com
Signed-off-by: Oliver Hartkopp <socketcan(a)hartkopp.net>
Tested-by: Oliver Hartkopp <socketcan(a)hartkopp.net>
Cc: linux-stable <stable(a)vger.kernel.org> # >= v4.1
Signed-off-by: Marc Kleine-Budde <mkl(a)pengutronix.de>
---
include/linux/can/dev.h | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/include/linux/can/dev.h b/include/linux/can/dev.h
index 9b3c720a31b1..5e3d45525bd3 100644
--- a/include/linux/can/dev.h
+++ b/include/linux/can/dev.h
@@ -18,6 +18,7 @@
#include <linux/can/error.h>
#include <linux/can/led.h>
#include <linux/can/netlink.h>
+#include <linux/can/skb.h>
#include <linux/netdevice.h>
/*
@@ -91,6 +92,36 @@ struct can_priv {
#define get_can_dlc(i) (min_t(__u8, (i), CAN_MAX_DLC))
#define get_canfd_dlc(i) (min_t(__u8, (i), CANFD_MAX_DLC))
+/* Check for outgoing skbs that have not been created by the CAN subsystem */
+static inline bool can_skb_headroom_valid(struct net_device *dev,
+ struct sk_buff *skb)
+{
+ /* af_packet creates a headroom of HH_DATA_MOD bytes which is fine */
+ if (WARN_ON_ONCE(skb_headroom(skb) < sizeof(struct can_skb_priv)))
+ return false;
+
+ /* af_packet does not apply CAN skb specific settings */
+ if (skb->ip_summed == CHECKSUM_NONE) {
+ /* init headroom */
+ can_skb_prv(skb)->ifindex = dev->ifindex;
+ can_skb_prv(skb)->skbcnt = 0;
+
+ skb->ip_summed = CHECKSUM_UNNECESSARY;
+
+ /* preform proper loopback on capable devices */
+ if (dev->flags & IFF_ECHO)
+ skb->pkt_type = PACKET_LOOPBACK;
+ else
+ skb->pkt_type = PACKET_HOST;
+
+ skb_reset_mac_header(skb);
+ skb_reset_network_header(skb);
+ skb_reset_transport_header(skb);
+ }
+
+ return true;
+}
+
/* Drop a given socketbuffer if it does not contain a valid CAN frame. */
static inline bool can_dropped_invalid_skb(struct net_device *dev,
struct sk_buff *skb)
@@ -108,6 +139,9 @@ static inline bool can_dropped_invalid_skb(struct net_device *dev,
} else
goto inval_skb;
+ if (!can_skb_headroom_valid(dev, skb))
+ goto inval_skb;
+
return false;
inval_skb:
--
2.24.1
From: Sean Nyekjaer <sean(a)geanix.com>
The m_can tries to detect if Non ISO Operation is available while in
standby mode, this function results in the following error:
| tcan4x5x spi2.0 (unnamed net_device) (uninitialized): Failed to init module
| tcan4x5x spi2.0: m_can device registered (irq=84, version=32)
| tcan4x5x spi2.0 can2: TCAN4X5X successfully initialized.
When the tcan device comes out of reset it goes in standby mode. The
m_can driver tries to access the control register but fails due to the
device being in standby mode.
So this patch will put the tcan device in normal mode before the m_can
driver does the initialization.
Fixes: 5443c226ba91 ("can: tcan4x5x: Add tcan4x5x driver to the kernel")
Cc: stable(a)vger.kernel.org
Signed-off-by: Sean Nyekjaer <sean(a)geanix.com>
Acked-by: Dan Murphy <dmurphy(a)ti.com>
Signed-off-by: Marc Kleine-Budde <mkl(a)pengutronix.de>
---
drivers/net/can/m_can/tcan4x5x.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/net/can/m_can/tcan4x5x.c b/drivers/net/can/m_can/tcan4x5x.c
index 4e1789ea2bc3..c9fb864fcfa1 100644
--- a/drivers/net/can/m_can/tcan4x5x.c
+++ b/drivers/net/can/m_can/tcan4x5x.c
@@ -457,6 +457,10 @@ static int tcan4x5x_can_probe(struct spi_device *spi)
tcan4x5x_power_enable(priv->power, 1);
+ ret = tcan4x5x_init(mcan_class);
+ if (ret)
+ goto out_power;
+
ret = m_can_class_register(mcan_class);
if (ret)
goto out_power;
--
2.24.1
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 a3a57ddad061acc90bef39635caf2b2330ce8f21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20H=2E=20Sch=C3=B6nherr?= <jschoenh(a)amazon.de>
Date: Tue, 10 Dec 2019 01:07:30 +0100
Subject: [PATCH] x86/mce: Fix possibly incorrect severity calculation on AMD
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The function mce_severity_amd_smca() requires m->bank to be initialized
for correct operation. Fix the one case, where mce_severity() is called
without doing so.
Fixes: 6bda529ec42e ("x86/mce: Grade uncorrected errors for SMCA-enabled systems")
Fixes: d28af26faa0b ("x86/MCE: Initialize mce.bank in the case of a fatal error in mce_no_way_out()")
Signed-off-by: Jan H. Schönherr <jschoenh(a)amazon.de>
Signed-off-by: Borislav Petkov <bp(a)suse.de>
Reviewed-by: Tony Luck <tony.luck(a)intel.com>
Cc: "H. Peter Anvin" <hpa(a)zytor.com>
Cc: Ingo Molnar <mingo(a)kernel.org>
Cc: linux-edac <linux-edac(a)vger.kernel.org>
Cc: <stable(a)vger.kernel.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Cc: x86-ml <x86(a)kernel.org>
Cc: Yazen Ghannam <Yazen.Ghannam(a)amd.com>
Link: https://lkml.kernel.org/r/20191210000733.17979-4-jschoenh@amazon.de
diff --git a/arch/x86/kernel/cpu/mce/core.c b/arch/x86/kernel/cpu/mce/core.c
index 5f42f25bac8f..2e2a421c8528 100644
--- a/arch/x86/kernel/cpu/mce/core.c
+++ b/arch/x86/kernel/cpu/mce/core.c
@@ -819,8 +819,8 @@ static int mce_no_way_out(struct mce *m, char **msg, unsigned long *validp,
if (quirk_no_way_out)
quirk_no_way_out(i, m, regs);
+ m->bank = i;
if (mce_severity(m, mca_cfg.tolerant, &tmp, true) >= MCE_PANIC_SEVERITY) {
- m->bank = i;
mce_read_aux(m, i);
*msg = tmp;
return 1;
This is a note to let you know that I've just added the patch titled
USB: serial: option: add ZLP support for 0x1bc7/0x9010
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-linus 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 hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From 2438c3a19dec5e98905fd3ffcc2f24716aceda6b Mon Sep 17 00:00:00 2001
From: Daniele Palmas <dnlplm(a)gmail.com>
Date: Thu, 19 Dec 2019 11:07:07 +0100
Subject: USB: serial: option: add ZLP support for 0x1bc7/0x9010
Telit FN980 flashing device 0x1bc7/0x9010 requires zero packet
to be sent if out data size is is equal to the endpoint max size.
Signed-off-by: Daniele Palmas <dnlplm(a)gmail.com>
[ johan: switch operands in conditional ]
Cc: stable <stable(a)vger.kernel.org>
Signed-off-by: Johan Hovold <johan(a)kernel.org>
---
drivers/usb/serial/option.c | 8 ++++++++
drivers/usb/serial/usb-wwan.h | 1 +
drivers/usb/serial/usb_wwan.c | 4 ++++
3 files changed, 13 insertions(+)
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index fea09a3f491f..2d919d0e6e45 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -567,6 +567,9 @@ static void option_instat_callback(struct urb *urb);
/* Interface must have two endpoints */
#define NUMEP2 BIT(16)
+/* Device needs ZLP */
+#define ZLP BIT(17)
+
static const struct usb_device_id option_ids[] = {
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },
@@ -1198,6 +1201,8 @@ static const struct usb_device_id option_ids[] = {
.driver_info = NCTRL(0) | RSVD(1) },
{ USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1901, 0xff), /* Telit LN940 (MBIM) */
.driver_info = NCTRL(0) },
+ { USB_DEVICE(TELIT_VENDOR_ID, 0x9010), /* Telit SBL FN980 flashing device */
+ .driver_info = NCTRL(0) | ZLP },
{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_MF622, 0xff, 0xff, 0xff) }, /* ZTE WCDMA products */
{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0002, 0xff, 0xff, 0xff),
.driver_info = RSVD(1) },
@@ -2099,6 +2104,9 @@ static int option_attach(struct usb_serial *serial)
if (!(device_flags & NCTRL(iface_desc->bInterfaceNumber)))
data->use_send_setup = 1;
+ if (device_flags & ZLP)
+ data->use_zlp = 1;
+
spin_lock_init(&data->susp_lock);
usb_set_serial_data(serial, data);
diff --git a/drivers/usb/serial/usb-wwan.h b/drivers/usb/serial/usb-wwan.h
index 1c120eaf4091..934e9361cf6b 100644
--- a/drivers/usb/serial/usb-wwan.h
+++ b/drivers/usb/serial/usb-wwan.h
@@ -38,6 +38,7 @@ struct usb_wwan_intf_private {
spinlock_t susp_lock;
unsigned int suspended:1;
unsigned int use_send_setup:1;
+ unsigned int use_zlp:1;
int in_flight;
unsigned int open_ports;
void *private;
diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c
index 7e855c87e4f7..13be21aad2f4 100644
--- a/drivers/usb/serial/usb_wwan.c
+++ b/drivers/usb/serial/usb_wwan.c
@@ -461,6 +461,7 @@ static struct urb *usb_wwan_setup_urb(struct usb_serial_port *port,
void (*callback) (struct urb *))
{
struct usb_serial *serial = port->serial;
+ struct usb_wwan_intf_private *intfdata = usb_get_serial_data(serial);
struct urb *urb;
urb = usb_alloc_urb(0, GFP_KERNEL); /* No ISO */
@@ -471,6 +472,9 @@ static struct urb *usb_wwan_setup_urb(struct usb_serial_port *port,
usb_sndbulkpipe(serial->dev, endpoint) | dir,
buf, len, callback, ctx);
+ if (intfdata->use_zlp && dir == USB_DIR_OUT)
+ urb->transfer_flags |= URB_ZERO_PACKET;
+
return urb;
}
--
2.24.1
This is a note to let you know that I've just added the patch titled
USB: serial: option: add Telit ME910G1 0x110a composition
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-linus 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 hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From 0d3010fa442429f8780976758719af05592ff19f Mon Sep 17 00:00:00 2001
From: Daniele Palmas <dnlplm(a)gmail.com>
Date: Fri, 13 Dec 2019 14:56:15 +0100
Subject: USB: serial: option: add Telit ME910G1 0x110a composition
This patch adds the following Telit ME910G1 composition:
0x110a: tty, tty, tty, rmnet
Signed-off-by: Daniele Palmas <dnlplm(a)gmail.com>
Cc: stable <stable(a)vger.kernel.org>
Signed-off-by: Johan Hovold <johan(a)kernel.org>
---
drivers/usb/serial/option.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index e9491d400a24..fea09a3f491f 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -1172,6 +1172,8 @@ static const struct usb_device_id option_ids[] = {
.driver_info = NCTRL(0) | RSVD(3) },
{ USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1102, 0xff), /* Telit ME910 (ECM) */
.driver_info = NCTRL(0) },
+ { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x110a, 0xff), /* Telit ME910G1 */
+ .driver_info = NCTRL(0) | RSVD(3) },
{ USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE910),
.driver_info = NCTRL(0) | RSVD(1) | RSVD(2) },
{ USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE910_USBCFG4),
--
2.24.1
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 94dc550a5062030569d4aa76e10e50c8fc001930 Mon Sep 17 00:00:00 2001
From: Taehee Yoo <ap420073(a)gmail.com>
Date: Wed, 11 Dec 2019 08:23:34 +0000
Subject: [PATCH] gtp: fix an use-after-free in ipv4_pdp_find()
ipv4_pdp_find() is called in TX packet path of GTP.
ipv4_pdp_find() internally uses gtp->tid_hash to lookup pdp context.
In the current code, gtp->tid_hash and gtp->addr_hash are freed by
->dellink(), which is gtp_dellink().
But gtp_dellink() would be called while packets are processing.
So, gtp_dellink() should not free gtp->tid_hash and gtp->addr_hash.
Instead, dev->priv_destructor() would be used because this callback
is called after all packet processing safely.
Test commands:
ip link add veth1 type veth peer name veth2
ip a a 172.0.0.1/24 dev veth1
ip link set veth1 up
ip a a 172.99.0.1/32 dev lo
gtp-link add gtp1 &
gtp-tunnel add gtp1 v1 200 100 172.99.0.2 172.0.0.2
ip r a 172.99.0.2/32 dev gtp1
ip link set gtp1 mtu 1500
ip netns add ns2
ip link set veth2 netns ns2
ip netns exec ns2 ip a a 172.0.0.2/24 dev veth2
ip netns exec ns2 ip link set veth2 up
ip netns exec ns2 ip a a 172.99.0.2/32 dev lo
ip netns exec ns2 ip link set lo up
ip netns exec ns2 gtp-link add gtp2 &
ip netns exec ns2 gtp-tunnel add gtp2 v1 100 200 172.99.0.1 172.0.0.1
ip netns exec ns2 ip r a 172.99.0.1/32 dev gtp2
ip netns exec ns2 ip link set gtp2 mtu 1500
hping3 172.99.0.2 -2 --flood &
ip link del gtp1
Splat looks like:
[ 72.568081][ T1195] BUG: KASAN: use-after-free in ipv4_pdp_find.isra.12+0x130/0x170 [gtp]
[ 72.568916][ T1195] Read of size 8 at addr ffff8880b9a35d28 by task hping3/1195
[ 72.569631][ T1195]
[ 72.569861][ T1195] CPU: 2 PID: 1195 Comm: hping3 Not tainted 5.5.0-rc1 #199
[ 72.570547][ T1195] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[ 72.571438][ T1195] Call Trace:
[ 72.571764][ T1195] dump_stack+0x96/0xdb
[ 72.572171][ T1195] ? ipv4_pdp_find.isra.12+0x130/0x170 [gtp]
[ 72.572761][ T1195] print_address_description.constprop.5+0x1be/0x360
[ 72.573400][ T1195] ? ipv4_pdp_find.isra.12+0x130/0x170 [gtp]
[ 72.573971][ T1195] ? ipv4_pdp_find.isra.12+0x130/0x170 [gtp]
[ 72.574544][ T1195] __kasan_report+0x12a/0x16f
[ 72.575014][ T1195] ? ipv4_pdp_find.isra.12+0x130/0x170 [gtp]
[ 72.575593][ T1195] kasan_report+0xe/0x20
[ 72.576004][ T1195] ipv4_pdp_find.isra.12+0x130/0x170 [gtp]
[ 72.576577][ T1195] gtp_build_skb_ip4+0x199/0x1420 [gtp]
[ ... ]
[ 72.647671][ T1195] BUG: unable to handle page fault for address: ffff8880b9a35d28
[ 72.648512][ T1195] #PF: supervisor read access in kernel mode
[ 72.649158][ T1195] #PF: error_code(0x0000) - not-present page
[ 72.649849][ T1195] PGD a6c01067 P4D a6c01067 PUD 11fb07067 PMD 11f939067 PTE 800fffff465ca060
[ 72.652958][ T1195] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN PTI
[ 72.653834][ T1195] CPU: 2 PID: 1195 Comm: hping3 Tainted: G B 5.5.0-rc1 #199
[ 72.668062][ T1195] RIP: 0010:ipv4_pdp_find.isra.12+0x86/0x170 [gtp]
[ ... ]
[ 72.679168][ T1195] Call Trace:
[ 72.679603][ T1195] gtp_build_skb_ip4+0x199/0x1420 [gtp]
[ 72.681915][ T1195] ? ipv4_pdp_find.isra.12+0x170/0x170 [gtp]
[ 72.682513][ T1195] ? lock_acquire+0x164/0x3b0
[ 72.682966][ T1195] ? gtp_dev_xmit+0x35e/0x890 [gtp]
[ 72.683481][ T1195] gtp_dev_xmit+0x3c2/0x890 [gtp]
[ ... ]
Fixes: 459aa660eb1d ("gtp: add initial driver for datapath of GPRS Tunneling Protocol (GTP-U)")
Signed-off-by: Taehee Yoo <ap420073(a)gmail.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski(a)netronome.com>
diff --git a/drivers/net/gtp.c b/drivers/net/gtp.c
index a010e0a11c33..5450b1099c6d 100644
--- a/drivers/net/gtp.c
+++ b/drivers/net/gtp.c
@@ -640,9 +640,16 @@ static void gtp_link_setup(struct net_device *dev)
}
static int gtp_hashtable_new(struct gtp_dev *gtp, int hsize);
-static void gtp_hashtable_free(struct gtp_dev *gtp);
static int gtp_encap_enable(struct gtp_dev *gtp, struct nlattr *data[]);
+static void gtp_destructor(struct net_device *dev)
+{
+ struct gtp_dev *gtp = netdev_priv(dev);
+
+ kfree(gtp->addr_hash);
+ kfree(gtp->tid_hash);
+}
+
static int gtp_newlink(struct net *src_net, struct net_device *dev,
struct nlattr *tb[], struct nlattr *data[],
struct netlink_ext_ack *extack)
@@ -677,13 +684,15 @@ static int gtp_newlink(struct net *src_net, struct net_device *dev,
gn = net_generic(dev_net(dev), gtp_net_id);
list_add_rcu(>p->list, &gn->gtp_dev_list);
+ dev->priv_destructor = gtp_destructor;
netdev_dbg(dev, "registered new GTP interface\n");
return 0;
out_hashtable:
- gtp_hashtable_free(gtp);
+ kfree(gtp->addr_hash);
+ kfree(gtp->tid_hash);
out_encap:
gtp_encap_disable(gtp);
return err;
@@ -692,8 +701,13 @@ static int gtp_newlink(struct net *src_net, struct net_device *dev,
static void gtp_dellink(struct net_device *dev, struct list_head *head)
{
struct gtp_dev *gtp = netdev_priv(dev);
+ struct pdp_ctx *pctx;
+ int i;
+
+ for (i = 0; i < gtp->hash_size; i++)
+ hlist_for_each_entry_rcu(pctx, >p->tid_hash[i], hlist_tid)
+ pdp_context_delete(pctx);
- gtp_hashtable_free(gtp);
list_del_rcu(>p->list);
unregister_netdevice_queue(dev, head);
}
@@ -771,20 +785,6 @@ static int gtp_hashtable_new(struct gtp_dev *gtp, int hsize)
return -ENOMEM;
}
-static void gtp_hashtable_free(struct gtp_dev *gtp)
-{
- struct pdp_ctx *pctx;
- int i;
-
- for (i = 0; i < gtp->hash_size; i++)
- hlist_for_each_entry_rcu(pctx, >p->tid_hash[i], hlist_tid)
- pdp_context_delete(pctx);
-
- synchronize_rcu();
- kfree(gtp->addr_hash);
- kfree(gtp->tid_hash);
-}
-
static struct sock *gtp_encap_enable_socket(int fd, int type,
struct gtp_dev *gtp)
{
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 cb47b9f8630ae3fa3f5fbd0c7003faba7abdf711 Mon Sep 17 00:00:00 2001
From: David Engraf <david.engraf(a)sysgo.com>
Date: Mon, 16 Dec 2019 09:54:03 +0100
Subject: [PATCH] tty/serial: atmel: fix out of range clock divider handling
Use MCK_DIV8 when the clock divider is > 65535. Unfortunately the mode
register was already written thus the clock selection is ignored.
Fix by doing the baud rate calulation before setting the mode.
Fixes: 5bf5635ac170 ("tty/serial: atmel: add fractional baud rate support")
Signed-off-by: David Engraf <david.engraf(a)sysgo.com>
Acked-by: Ludovic Desroches <ludovic.desroches(a)microchip.com>
Acked-by: Richard Genoud <richard.genoud(a)gmail.com>
Cc: stable <stable(a)vger.kernel.org>
Link: https://lore.kernel.org/r/20191216085403.17050-1-david.engraf@sysgo.com
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c
index a8dc8af83f39..1ba9bc667e13 100644
--- a/drivers/tty/serial/atmel_serial.c
+++ b/drivers/tty/serial/atmel_serial.c
@@ -2270,27 +2270,6 @@ static void atmel_set_termios(struct uart_port *port, struct ktermios *termios,
mode |= ATMEL_US_USMODE_NORMAL;
}
- /* set the mode, clock divisor, parity, stop bits and data size */
- atmel_uart_writel(port, ATMEL_US_MR, mode);
-
- /*
- * when switching the mode, set the RTS line state according to the
- * new mode, otherwise keep the former state
- */
- if ((old_mode & ATMEL_US_USMODE) != (mode & ATMEL_US_USMODE)) {
- unsigned int rts_state;
-
- if ((mode & ATMEL_US_USMODE) == ATMEL_US_USMODE_HWHS) {
- /* let the hardware control the RTS line */
- rts_state = ATMEL_US_RTSDIS;
- } else {
- /* force RTS line to low level */
- rts_state = ATMEL_US_RTSEN;
- }
-
- atmel_uart_writel(port, ATMEL_US_CR, rts_state);
- }
-
/*
* Set the baud rate:
* Fractional baudrate allows to setup output frequency more
@@ -2317,6 +2296,28 @@ static void atmel_set_termios(struct uart_port *port, struct ktermios *termios,
if (!(port->iso7816.flags & SER_ISO7816_ENABLED))
atmel_uart_writel(port, ATMEL_US_BRGR, quot);
+
+ /* set the mode, clock divisor, parity, stop bits and data size */
+ atmel_uart_writel(port, ATMEL_US_MR, mode);
+
+ /*
+ * when switching the mode, set the RTS line state according to the
+ * new mode, otherwise keep the former state
+ */
+ if ((old_mode & ATMEL_US_USMODE) != (mode & ATMEL_US_USMODE)) {
+ unsigned int rts_state;
+
+ if ((mode & ATMEL_US_USMODE) == ATMEL_US_USMODE_HWHS) {
+ /* let the hardware control the RTS line */
+ rts_state = ATMEL_US_RTSDIS;
+ } else {
+ /* force RTS line to low level */
+ rts_state = ATMEL_US_RTSEN;
+ }
+
+ atmel_uart_writel(port, ATMEL_US_CR, rts_state);
+ }
+
atmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_RSTSTA | ATMEL_US_RSTRX);
atmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_TXEN | ATMEL_US_RXEN);
atmel_port->tx_stopped = false;
On shutdown, ehci_power_off() is called unconditionally to power off
each port, even if it was never called to power on the port.
For chipidea, this results in a call to ehci_ci_portpower() with a request
to power off ports even if the port was never powered on.
This results in the following warning from the regulator code.
WARNING: CPU: 0 PID: 182 at drivers/regulator/core.c:2596 _regulator_disable+0x1a8/0x210
unbalanced disables for usb_otg2_vbus
Modules linked in:
CPU: 0 PID: 182 Comm: init Not tainted 5.4.6 #1
Hardware name: Freescale i.MX7 Dual (Device Tree)
[<c0313658>] (unwind_backtrace) from [<c030d698>] (show_stack+0x10/0x14)
[<c030d698>] (show_stack) from [<c1133afc>] (dump_stack+0xe0/0x10c)
[<c1133afc>] (dump_stack) from [<c0349098>] (__warn+0xf4/0x10c)
[<c0349098>] (__warn) from [<c0349128>] (warn_slowpath_fmt+0x78/0xbc)
[<c0349128>] (warn_slowpath_fmt) from [<c09f36ac>] (_regulator_disable+0x1a8/0x210)
[<c09f36ac>] (_regulator_disable) from [<c09f374c>] (regulator_disable+0x38/0xe8)
[<c09f374c>] (regulator_disable) from [<c0df7bac>] (ehci_ci_portpower+0x38/0xdc)
[<c0df7bac>] (ehci_ci_portpower) from [<c0db4fa4>] (ehci_port_power+0x50/0xa4)
[<c0db4fa4>] (ehci_port_power) from [<c0db5420>] (ehci_silence_controller+0x5c/0xc4)
[<c0db5420>] (ehci_silence_controller) from [<c0db7644>] (ehci_stop+0x3c/0xcc)
[<c0db7644>] (ehci_stop) from [<c0d5bdc4>] (usb_remove_hcd+0xe0/0x19c)
[<c0d5bdc4>] (usb_remove_hcd) from [<c0df7638>] (host_stop+0x38/0xa8)
[<c0df7638>] (host_stop) from [<c0df2f34>] (ci_hdrc_remove+0x44/0xe4)
...
Keeping track of the power enable state avoids the warning and traceback.
Fixes: c8679a2fb8dec ("usb: chipidea: host: add portpower override")
Cc: Michael Grzeschik <m.grzeschik(a)pengutronix.de>
Cc: Peter Chen <peter.chen(a)freescale.com>
Cc: stable(a)vger.kernel.org
Signed-off-by: Guenter Roeck <linux(a)roeck-us.net>
---
drivers/usb/chipidea/host.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c
index b45ceb91c735..48e4a5ca1835 100644
--- a/drivers/usb/chipidea/host.c
+++ b/drivers/usb/chipidea/host.c
@@ -26,6 +26,7 @@ static int (*orig_bus_suspend)(struct usb_hcd *hcd);
struct ehci_ci_priv {
struct regulator *reg_vbus;
+ bool enabled;
};
static int ehci_ci_portpower(struct usb_hcd *hcd, int portnum, bool enable)
@@ -37,7 +38,7 @@ static int ehci_ci_portpower(struct usb_hcd *hcd, int portnum, bool enable)
int ret = 0;
int port = HCS_N_PORTS(ehci->hcs_params);
- if (priv->reg_vbus) {
+ if (priv->reg_vbus && enable != priv->enabled) {
if (port > 1) {
dev_warn(dev,
"Not support multi-port regulator control\n");
@@ -53,6 +54,7 @@ static int ehci_ci_portpower(struct usb_hcd *hcd, int portnum, bool enable)
enable ? "enable" : "disable", ret);
return ret;
}
+ priv->enabled = enable;
}
if (enable && (ci->platdata->phy_mode == USBPHY_INTERFACE_MODE_HSIC)) {
--
2.17.1
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 2c92dd20304f505b6ef43d206fff21bda8f1f0ae Mon Sep 17 00:00:00 2001
From: Faiz Abbas <faiz_abbas(a)ti.com>
Date: Fri, 6 Dec 2019 17:13:26 +0530
Subject: [PATCH] mmc: sdhci: Update the tuning failed messages to pr_debug
level
Tuning support in DDR50 speed mode was added in SD Specifications Part1
Physical Layer Specification v3.01. Its not possible to distinguish
between v3.00 and v3.01 from the SCR and that is why since
commit 4324f6de6d2e ("mmc: core: enable CMD19 tuning for DDR50 mode")
tuning failures are ignored in DDR50 speed mode.
Cards compatible with v3.00 don't respond to CMD19 in DDR50 and this
error gets printed during enumeration and also if retune is triggered at
any time during operation. Update the printk level to pr_debug so that
these errors don't lead to false error reports.
Signed-off-by: Faiz Abbas <faiz_abbas(a)ti.com>
Cc: stable(a)vger.kernel.org # v4.4+
Link: https://lore.kernel.org/r/20191206114326.15856-1-faiz_abbas@ti.com
Signed-off-by: Ulf Hansson <ulf.hansson(a)linaro.org>
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 296d955ede59..42a9c8179da7 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -2417,8 +2417,8 @@ static int __sdhci_execute_tuning(struct sdhci_host *host, u32 opcode)
sdhci_send_tuning(host, opcode);
if (!host->tuning_done) {
- pr_info("%s: Tuning timeout, falling back to fixed sampling clock\n",
- mmc_hostname(host->mmc));
+ pr_debug("%s: Tuning timeout, falling back to fixed sampling clock\n",
+ mmc_hostname(host->mmc));
sdhci_abort_tuning(host, opcode);
return -ETIMEDOUT;
}
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 396d2e878f92ec108e4293f1c77ea3bc90b414ff Mon Sep 17 00:00:00 2001
From: Jim Mattson <jmattson(a)google.com>
Date: Fri, 13 Dec 2019 16:15:15 -0800
Subject: [PATCH] kvm: x86: Host feature SSBD doesn't imply guest feature
SPEC_CTRL_SSBD
The host reports support for the synthetic feature X86_FEATURE_SSBD
when any of the three following hardware features are set:
CPUID.(EAX=7,ECX=0):EDX.SSBD[bit 31]
CPUID.80000008H:EBX.AMD_SSBD[bit 24]
CPUID.80000008H:EBX.VIRT_SSBD[bit 25]
Either of the first two hardware features implies the existence of the
IA32_SPEC_CTRL MSR, but CPUID.80000008H:EBX.VIRT_SSBD[bit 25] does
not. Therefore, CPUID.(EAX=7,ECX=0):EDX.SSBD[bit 31] should only be
set in the guest if CPUID.(EAX=7,ECX=0):EDX.SSBD[bit 31] or
CPUID.80000008H:EBX.AMD_SSBD[bit 24] is set on the host.
Fixes: 0c54914d0c52a ("KVM: x86: use Intel speculation bugs and features as derived in generic x86 code")
Signed-off-by: Jim Mattson <jmattson(a)google.com>
Reviewed-by: Jacob Xu <jacobhxu(a)google.com>
Reviewed-by: Peter Shier <pshier(a)google.com>
Cc: Paolo Bonzini <pbonzini(a)redhat.com>
Cc: stable(a)vger.kernel.org
Reported-by: Eric Biggers <ebiggers(a)kernel.org>
Signed-off-by: Paolo Bonzini <pbonzini(a)redhat.com>
diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c
index c0aa07487eb8..dd18aa6fa317 100644
--- a/arch/x86/kvm/cpuid.c
+++ b/arch/x86/kvm/cpuid.c
@@ -402,7 +402,8 @@ static inline void do_cpuid_7_mask(struct kvm_cpuid_entry2 *entry, int index)
entry->edx |= F(SPEC_CTRL);
if (boot_cpu_has(X86_FEATURE_STIBP))
entry->edx |= F(INTEL_STIBP);
- if (boot_cpu_has(X86_FEATURE_SSBD))
+ if (boot_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) ||
+ boot_cpu_has(X86_FEATURE_AMD_SSBD))
entry->edx |= F(SPEC_CTRL_SSBD);
/*
* We emulate ARCH_CAPABILITIES in software even
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 abeb2e9414d7e3a0d8417bc3b13d7172513ea8a0 Mon Sep 17 00:00:00 2001
From: Yonghan Ye <yonghan.ye(a)unisoc.com>
Date: Wed, 4 Dec 2019 20:00:07 +0800
Subject: [PATCH] serial: sprd: Add clearing break interrupt operation
A break interrupt will be generated if the RX line was pulled low, which
means some abnomal behaviors occurred of the UART. In this case, we still
need to clear this break interrupt status, otherwise it will cause irq
storm to crash the whole system.
Fixes: b7396a38fb28 ("tty/serial: Add Spreadtrum sc9836-uart driver support")
Signed-off-by: Yonghan Ye <yonghan.ye(a)unisoc.com>
Cc: stable <stable(a)vger.kernel.org>
Signed-off-by: Baolin Wang <baolin.wang7(a)gmail.com>
Link: https://lore.kernel.org/r/925e51b73099c90158e080b8f5bed9b3b38c4548.15754606…
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c
index 31df23502562..f60a59d9bf27 100644
--- a/drivers/tty/serial/sprd_serial.c
+++ b/drivers/tty/serial/sprd_serial.c
@@ -679,6 +679,9 @@ static irqreturn_t sprd_handle_irq(int irq, void *dev_id)
if (ims & SPRD_IMSR_TIMEOUT)
serial_out(port, SPRD_ICLR, SPRD_ICLR_TIMEOUT);
+ if (ims & SPRD_IMSR_BREAK_DETECT)
+ serial_out(port, SPRD_ICLR, SPRD_IMSR_BREAK_DETECT);
+
if (ims & (SPRD_IMSR_RX_FIFO_FULL | SPRD_IMSR_BREAK_DETECT |
SPRD_IMSR_TIMEOUT))
sprd_rx(port);
stable-rc/linux-4.14.y build: 201 builds: 177 failed, 24 passed, 177 errors, 455 warnings (v4.14.161-72-gac4e1f65c8e8)
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.14.y/kernel/v4.14.161-7…
Tree: stable-rc
Branch: linux-4.14.y
Git Describe: v4.14.161-72-gac4e1f65c8e8
Git Commit: ac4e1f65c8e8dbb1e7677acef9b3508aa2f8c3b1
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Built: 6 unique architectures
Build Failures Detected:
arc:
axs103_defconfig: (gcc-8) FAIL
axs103_smp_defconfig: (gcc-8) FAIL
haps_hs_defconfig: (gcc-8) FAIL
haps_hs_smp_defconfig: (gcc-8) FAIL
hsdk_defconfig: (gcc-8) FAIL
nsim_hs_defconfig: (gcc-8) FAIL
nsim_hs_smp_defconfig: (gcc-8) FAIL
nsimosci_hs_defconfig: (gcc-8) FAIL
nsimosci_hs_smp_defconfig: (gcc-8) FAIL
vdk_hs38_defconfig: (gcc-8) FAIL
vdk_hs38_smp_defconfig: (gcc-8) FAIL
arm64:
defconfig: (gcc-8) FAIL
arm:
acs5k_defconfig: (gcc-8) FAIL
acs5k_tiny_defconfig: (gcc-8) FAIL
aspeed_g4_defconfig: (gcc-8) FAIL
aspeed_g5_defconfig: (gcc-8) FAIL
assabet_defconfig: (gcc-8) FAIL
at91_dt_defconfig: (gcc-8) FAIL
axm55xx_defconfig: (gcc-8) FAIL
badge4_defconfig: (gcc-8) FAIL
bcm2835_defconfig: (gcc-8) FAIL
cerfcube_defconfig: (gcc-8) FAIL
clps711x_defconfig: (gcc-8) FAIL
cm_x2xx_defconfig: (gcc-8) FAIL
cm_x300_defconfig: (gcc-8) FAIL
cns3420vb_defconfig: (gcc-8) FAIL
colibri_pxa270_defconfig: (gcc-8) FAIL
colibri_pxa300_defconfig: (gcc-8) FAIL
collie_defconfig: (gcc-8) FAIL
corgi_defconfig: (gcc-8) FAIL
davinci_all_defconfig: (gcc-8) FAIL
dove_defconfig: (gcc-8) FAIL
ebsa110_defconfig: (gcc-8) FAIL
em_x270_defconfig: (gcc-8) FAIL
ep93xx_defconfig: (gcc-8) FAIL
eseries_pxa_defconfig: (gcc-8) FAIL
exynos_defconfig: (gcc-8) FAIL
ezx_defconfig: (gcc-8) FAIL
footbridge_defconfig: (gcc-8) FAIL
gemini_defconfig: (gcc-8) FAIL
h3600_defconfig: (gcc-8) FAIL
h5000_defconfig: (gcc-8) FAIL
hackkit_defconfig: (gcc-8) FAIL
hisi_defconfig: (gcc-8) FAIL
imote2_defconfig: (gcc-8) FAIL
imx_v4_v5_defconfig: (gcc-8) FAIL
imx_v6_v7_defconfig: (gcc-8) FAIL
integrator_defconfig: (gcc-8) FAIL
iop13xx_defconfig: (gcc-8) FAIL
iop32x_defconfig: (gcc-8) FAIL
iop33x_defconfig: (gcc-8) FAIL
ixp4xx_defconfig: (gcc-8) FAIL
jornada720_defconfig: (gcc-8) FAIL
keystone_defconfig: (gcc-8) FAIL
ks8695_defconfig: (gcc-8) FAIL
lart_defconfig: (gcc-8) FAIL
lpc32xx_defconfig: (gcc-8) FAIL
lpd270_defconfig: (gcc-8) FAIL
lubbock_defconfig: (gcc-8) FAIL
magician_defconfig: (gcc-8) FAIL
mainstone_defconfig: (gcc-8) FAIL
mini2440_defconfig: (gcc-8) FAIL
mmp2_defconfig: (gcc-8) FAIL
moxart_defconfig: (gcc-8) FAIL
multi_v4t_defconfig: (gcc-8) FAIL
multi_v5_defconfig: (gcc-8) FAIL
multi_v7_defconfig: (gcc-8) FAIL
mv78xx0_defconfig: (gcc-8) FAIL
mvebu_v5_defconfig: (gcc-8) FAIL
mvebu_v7_defconfig: (gcc-8) FAIL
mxs_defconfig: (gcc-8) FAIL
neponset_defconfig: (gcc-8) FAIL
netwinder_defconfig: (gcc-8) FAIL
netx_defconfig: (gcc-8) FAIL
nhk8815_defconfig: (gcc-8) FAIL
nuc910_defconfig: (gcc-8) FAIL
nuc950_defconfig: (gcc-8) FAIL
nuc960_defconfig: (gcc-8) FAIL
omap2plus_defconfig: (gcc-8) FAIL
orion5x_defconfig: (gcc-8) FAIL
palmz72_defconfig: (gcc-8) FAIL
pcm027_defconfig: (gcc-8) FAIL
prima2_defconfig: (gcc-8) FAIL
pxa168_defconfig: (gcc-8) FAIL
pxa255-idp_defconfig: (gcc-8) FAIL
pxa3xx_defconfig: (gcc-8) FAIL
pxa910_defconfig: (gcc-8) FAIL
pxa_defconfig: (gcc-8) FAIL
qcom_defconfig: (gcc-8) FAIL
raumfeld_defconfig: (gcc-8) FAIL
realview_defconfig: (gcc-8) FAIL
rpc_defconfig: (gcc-8) FAIL
s3c2410_defconfig: (gcc-8) FAIL
s3c6400_defconfig: (gcc-8) FAIL
s5pv210_defconfig: (gcc-8) FAIL
sama5_defconfig: (gcc-8) FAIL
shannon_defconfig: (gcc-8) FAIL
shmobile_defconfig: (gcc-8) FAIL
simpad_defconfig: (gcc-8) FAIL
socfpga_defconfig: (gcc-8) FAIL
spear13xx_defconfig: (gcc-8) FAIL
spear3xx_defconfig: (gcc-8) FAIL
spear6xx_defconfig: (gcc-8) FAIL
spitz_defconfig: (gcc-8) FAIL
sunxi_defconfig: (gcc-8) FAIL
tango4_defconfig: (gcc-8) FAIL
tegra_defconfig: (gcc-8) FAIL
trizeps4_defconfig: (gcc-8) FAIL
u300_defconfig: (gcc-8) FAIL
u8500_defconfig: (gcc-8) FAIL
versatile_defconfig: (gcc-8) FAIL
vexpress_defconfig: (gcc-8) FAIL
vt8500_v6_v7_defconfig: (gcc-8) FAIL
zeus_defconfig: (gcc-8) FAIL
zx_defconfig: (gcc-8) FAIL
i386:
i386_defconfig: (gcc-8) FAIL
mips:
32r2el_defconfig: (gcc-8) FAIL
ar7_defconfig: (gcc-8) FAIL
ath25_defconfig: (gcc-8) FAIL
ath79_defconfig: (gcc-8) FAIL
bcm47xx_defconfig: (gcc-8) FAIL
bigsur_defconfig: (gcc-8) FAIL
bmips_be_defconfig: (gcc-8) FAIL
bmips_stb_defconfig: (gcc-8) FAIL
capcella_defconfig: (gcc-8) FAIL
cavium_octeon_defconfig: (gcc-8) FAIL
ci20_defconfig: (gcc-8) FAIL
cobalt_defconfig: (gcc-8) FAIL
db1xxx_defconfig: (gcc-8) FAIL
decstation_defconfig: (gcc-8) FAIL
e55_defconfig: (gcc-8) FAIL
fuloong2e_defconfig: (gcc-8) FAIL
gpr_defconfig: (gcc-8) FAIL
ip22_defconfig: (gcc-8) FAIL
ip27_defconfig: (gcc-8) FAIL
ip28_defconfig: (gcc-8) FAIL
ip32_defconfig: (gcc-8) FAIL
jazz_defconfig: (gcc-8) FAIL
jmr3927_defconfig: (gcc-8) FAIL
lasat_defconfig: (gcc-8) FAIL
lemote2f_defconfig: (gcc-8) FAIL
loongson1b_defconfig: (gcc-8) FAIL
loongson1c_defconfig: (gcc-8) FAIL
loongson3_defconfig: (gcc-8) FAIL
malta_defconfig: (gcc-8) FAIL
malta_kvm_defconfig: (gcc-8) FAIL
malta_kvm_guest_defconfig: (gcc-8) FAIL
malta_qemu_32r6_defconfig: (gcc-8) FAIL
maltaaprp_defconfig: (gcc-8) FAIL
maltasmvp_defconfig: (gcc-8) FAIL
maltasmvp_eva_defconfig: (gcc-8) FAIL
maltaup_defconfig: (gcc-8) FAIL
maltaup_xpa_defconfig: (gcc-8) FAIL
markeins_defconfig: (gcc-8) FAIL
mips_paravirt_defconfig: (gcc-8) FAIL
mpc30x_defconfig: (gcc-8) FAIL
mtx1_defconfig: (gcc-8) FAIL
nlm_xlp_defconfig: (gcc-8) FAIL
nlm_xlr_defconfig: (gcc-8) FAIL
omega2p_defconfig: (gcc-8) FAIL
pic32mzda_defconfig: (gcc-8) FAIL
pistachio_defconfig: (gcc-8) FAIL
pnx8335_stb225_defconfig: (gcc-8) FAIL
qi_lb60_defconfig: (gcc-8) FAIL
rb532_defconfig: (gcc-8) FAIL
rbtx49xx_defconfig: (gcc-8) FAIL
rm200_defconfig: (gcc-8) FAIL
rt305x_defconfig: (gcc-8) FAIL
sb1250_swarm_defconfig: (gcc-8) FAIL
tb0219_defconfig: (gcc-8) FAIL
tb0226_defconfig: (gcc-8) FAIL
tb0287_defconfig: (gcc-8) FAIL
vocore2_defconfig: (gcc-8) FAIL
workpad_defconfig: (gcc-8) FAIL
xilfpga_defconfig: (gcc-8) FAIL
xway_defconfig: (gcc-8) FAIL
x86_64:
x86_64_defconfig: (gcc-8) FAIL
Errors and Warnings Detected:
arc:
axs103_defconfig (gcc-8): 1 error, 2 warnings
axs103_smp_defconfig (gcc-8): 1 error, 2 warnings
haps_hs_defconfig (gcc-8): 1 error, 2 warnings
haps_hs_smp_defconfig (gcc-8): 1 error, 2 warnings
hsdk_defconfig (gcc-8): 1 error, 2 warnings
nsim_hs_defconfig (gcc-8): 1 error, 2 warnings
nsim_hs_smp_defconfig (gcc-8): 1 error, 2 warnings
nsimosci_hs_defconfig (gcc-8): 1 error, 2 warnings
nsimosci_hs_smp_defconfig (gcc-8): 1 error, 2 warnings
vdk_hs38_defconfig (gcc-8): 1 error, 2 warnings
vdk_hs38_smp_defconfig (gcc-8): 1 error, 2 warnings
arm64:
allnoconfig (gcc-8): 2 warnings
defconfig (gcc-8): 1 error, 3 warnings
tinyconfig (gcc-8): 2 warnings
arm:
acs5k_defconfig (gcc-8): 1 error, 3 warnings
acs5k_tiny_defconfig (gcc-8): 1 error, 3 warnings
aspeed_g4_defconfig (gcc-8): 1 error, 3 warnings
aspeed_g5_defconfig (gcc-8): 1 error, 3 warnings
assabet_defconfig (gcc-8): 1 error, 3 warnings
at91_dt_defconfig (gcc-8): 1 error, 2 warnings
axm55xx_defconfig (gcc-8): 1 error, 3 warnings
badge4_defconfig (gcc-8): 1 error, 3 warnings
bcm2835_defconfig (gcc-8): 1 error, 2 warnings
cerfcube_defconfig (gcc-8): 1 error, 3 warnings
clps711x_defconfig (gcc-8): 1 error, 3 warnings
cm_x2xx_defconfig (gcc-8): 1 error, 2 warnings
cm_x300_defconfig (gcc-8): 1 error, 3 warnings
cns3420vb_defconfig (gcc-8): 1 error, 3 warnings
colibri_pxa270_defconfig (gcc-8): 1 error, 3 warnings
colibri_pxa300_defconfig (gcc-8): 1 error, 3 warnings
collie_defconfig (gcc-8): 1 error, 3 warnings
corgi_defconfig (gcc-8): 1 error, 3 warnings
davinci_all_defconfig (gcc-8): 1 error, 3 warnings
dove_defconfig (gcc-8): 1 error, 3 warnings
ebsa110_defconfig (gcc-8): 1 error, 3 warnings
em_x270_defconfig (gcc-8): 1 error, 2 warnings
ep93xx_defconfig (gcc-8): 1 error, 3 warnings
eseries_pxa_defconfig (gcc-8): 1 error, 3 warnings
exynos_defconfig (gcc-8): 1 error, 3 warnings
ezx_defconfig (gcc-8): 1 error, 3 warnings
footbridge_defconfig (gcc-8): 1 error, 3 warnings
gemini_defconfig (gcc-8): 1 error, 3 warnings
h3600_defconfig (gcc-8): 1 error, 3 warnings
h5000_defconfig (gcc-8): 1 error, 2 warnings
hackkit_defconfig (gcc-8): 1 error, 3 warnings
hisi_defconfig (gcc-8): 1 error, 3 warnings
imote2_defconfig (gcc-8): 1 error, 3 warnings
imx_v4_v5_defconfig (gcc-8): 1 error, 2 warnings
imx_v6_v7_defconfig (gcc-8): 1 error, 3 warnings
integrator_defconfig (gcc-8): 1 error, 3 warnings
iop13xx_defconfig (gcc-8): 1 error, 3 warnings
iop32x_defconfig (gcc-8): 1 error, 3 warnings
iop33x_defconfig (gcc-8): 1 error, 3 warnings
ixp4xx_defconfig (gcc-8): 1 error, 3 warnings
jornada720_defconfig (gcc-8): 1 error, 3 warnings
keystone_defconfig (gcc-8): 1 error, 3 warnings
ks8695_defconfig (gcc-8): 1 error, 3 warnings
lart_defconfig (gcc-8): 1 error, 3 warnings
lpc32xx_defconfig (gcc-8): 1 error, 2 warnings
lpd270_defconfig (gcc-8): 1 error, 3 warnings
lubbock_defconfig (gcc-8): 1 error, 3 warnings
magician_defconfig (gcc-8): 1 error, 3 warnings
mainstone_defconfig (gcc-8): 1 error, 3 warnings
mini2440_defconfig (gcc-8): 1 error, 3 warnings
mmp2_defconfig (gcc-8): 1 error, 3 warnings
moxart_defconfig (gcc-8): 1 error, 3 warnings
multi_v4t_defconfig (gcc-8): 1 error, 3 warnings
multi_v5_defconfig (gcc-8): 1 error, 3 warnings
multi_v7_defconfig (gcc-8): 1 error, 3 warnings
mv78xx0_defconfig (gcc-8): 1 error, 3 warnings
mvebu_v5_defconfig (gcc-8): 1 error, 3 warnings
mvebu_v7_defconfig (gcc-8): 1 error, 3 warnings
mxs_defconfig (gcc-8): 1 error, 3 warnings
neponset_defconfig (gcc-8): 1 error, 3 warnings
netwinder_defconfig (gcc-8): 1 error, 3 warnings
netx_defconfig (gcc-8): 1 error, 3 warnings
nhk8815_defconfig (gcc-8): 1 error, 3 warnings
nuc910_defconfig (gcc-8): 1 error, 3 warnings
nuc950_defconfig (gcc-8): 1 error, 3 warnings
nuc960_defconfig (gcc-8): 1 error, 3 warnings
omap2plus_defconfig (gcc-8): 1 error, 2 warnings
orion5x_defconfig (gcc-8): 1 error, 3 warnings
palmz72_defconfig (gcc-8): 1 error, 3 warnings
pcm027_defconfig (gcc-8): 1 error, 3 warnings
prima2_defconfig (gcc-8): 1 error, 3 warnings
pxa168_defconfig (gcc-8): 1 error, 3 warnings
pxa255-idp_defconfig (gcc-8): 1 error, 3 warnings
pxa3xx_defconfig (gcc-8): 1 error, 3 warnings
pxa910_defconfig (gcc-8): 1 error, 3 warnings
pxa_defconfig (gcc-8): 1 error, 3 warnings
qcom_defconfig (gcc-8): 1 error, 3 warnings
raumfeld_defconfig (gcc-8): 1 error, 3 warnings
realview_defconfig (gcc-8): 1 error, 3 warnings
rpc_defconfig (gcc-8): 1 error, 3 warnings
s3c2410_defconfig (gcc-8): 1 error, 2 warnings
s3c6400_defconfig (gcc-8): 1 error, 3 warnings
s5pv210_defconfig (gcc-8): 1 error, 3 warnings
sama5_defconfig (gcc-8): 1 error, 3 warnings
shannon_defconfig (gcc-8): 1 error, 3 warnings
shmobile_defconfig (gcc-8): 1 error, 2 warnings
simpad_defconfig (gcc-8): 1 error, 3 warnings
socfpga_defconfig (gcc-8): 1 error, 3 warnings
spear13xx_defconfig (gcc-8): 1 error, 3 warnings
spear3xx_defconfig (gcc-8): 1 error, 3 warnings
spear6xx_defconfig (gcc-8): 1 error, 3 warnings
spitz_defconfig (gcc-8): 1 error, 3 warnings
sunxi_defconfig (gcc-8): 1 error, 3 warnings
tango4_defconfig (gcc-8): 1 error, 3 warnings
tegra_defconfig (gcc-8): 1 error, 3 warnings
trizeps4_defconfig (gcc-8): 1 error, 3 warnings
u300_defconfig (gcc-8): 1 error, 3 warnings
u8500_defconfig (gcc-8): 1 error, 3 warnings
versatile_defconfig (gcc-8): 1 error, 3 warnings
vexpress_defconfig (gcc-8): 1 error, 3 warnings
vt8500_v6_v7_defconfig (gcc-8): 1 error, 3 warnings
zeus_defconfig (gcc-8): 1 error, 3 warnings
zx_defconfig (gcc-8): 1 error, 3 warnings
i386:
i386_defconfig (gcc-8): 1 error, 3 warnings
mips:
32r2el_defconfig (gcc-8): 1 error, 2 warnings
ar7_defconfig (gcc-8): 1 error, 2 warnings
ath25_defconfig (gcc-8): 1 error, 2 warnings
ath79_defconfig (gcc-8): 1 error, 2 warnings
bcm47xx_defconfig (gcc-8): 1 error, 2 warnings
bigsur_defconfig (gcc-8): 1 error, 2 warnings
bmips_be_defconfig (gcc-8): 1 error, 2 warnings
bmips_stb_defconfig (gcc-8): 1 error, 2 warnings
capcella_defconfig (gcc-8): 1 error, 2 warnings
cavium_octeon_defconfig (gcc-8): 1 error, 2 warnings
ci20_defconfig (gcc-8): 1 error, 2 warnings
cobalt_defconfig (gcc-8): 1 error, 2 warnings
db1xxx_defconfig (gcc-8): 1 error, 2 warnings
decstation_defconfig (gcc-8): 1 error, 2 warnings
e55_defconfig (gcc-8): 1 error, 2 warnings
fuloong2e_defconfig (gcc-8): 1 error, 2 warnings
gpr_defconfig (gcc-8): 1 error, 2 warnings
ip22_defconfig (gcc-8): 1 error, 2 warnings
ip27_defconfig (gcc-8): 1 error, 2 warnings
ip28_defconfig (gcc-8): 1 error, 2 warnings
ip32_defconfig (gcc-8): 1 error, 2 warnings
jazz_defconfig (gcc-8): 1 error, 2 warnings
jmr3927_defconfig (gcc-8): 1 error, 2 warnings
lasat_defconfig (gcc-8): 1 error, 2 warnings
lemote2f_defconfig (gcc-8): 1 error, 2 warnings
loongson1b_defconfig (gcc-8): 1 error, 2 warnings
loongson1c_defconfig (gcc-8): 1 error, 2 warnings
loongson3_defconfig (gcc-8): 1 error, 2 warnings
malta_defconfig (gcc-8): 1 error, 2 warnings
malta_kvm_defconfig (gcc-8): 1 error, 2 warnings
malta_kvm_guest_defconfig (gcc-8): 1 error, 2 warnings
malta_qemu_32r6_defconfig (gcc-8): 1 error, 2 warnings
maltaaprp_defconfig (gcc-8): 1 error, 2 warnings
maltasmvp_defconfig (gcc-8): 1 error, 2 warnings
maltasmvp_eva_defconfig (gcc-8): 1 error, 2 warnings
maltaup_defconfig (gcc-8): 1 error, 2 warnings
maltaup_xpa_defconfig (gcc-8): 1 error, 2 warnings
markeins_defconfig (gcc-8): 1 error, 2 warnings
mips_paravirt_defconfig (gcc-8): 1 error, 2 warnings
mpc30x_defconfig (gcc-8): 1 error, 2 warnings
mtx1_defconfig (gcc-8): 1 error, 2 warnings
nlm_xlp_defconfig (gcc-8): 1 error, 2 warnings
nlm_xlr_defconfig (gcc-8): 1 error, 2 warnings
omega2p_defconfig (gcc-8): 1 error, 2 warnings
pic32mzda_defconfig (gcc-8): 1 error, 2 warnings
pistachio_defconfig (gcc-8): 1 error, 2 warnings
pnx8335_stb225_defconfig (gcc-8): 1 error, 2 warnings
qi_lb60_defconfig (gcc-8): 1 error, 2 warnings
rb532_defconfig (gcc-8): 1 error, 2 warnings
rbtx49xx_defconfig (gcc-8): 1 error, 2 warnings
rm200_defconfig (gcc-8): 1 error, 2 warnings
rt305x_defconfig (gcc-8): 1 error, 2 warnings
sb1250_swarm_defconfig (gcc-8): 1 error, 2 warnings
tb0219_defconfig (gcc-8): 1 error, 2 warnings
tb0226_defconfig (gcc-8): 1 error, 2 warnings
tb0287_defconfig (gcc-8): 1 error, 2 warnings
vocore2_defconfig (gcc-8): 1 error, 2 warnings
workpad_defconfig (gcc-8): 1 error, 2 warnings
xilfpga_defconfig (gcc-8): 1 error, 2 warnings
xway_defconfig (gcc-8): 1 error, 2 warnings
x86_64:
tinyconfig (gcc-8): 1 warning
x86_64_defconfig (gcc-8): 1 error, 3 warnings
Errors summary:
177 mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings summary:
177 mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
177 cc1: some warnings being treated as errors
96 fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2 arch/arm64/kernel/cpufeature.c:940:13: warning: ‘cpu_copy_el2regs’ defined but not used [-Wunused-function]
2 arch/arm64/kernel/cpufeature.c:802:13: warning: ‘runs_at_el2’ defined but not used [-Wunused-function]
1 .config:1027:warning: override: UNWINDER_GUESS changes choice state
================================================================================
Detailed per-defconfig build reports:
--------------------------------------------------------------------------------
32r2el_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
acs5k_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
acs5k_tiny_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
allnoconfig (i386, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
allnoconfig (mips, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
allnoconfig (x86_64, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
allnoconfig (arc, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
allnoconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
allnoconfig (arm64, gcc-8) — PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
arch/arm64/kernel/cpufeature.c:940:13: warning: ‘cpu_copy_el2regs’ defined but not used [-Wunused-function]
arch/arm64/kernel/cpufeature.c:802:13: warning: ‘runs_at_el2’ defined but not used [-Wunused-function]
--------------------------------------------------------------------------------
am200epdkit_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ar7_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
aspeed_g4_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
aspeed_g5_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
assabet_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
at91_dt_defconfig (arm, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
ath25_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
ath79_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
axm55xx_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
axs103_defconfig (arc, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
axs103_smp_defconfig (arc, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
badge4_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
bcm2835_defconfig (arm, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
bcm47xx_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
bcm63xx_defconfig (mips, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bigsur_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
bmips_be_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
bmips_stb_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
capcella_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
cavium_octeon_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
cerfcube_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
ci20_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
clps711x_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
cm_x2xx_defconfig (arm, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
cm_x300_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
cns3420vb_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
cobalt_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
colibri_pxa270_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
colibri_pxa300_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
collie_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
corgi_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
davinci_all_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
db1xxx_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
decstation_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
defconfig (arm64, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
dove_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
e55_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
ebsa110_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
efm32_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
em_x270_defconfig (arm, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
ep93xx_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
eseries_pxa_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
exynos_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
ezx_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
footbridge_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
fuloong2e_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
gemini_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
gpr_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
h3600_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
h5000_defconfig (arm, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
hackkit_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
haps_hs_defconfig (arc, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
haps_hs_smp_defconfig (arc, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
hisi_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
hsdk_defconfig (arc, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
i386_defconfig (i386, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
imote2_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
imx_v4_v5_defconfig (arm, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
imx_v6_v7_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
integrator_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
iop13xx_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
iop32x_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
iop33x_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
ip22_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
ip27_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
ip28_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
ip32_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
ixp4xx_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
jazz_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
jmr3927_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
jornada720_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
keystone_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
ks8695_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
lart_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
lasat_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
lemote2f_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
loongson1b_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
loongson1c_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
loongson3_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
lpc18xx_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
lpc32xx_defconfig (arm, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
lpd270_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
lubbock_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
magician_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
mainstone_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
malta_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
malta_kvm_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
malta_kvm_guest_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
malta_qemu_32r6_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
maltaaprp_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
maltasmvp_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
maltasmvp_eva_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
maltaup_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
maltaup_xpa_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
markeins_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
mini2440_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
mips_paravirt_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
mmp2_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
moxart_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
mpc30x_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
mps2_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
msp71xx_defconfig (mips, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mtx1_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
multi_v4t_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
multi_v5_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
multi_v7_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
mv78xx0_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
mvebu_v5_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
mvebu_v7_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
mxs_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
neponset_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
netwinder_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
netx_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
nhk8815_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
nlm_xlp_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
nlm_xlr_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
nsim_hs_defconfig (arc, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
nsim_hs_smp_defconfig (arc, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
nsimosci_hs_defconfig (arc, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
nsimosci_hs_smp_defconfig (arc, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
nuc910_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
nuc950_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
nuc960_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
omap1_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
omap2plus_defconfig (arm, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
omega2p_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
orion5x_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
palmz72_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
pcm027_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
pic32mzda_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
pistachio_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
pleb_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pnx8335_stb225_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
prima2_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
pxa168_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
pxa255-idp_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
pxa3xx_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
pxa910_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
pxa_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
qcom_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
qi_lb60_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
raumfeld_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
rb532_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
rbtx49xx_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
realview_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
rm200_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
rpc_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
rt305x_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
s3c2410_defconfig (arm, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
s3c6400_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
s5pv210_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
sama5_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
sb1250_swarm_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
shannon_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
shmobile_defconfig (arm, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
simpad_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
socfpga_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
spear13xx_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
spear3xx_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
spear6xx_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
spitz_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
stm32_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
sunxi_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
tango4_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
tb0219_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
tb0226_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
tb0287_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
tct_hammer_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tegra_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
tinyconfig (arc, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tinyconfig (mips, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tinyconfig (i386, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tinyconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tinyconfig (arm64, gcc-8) — PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
arch/arm64/kernel/cpufeature.c:940:13: warning: ‘cpu_copy_el2regs’ defined but not used [-Wunused-function]
arch/arm64/kernel/cpufeature.c:802:13: warning: ‘runs_at_el2’ defined but not used [-Wunused-function]
--------------------------------------------------------------------------------
tinyconfig (x86_64, gcc-8) — PASS, 0 errors, 1 warning, 0 section mismatches
Warnings:
.config:1027:warning: override: UNWINDER_GUESS changes choice state
--------------------------------------------------------------------------------
trizeps4_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
u300_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
u8500_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
vdk_hs38_defconfig (arc, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
vdk_hs38_smp_defconfig (arc, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
versatile_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
vexpress_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
viper_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vocore2_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
vt8500_v6_v7_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
workpad_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
x86_64_defconfig (x86_64, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
xcep_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
xilfpga_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
xway_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
zeus_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--------------------------------------------------------------------------------
zx_defconfig (arm, gcc-8) — FAIL, 1 error, 3 warnings, 0 section mismatches
Errors:
mm/shmem.c:1977:11: error: implicit declaration of function ‘maybe_unlock_mmap_for_io’ [-Werror=implicit-function-declaration]
Warnings:
mm/shmem.c:1977:9: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
fs/proc/task_mmu.c:761:7: warning: ‘last_vma’ may be used uninitialized in this function [-Wmaybe-uninitialized]
---
For more info write to <info(a)kernelci.org>
Hello,
We ran automated tests on a recent commit from this kernel tree:
Kernel repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Commit: 0ac1f929c75c - Linux 5.4.8-rc1
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://artifacts.cki-project.org/pipelines/360466
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)
ppc64le: FAILED (see build-ppc64le.log.xz attachment)
x86_64: FAILED (see build-x86_64.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 3 architectures:
aarch64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
ppc64le:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
x86_64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
From: Anders Kaseorg <andersk(a)mit.edu>
This reverts commit 968dcfb4905245dc64d65312c0d17692fa087b99.
Both that commit and commit 809805a820c6445f7a701ded24fdc6bbc841d1e4
attempted to fix the same bug (dead assignments to the local variable
cfg), but they did so in incompatible ways. When they were both merged,
independently of each other, the combination actually caused the bug to
reappear, leading to a firmware crash on boot for some cards.
https://bugzilla.kernel.org/show_bug.cgi?id=205719
Signed-off-by: Anders Kaseorg <andersk(a)mit.edu>
Acked-by: Luca Coelho <luciano.coelho(a)intel.com>
Signed-off-by: Kalle Valo <kvalo(a)codeaurora.org>
---
drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 24 +++++++++----------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
index 040cec17d3ad..b0b7eca1754e 100644
--- a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
@@ -1111,18 +1111,18 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
/* same thing for QuZ... */
if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_QUZ) {
- if (iwl_trans->cfg == &iwl_ax101_cfg_qu_hr)
- 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 == &iwl9461_2ac_cfg_qu_b0_jf_b0)
- iwl_trans->cfg = &iwl9461_2ac_cfg_quz_a0_jf_b0_soc;
- else if (iwl_trans->cfg == &iwl9462_2ac_cfg_qu_b0_jf_b0)
- iwl_trans->cfg = &iwl9462_2ac_cfg_quz_a0_jf_b0_soc;
- else if (iwl_trans->cfg == &iwl9560_2ac_cfg_qu_b0_jf_b0)
- iwl_trans->cfg = &iwl9560_2ac_cfg_quz_a0_jf_b0_soc;
- else if (iwl_trans->cfg == &iwl9560_2ac_160_cfg_qu_b0_jf_b0)
- iwl_trans->cfg = &iwl9560_2ac_160_cfg_quz_a0_jf_b0_soc;
+ if (cfg == &iwl_ax101_cfg_qu_hr)
+ cfg = &iwl_ax101_cfg_quz_hr;
+ else if (cfg == &iwl_ax201_cfg_qu_hr)
+ cfg = &iwl_ax201_cfg_quz_hr;
+ else if (cfg == &iwl9461_2ac_cfg_qu_b0_jf_b0)
+ cfg = &iwl9461_2ac_cfg_quz_a0_jf_b0_soc;
+ else if (cfg == &iwl9462_2ac_cfg_qu_b0_jf_b0)
+ cfg = &iwl9462_2ac_cfg_quz_a0_jf_b0_soc;
+ else if (cfg == &iwl9560_2ac_cfg_qu_b0_jf_b0)
+ cfg = &iwl9560_2ac_cfg_quz_a0_jf_b0_soc;
+ else if (cfg == &iwl9560_2ac_160_cfg_qu_b0_jf_b0)
+ cfg = &iwl9560_2ac_160_cfg_quz_a0_jf_b0_soc;
}
#endif
--
2.24.0
The patch titled
Subject: ocfs2: fix the crash due to call ocfs2_get_dlm_debug once less
has been added to the -mm tree. Its filename is
ocfs2-fix-the-crash-due-to-call-ocfs2_get_dlm_debug-once-less.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/ocfs2-fix-the-crash-due-to-call-oc…
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/ocfs2-fix-the-crash-due-to-call-oc…
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: Gang He <GHe(a)suse.com>
Subject: ocfs2: fix the crash due to call ocfs2_get_dlm_debug once less
Because ocfs2_get_dlm_debug() function is called once less here, ocfs2
file system will trigger the system crash, usually after ocfs2 file system
is unmounted.
This system crash is caused by a generic memory corruption, these crash
backtraces are not always the same, for exapmle,
[ 4106.597432] ocfs2: Unmounting device (253,16) on (node 172167785)
[ 4116.230719] general protection fault: 0000 [#1] SMP PTI
[ 4116.230731] CPU: 3 PID: 14107 Comm: fence_legacy Kdump:
[ 4116.230737] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996)
[ 4116.230772] RIP: 0010:__kmalloc+0xa5/0x2a0
[ 4116.230778] Code: 00 00 4d 8b 07 65 4d 8b
[ 4116.230785] RSP: 0018:ffffaa1fc094bbe8 EFLAGS: 00010286
[ 4116.230790] RAX: 0000000000000000 RBX: d310a8800d7a3faf RCX: 0000000000000000
[ 4116.230794] RDX: 0000000000000000 RSI: 0000000000000dc0 RDI: ffff96e68fc036c0
[ 4116.230798] RBP: d310a8800d7a3faf R08: ffff96e6ffdb10a0 R09: 00000000752e7079
[ 4116.230802] R10: 000000000001c513 R11: 0000000004091041 R12: 0000000000000dc0
[ 4116.230806] R13: 0000000000000039 R14: ffff96e68fc036c0 R15: ffff96e68fc036c0
[ 4116.230811] FS: 00007f699dfba540(0000) GS:ffff96e6ffd80000(0000) knlGS:00000
[ 4116.230815] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4116.230819] CR2: 000055f3a9d9b768 CR3: 000000002cd1c000 CR4: 00000000000006e0
[ 4116.230833] Call Trace:
[ 4116.230898] ? ext4_htree_store_dirent+0x35/0x100 [ext4]
[ 4116.230924] ext4_htree_store_dirent+0x35/0x100 [ext4]
[ 4116.230957] htree_dirblock_to_tree+0xea/0x290 [ext4]
[ 4116.230989] ext4_htree_fill_tree+0x1c1/0x2d0 [ext4]
[ 4116.231027] ext4_readdir+0x67c/0x9d0 [ext4]
[ 4116.231040] iterate_dir+0x8d/0x1a0
[ 4116.231056] __x64_sys_getdents+0xab/0x130
[ 4116.231063] ? iterate_dir+0x1a0/0x1a0
[ 4116.231076] ? do_syscall_64+0x60/0x1f0
[ 4116.231080] ? __ia32_sys_getdents+0x130/0x130
[ 4116.231086] do_syscall_64+0x60/0x1f0
[ 4116.231151] entry_SYSCALL_64_after_hwframe+0x49/0xbe
[ 4116.231168] RIP: 0033:0x7f699d33a9fb
This regression problem was introduced by commit e581595ea29c ("ocfs: no
need to check return value of debugfs_create functions").
Link: http://lkml.kernel.org/r/20191225061501.13587-1-ghe@suse.com
Fixes: e581595ea29c ("ocfs: no need to check return value of debugfs_create functions")
Signed-off-by: Gang He <ghe(a)suse.com>
Acked-by: Joseph Qi <joseph.qi(a)linux.alibaba.com>
Cc: Mark Fasheh <mark(a)fasheh.com>
Cc: Joel Becker <jlbec(a)evilplan.org>
Cc: Junxiao Bi <junxiao.bi(a)oracle.com>
Cc: Changwei Ge <gechangwei(a)live.cn>
Cc: Gang He <ghe(a)suse.com>
Cc: Jun Piao <piaojun(a)huawei.com>
Cc: <stable(a)vger.kernel.org> [5.3+]
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
fs/ocfs2/dlmglue.c | 1 +
1 file changed, 1 insertion(+)
--- a/fs/ocfs2/dlmglue.c~ocfs2-fix-the-crash-due-to-call-ocfs2_get_dlm_debug-once-less
+++ a/fs/ocfs2/dlmglue.c
@@ -3282,6 +3282,7 @@ static void ocfs2_dlm_init_debug(struct
debugfs_create_u32("locking_filter", 0600, osb->osb_debug_root,
&dlm_debug->d_filter_secs);
+ ocfs2_get_dlm_debug(dlm_debug);
}
static void ocfs2_dlm_shutdown_debug(struct ocfs2_super *osb)
_
Patches currently in -mm which might be from GHe(a)suse.com are
ocfs2-fix-the-crash-due-to-call-ocfs2_get_dlm_debug-once-less.patch