window scale and can overshot
granted window, the client use the initial scale but local
server use new scale to advertise window value, and session
work abnormally.
Fixes: e88c64f0a425 ("tcp: allow effective reduction of TCP's rcv-buffer via
setsockopt")
Signed-off-by: Mao Wenan
--
window scale and can overshot
granted window, the client use the initial scale but local
server use new scale to advertise window value, and session
work abnormally.
Fixes: e88c64f0a425 ("tcp: allow effective reduction of TCP's rcv-buffer via
setsockopt")
Signed-off-by: Mao Wenan
---
window scale and can overshot
granted window, the client use the initial scale but local
server use new scale to advertise window value, and session
work abnormally.
Fixes: e88c64f0a425 ("tcp: allow effective reduction of TCP's
rcv-buffer via setsockopt")
Signed-off-by: Mao Wenan
---
v3:
Eric Dumazet wrote:
On Mon, Nov 9, 2020 at 11:12 AM Mao Wenan wrote:
在 2020/11/9 下午5:56, Eric Dumazet 写道:
On Mon, Nov 9, 2020 at 10:33 AM Mao Wenan wrote:
When net.ipv4.tcp_syncookies=1 and syn flood is happened,
cookie_v4_check or cookie_v6_check tries to redo what
tcp_v4_send_synack or
在 2020/11/9 下午6:12, Mao Wenan 写道:
在 2020/11/9 下午5:56, Eric Dumazet 写道:
On Mon, Nov 9, 2020 at 10:33 AM Mao Wenan
wrote:
When net.ipv4.tcp_syncookies=1 and syn flood is happened,
cookie_v4_check or cookie_v6_check tries to redo what
tcp_v4_send_synack or tcp_v6_send_synack did
在 2020/11/9 下午5:56, Eric Dumazet 写道:
On Mon, Nov 9, 2020 at 10:33 AM Mao Wenan wrote:
When net.ipv4.tcp_syncookies=1 and syn flood is happened,
cookie_v4_check or cookie_v6_check tries to redo what
tcp_v4_send_synack or tcp_v6_send_synack did,
rsk_window_clamp will be changed
window scale and can overshot
granted window, the client use the initial scale but local
server use new scale to advertise window value, and session
work abnormally.
Signed-off-by: Mao Wenan
---
v2: fix for ipv6.
net/ipv4/syncookies.c | 4
net/ipv6/syncookies.c | 5 +
2 files changed, 9
window, the client use the initial scale but local
server use new scale to advertise window value, and session
work abnormally.
Signed-off-by: Mao Wenan
---
net/ipv4/syncookies.c | 4
1 file changed, 4 insertions(+)
diff --git a/net/ipv4/syncookies.c b/net/ipv4/syncookies.c
index 6ac473b
lse if vq is broken in virtqueue_poll.
Signed-off-by: Mao Wenan
Acked-by: Michael S. Tsirkin
---
v2->v3: change subject, original is : "virtio_net: Avoid loop in virtnet_poll"
v1->v2: fix it in virtqueue_poll suggested by Michael S. Tsirkin
drivers/virtio/virtio_ring.c | 3 +++
lse if vq is broken in virtqueue_poll.
Signed-off-by: Mao Wenan
---
v1->v2: fix it in virtqueue_poll suggested by Michael S. Tsirkin
drivers/virtio/virtio_ring.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
index 58b96ba..4
to `cros_ec_get_host_event'
This is because it will select SND_SOC_CROS_EC_CODEC
after commit 2cc3cd5fdc8b ("ASoC: mediatek: mt8183: support WoV"),
but SND_SOC_CROS_EC_CODEC depends on CROS_EC.
Fixes: 2cc3cd5fdc8b ("ASoC: mediatek: mt8183: support WoV")
Signed-off-by: Mao Wenan
---
sound/soc/mediat
patch make SND_ATMEL_SOC_SSC select SND_ATMEL_SOC_DMA.
Fixes: 18291410557f ("ASoC: atmel: enable SOC_SSC_PDC and SOC_SSC_DMA in
Kconfig")
Signed-off-by: Mao Wenan
---
sound/soc/atmel/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/atmel/Kconfig b/sound/soc/atmel/K
): undefined reference to `usb_role_switch_put'
make: *** [vmlinux] Error 1
This patch add dependency USB_ROLE_SWITCH for TYPEC_HD3SS3220.
Fixes: 1c48c759ef4b ("usb: typec: driver for TI HD3SS3220 USB Type-C DRP port
controller")
Reported-by: Hulk Robot
Signed-off-by: Mao Wenan
---
d
for rx adaptive
interrupt moderation")
Signed-off-by: Mao Wenan
---
v2: change subject of patch, use the "select" keyword instead of "depends".
drivers/net/ethernet/amazon/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/amazon/Kconfig
b/d
'
After commit 282faf61a053 ("net: ena: switch to dim algorithm for rx adaptive
interrupt moderation"), it introduces dim algorithm, which configured by
CONFIG_DIMLIB.
Fixes: 282faf61a053 ("net: ena: switch to dim algorithm for rx adaptive
interrupt moderation")
Sign
: dsa: sja1105: Configure the Time-Aware Scheduler via
tc-taprio offload")
Signed-off-by: Mao Wenan
---
drivers/net/dsa/sja1105/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/dsa/sja1105/Kconfig b/drivers/net/dsa/sja1105/Kconfig
index 55424f3..f40b248 100644
--- a/drive
se FW thermal
monitoring regardless of CONFIG_THERMAL"), iwl_mvm_up()
calls iwl_mvm_send_temp_report_ths_cmd(), but this function
is under CONFIG_THERMAL, which is depended on CONFIG_THERMAL.
Fixes: 242d9c8b9a93 ("iwlwifi: mvm: use FW thermal monitoring regardless of
CONFIG_THERMAL")
Sign
d tc->t_sock->sk happens null-ptr-deref.
2). list_for_each_entry_safe(tc, _tc, _list, t_tcp_node)
Fixes: c4e97b06cfdc ("net: rds: force to destroy connection if t_sock is NULL
in rds_tcp_kill_sock().")
Signed-off-by: Mao Wenan
---
net/rds/tcp.c | 8 +---
1 file changed, 5 insertion
("usbip: vhci extension: modifications to vhci driver")
Signed-off-by: Mao Wenan
---
v2: change pr_err to dev_err.
v3: add error code in failed messages.
drivers/usb/usbip/vhci_hcd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/usbip/vhci_hcd.c
("usbip: vhci extension: modifications to vhci driver")
Signed-off-by: Mao Wenan
---
v2: change pr_err to dev_err.
drivers/usb/usbip/vhci_hcd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip/vhci_hcd.c
index 00
Signed-off-by: Mao Wenan
---
drivers/usb/usbip/vhci_hcd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip/vhci_hcd.c
index 000ab7225717..dd54c95d2498 100644
--- a/drivers/usb/usbip/vhci_hcd.c
+++ b/drivers/usb/usbip/vhci_hcd.c
@
There are more parentheses in if clause when call sctp_get_port_local
in sctp_do_bind, and redundant assignment to 'ret'. This patch is to
do cleanup.
Signed-off-by: Mao Wenan
Acked-by: Neil Horman
---
net/sctp/socket.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/net
address, e.g return -ENOMEM, so memory leak found, it
needs to destroy allocated bucket.
Reported-by: Hulk Robot
Signed-off-by: Mao Wenan
Acked-by: Neil Horman
---
net/sctp/socket.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
d a casted to an int was the same as
a pointer casted to a long, and they don't save the return
value just check whether it is zero or non-zero, so
it would better change return type from long to int for
sctp_get_port_local.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Mao Wenan
--
First two patches are to do cleanup, remove redundant assignment,
and change return type of sctp_get_port_local.
Third patch is to fix memory leak for sctp_do_bind if failed
to bind address.
---
v2: add one patch to change return type of sctp_get_port_local.
---
Mao Wenan (3):
sctp: change
sonic_send_packet will be processed in irq or non-irq
context, so it would better use dev_kfree_skb_any
instead of dev_kfree_skb.
Fixes: d9fb9f384292 ("*sonic/natsemi/ns83829: Move the National Semi-conductor
drivers")
Signed-off-by: Mao Wenan
---
v2: change 'none irq' to 'non-irq'
sonic_send_packet will be processed in irq or none
irq context, so it would better use dev_kfree_skb_any
instead of dev_kfree_skb.
Fixes: d9fb9f384292 ("*sonic/natsemi/ns83829: Move the National Semi-conductor
drivers")
Signed-off-by: Mao Wenan
---
drivers/net/ethernet/natsemi/s
address, e.g return -ENOMEM, so memory leak found, it
needs to destroy allocated bucket.
Reported-by: Hulk Robot
Signed-off-by: Mao Wenan
---
net/sctp/socket.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index 766b68b55eb
First patch is to do cleanup, remove redundant assignment,
second patch is to fix memory leak for sctp_do_bind if failed
to bind address.
Mao Wenan (2):
sctp: remove redundant assignment when call sctp_get_port_local
sctp: destroy bucket if failed to bind addr
net/sctp/socket.c | 13
There are more parentheses in if clause when call sctp_get_port_local
in sctp_do_bind, and redundant assignment to 'ret'. This patch is to
do cleanup.
Signed-off-by: Mao Wenan
---
net/sctp/socket.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/net/sctp/socket.c b/net
: d9fb9f384292 ("*sonic/natsemi/ns83829: Move the National Semi-conductor
drivers")
Signed-off-by: Mao Wenan
---
v2: change subject and description of patch, use NETDEV_TX_OK instead of
NETDEV_TX_BUSY.
drivers/net/ethernet/natsemi/sonic.c | 4 ++--
1 file changed, 2 insertions(+), 2
Signed-off-by: Mao Wenan
---
drivers/net/ethernet/natsemi/sonic.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/natsemi/sonic.c
b/drivers/net/ethernet/natsemi/sonic.c
index d0a01e8f000a..248a8f22a33b 100644
--- a/drivers/net/ethernet/natsemi/sonic.c
+++ b/drivers/ne
witch to new verification
routines")
Signed-off-by: Mao Wenan
Acked-by: Jonathan Cameron
---
v2: remove fix tag 915e4e8413da ("crypto: hisilicon - SEC security accelerator
driver")
drivers/crypto/hisilicon/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/crypto/hi
by making MLX5_CORE_EN imply PCI_HYPERV_INTERFACE.
Fixes: cef35af34d6d ("net/mlx5e: Add mlx5e HV VHCA stats agent")
Signed-off-by: Mao Wenan
---
drivers/net/ethernet/mellanox/mlx5/core/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/Kc
: Add MT7628/88 SoC support")
Signed-off-by: Mao Wenan
---
v2: change format of 'Fixes' tag.
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
index 8ddbb8
[-Wunused-but-set-variable]
It is not used since commit 90fccb529d24 ("usb: gadget: Gadget directory
cleanup - group UDC drivers")
Signed-off-by: Mao Wenan
---
drivers/usb/gadget/udc/lpc32xx_udc.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/
t;net: ethernet: mediatek: Add
MT7628/88 SoC support")
Signed-off-by: Mao Wenan
---
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
index 8ddbb8d..bb7d
ependence for CONFIG_SERIAL_FSL_LINFLEXUART.
Fixes: b953815b819b ("tty: serial: Add linflexuart driver for S32V234")
Signed-off-by: Mao Wenan
---
drivers/tty/serial/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index d9caf3242b25..
: Add QCS404 interconnect provider
driver")
Signed-off-by: Mao Wenan
---
v2: change subject of patch, and move COMPILE_TEST to INTERCONNECT_QCOM.
drivers/interconnect/qcom/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/interconnect/qcom/Kconfig
is not set, then
qcom_rpm_smd_write() is not defined, and compilation error happen.
Fix this by removing COMPILE_TEST from CONFIG_INTERCONNECT_QCOM_QCS404.
Fixes: 5e4e6c4d3ae0 ("interconnect: qcom: Add QCS404 interconnect provider
driver")
Signed-off-by: Mao Wenan
---
drivers/interco
. And add
one patch to change alignment of two functions.
Mao Wenan (2):
drivers: dma: make mux_configure32 static
drivers: dma: change alignment of mux_configure32 and
fsl_edma_chan_mux
drivers/dma/fsl-edma-common.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--
2.20.1
pport")
Signed-off-by: Mao Wenan
---
drivers/dma/fsl-edma-common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/fsl-edma-common.c b/drivers/dma/fsl-edma-common.c
index 6d6d8a4e8e38..264c448de409 100644
--- a/drivers/dma/fsl-edma-common.c
+++ b/drivers/dm
Signed-off-by: Mao Wenan
---
drivers/dma/fsl-edma-common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/fsl-edma-common.c b/drivers/dma/fsl-edma-common.c
index 264c448de409..b1a7ca91701a 100644
--- a/drivers/dma/fsl-edma-common.c
+++ b/drivers/dma/fsl-edm
'mux_configure32' was not
declared. Should it be static?
Fixes: 232a7f18cf8ec ("dmaengine: fsl-edma: add i.mx7ulp edma2 version support")
Signed-off-by: Mao Wenan
---
drivers/dma/fsl-edma-common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dm
.
Should it be static?
Fixes: 473d924d7d46 ("can: fix ioctl function removal")
Signed-off-by: Mao Wenan
Acked-by: Oliver Hartkopp
---
v2: change patch description typo error, 'warings' to 'warnings'.
v3: change subject of patch.
v4: change the alignment of two functions.
v5: change subjec
.
Should it be static?
Fixes: 473d924d7d46 ("can: fix ioctl function removal")
Signed-off-by: Mao Wenan
Acked-by: Oliver Hartkopp
---
v1->v2: change patch description typo error, 'warings' to 'warnings'.
v2->v3: change subject of patch.
v3->v4: change the alignment of two functio
.
Should it be static?
Fixes: 473d924d7d46 ("can: fix ioctl function removal")
Signed-off-by: Mao Wenan
Acked-by: Oliver Hartkopp
---
v1->v2: change patch description typo error, 'warings' to 'warnings'.
v2->v3: change subject of patch.
net/can/bcm.c | 2 +-
net/can/raw.c | 2 +-
2
.
Should it be static?
Fixes: 473d924d7d46 ("can: fix ioctl function removal")
Signed-off-by: Mao Wenan
Acked-by: Oliver Hartkopp
---
v1->v2: change patch description typo error, 'warings' to 'warnings'.
net/can/bcm.c | 2 +-
net/can/raw.c | 2 +-
2 files changed, 2 insertions(+), 2 delet
.
Should it be static?
Fixes: 473d924d7d46 ("can: fix ioctl function removal")
Signed-off-by: Mao Wenan
---
v1->v2: change patch description typo error, 'warings' to 'warnings'.
net/can/bcm.c | 2 +-
net/can/raw.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ne
it be static?
Fixes: 473d924d7d46 ("can: fix ioctl function removal")
Signed-off-by: Mao Wenan
---
net/can/bcm.c | 2 +-
net/can/raw.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/can/bcm.c b/net/can/bcm.c
index bf1d0bbecec8..b8a32b4ac368 100644
--- a/net
d-by: Yongjian Xu
Signed-off-by: David S. Miller
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Mao Wenan
---
include/net/tcp.h | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/include/net/tcp.h b/include/net/tcp.h
index bf8a0dae977a..77438a8406ec 100644
---
d-by: Yongjian Xu
Signed-off-by: David S. Miller
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Mao Wenan
---
include/net/tcp.h | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/include/net/tcp.h b/include/net/tcp.h
index d7047de952f0..1eda31f7f013 100644
---
hen tcp_write_xmit try to send skb, which has freed in tcp_write_queue_purge,
UAF happens.
Signed-off-by: Mao Wenan
---
include/net/tcp.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/net/tcp.h b/include/net/tcp.h
index bf8a0dae977a..8f8aace28cf8 100644
--- a/include/net/tcp.h
+++ b/include
ement")
Signed-off-by: Mao Wenan
---
drivers/infiniband/sw/siw/siw_cm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/infiniband/sw/siw/siw_cm.c
b/drivers/infiniband/sw/siw/siw_cm.c
index a7cde98..9ce8a1b 100644
--- a/drivers/infiniband/sw/siw/siw_cm.c
+++
This because CONFIG_REGMAP is not enable, so change the Kconfig for HBMC_AM654.
Fixes: b07079f1642c("mtd: hyperbus: Add driver for TI's HyperBus memory
controller")
Signed-off-by: Mao Wenan
---
drivers/mtd/hyperbus/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mt
ckpad driver")
Signed-off-by: Mao Wenan
---
drivers/input/keyboard/applespi.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/input/keyboard/applespi.c
b/drivers/input/keyboard/applespi.c
index c1a6843..548737e 100644
--- a/drivers/input/keyboard/applespi.c
+++
: Kconfig, Better organize compilation flags")
Signed-off-by: Mao Wenan
---
drivers/net/ethernet/mellanox/mlx5/core/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/Kconfig
b/drivers/net/ethernet/mellanox/mlx5/core/Kconfig
index 3
reqsk2, and does not send
synack to client.
Signed-off-by: Mao Wenan
---
v2: move __inet_lookup_established from tcp_conn_request() to
inet_ehash_insert()
as Eric suggested.
---
include/net/inet_connection_sock.h | 2 +-
net/ipv4/inet_connection_sock.c| 16
ne
The variable 'status' in __packet_lookup_frame_in_block() is never used since
introduction in commit f6fb8f100b80 ("af-packet: TPACKET_V3 flexible buffer
implementation."), we can remove it.
Signed-off-by: Mao Wenan
---
v2: don't change parameter from 0 to TP_STATUS_KERNEL
pass macro TP_STATUS_KERNEL instead of 0.
Signed-off-by: Mao Wenan
---
net/packet/af_packet.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index a29d66d..fb1a79c 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
b596229448dd ("net: mscc:
ocelot: Add support for tcam")
Signed-off-by: Mao Wenan
---
drivers/net/ethernet/mscc/ocelot_ace.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/mscc/ocelot_ace.c
b/drivers/net/ethernet/mscc/ocelot_ace.c
index f7
synack to client.
Signed-off-by: Mao Wenan
---
net/ipv4/tcp_input.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 08a477e74cf3..c75eeb1fe098 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -6569,6 +6569,15 @@ int tcp_conn_r
fix the error condition path and do some clean work
for kpc2000_spi.c.
Mao Wenan (2):
staging: kpc2000: report error status to spi core
staging: kpc2000: replace white spaces with tabs for kpc2000_spi.c
drivers/staging/kpc2000/kpc2000_spi.c | 718 +-
1 file changed,
There is an error condition that's not reported to
the spi core in kp_spi_transfer_one_message().
It should restore status value to m->status, and
return it in error path.
Signed-off-by: Mao Wenan
---
drivers/staging/kpc2000/kpc2000_spi.c | 8 ++--
1 file changed, 6 insertions(+)
There are multiple wrong formats in kpc2000_spi.c,
is time to do clean work for it.
Signed-off-by: Mao Wenan
---
drivers/staging/kpc2000/kpc2000_spi.c | 722 +-
1 file changed, 361 insertions(+), 361 deletions(-)
diff --git a/drivers/staging/kpc2000/kpc2000_spi.c
b
;
^~
The variable 'status' is not used any more, remve it.
Signed-off-by: Mao Wenan
---
v2: change the subject of the patch.
---
drivers/staging/kpc2000/kpc_spi/spi_driver.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/kpc2000/kpc_spi/spi_driver.c
b/drivers/staging/kpc2000
;
^~
The variable 'status' is not used any more, remve it.
Signed-off-by: Mao Wenan
---
drivers/staging/kpc2000/kpc_spi/spi_driver.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/kpc2000/kpc_spi/spi_driver.c
b/drivers/staging/kpc2000/kpc_spi/spi_driver.c
index 86df16547a92
: 3e11217263("SELinux: Add network port SID cache")
Fixes: 88b7d370bb("selinux: fix address family in bind() and connect() to match
address/port")
Signed-off-by: Mao Wenan
---
security/selinux/hooks.c | 15 +++
security/selinux/include/netnode.h | 1 +
secu
: symbol
'hisi_pcie_platform_ops' was not declared. Should it be static?
Fixes: a2ec1996098("PCI: hisi: Add DT almost-ECAM support for Hip06/Hip07 host
controllers")
Reported-by: Hulk Robot
Signed-off-by: Mao Wenan
---
drivers/pci/controller/dwc/pcie-hisi.c | 2 +-
1 file changed, 1 inser
ro built-in LED and RNG")
Reported-by: Hulk Robot
Signed-off-by: Mao Wenan
---
drivers/hid/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 4dc1035..76d8206 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -1017,6 +101
Fix sparse warning:
fs/namespace.c:1735:22: warning: symbol 'to_mnt_ns' was not declared. Should it
be static?
Signed-off-by: Mao Wenan
---
fs/namespace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/namespace.c b/fs/namespace.c
index c9cab30..b39a3ec 100644
--- a/fs
Add the missing uart_unregister_driver() before return
from sci_probe_single() in the error handling case.
Signed-off-by: Mao Wenan
---
v1->v2: add uart_unregister_driver() if mctrl_gpio_init is failed.
drivers/tty/serial/sh-sci.c | 8 ++--
1 file changed, 6 insertions(+), 2 deleti
Add the missing uart_unregister_driver() and i2c_del_driver() before
return from sc16is7xx_init() in the error handling case.
Signed-off-by: Mao Wenan
Reviewed-by: Vladimir Zapolskiy
---
v1->v2: fix compile warning if CONFIG_SERIAL_SC16IS7XX_SPI is not exist.
v2->v3: create functions f
Using is_zero_ether_addr() instead of directly use
memcmp() to determine if the ethernet address is all
zeros.
Signed-off-by: Mao Wenan
---
drivers/staging/rtl8188eu/core/rtw_mlme.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c
Add the missing uart_unregister_driver() and i2c_del_driver() before return
from sc16is7xx_init() in the error handling case.
Reviewed-by: Vladimir Zapolskiy
Signed-off-by: Mao Wenan
---
v1->v2: fix compile warning if CONFIG_SERIAL_SC16IS7XX_SPI is not exist.
drivers/tty/serial/sc16is7x
Add the missing uart_unregister_driver() before return
from sci_probe_single() in the error handling case.
Signed-off-by: Mao Wenan
---
drivers/tty/serial/sh-sci.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c
Add the missing uart_unregister_driver() and i2c_del_driver() before return
from sc16is7xx_init() in the error handling case.
Signed-off-by: Mao Wenan
---
drivers/tty/serial/sc16is7xx.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/tty/serial
Add the missing uart_unregister_driver() and i2c_del_driver() before return
from sc16is7xx_init() in the error handling case.
Signed-off-by: Mao Wenan
---
drivers/tty/serial/sc16is7xx.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/tty/serial
0004ae3186e>] do_syscall_64+0xc8/0x580 arch/x86/entry/common.c:290
[<0000bc0d2230>] entry_SYSCALL_64_after_hwframe+0x49/0xbe
[<f737e62f>] 0x
Fixes: 389fb800ac8b("netlabel: Label incoming TCP connections correctly in
SELinux")
Reported-by: H
all_64+0x147/0x600 arch/x86/entry/common.c:290
[<fea382d9>] entry_SYSCALL_64_after_hwframe+0x49/0xbe
[<e01dacb3>] 0x
Fixes: c5a759117210("net/hsr: Use list_head (and rcu) instead of array for
slave devices.")
Reported-by: Hulk Robot
Signe
rnel/fork.c:2224
[<1c2e0d1c>] do_syscall_64+0xc8/0x580 arch/x86/entry/common.c:290
[<ec48bd44>] entry_SYSCALL_64_after_hwframe+0x49/0xbe
[<39acff8a>] 0x
Signed-off-by: Mao Wenan
---
net/ipv6/sit.c | 1 +
1 file changed, 1 insertion(+)
diff --g
repeat_times is a static variable, but each time when it enters
r8712_efuse_pg_packet_write(), it is set to zero,
this value is not consistent with last calling, so next behavior
is not our expect.
Signed-off-by: Mao Wenan
---
drivers/staging/rtl8712/rtl8712_efuse.c | 3 +--
1 file changed, 1
56-ssse3\x00'}, 0x80)
r2 = accept(r1, 0x0, 0x0)
r3 = accept4$unix(r2, 0x0, 0x0, 0x0)
r4 = dup3(r3, r0, 0x0)
fchownat(r4, &(0x7fc0)='\x00', 0x0, 0x0, 0x1000)
Fixes: 6d8c50dcb029 ("socket: close race condition between sock_close() and
sockfs_setattr()")
Signed-off-by: Mao Wenan
-
56-ssse3\x00'}, 0x80)
r2 = accept(r1, 0x0, 0x0)
r3 = accept4$unix(r2, 0x0, 0x0, 0x0)
r4 = dup3(r3, r0, 0x0)
fchownat(r4, &(0x7fc0)='\x00', 0x0, 0x0, 0x1000)
Fixes: 6d8c50dcb029 ("socket: close race condition between sock_close() and
sockfs_setattr()")
Signed-off-by: Mao Wenan
There is no need to have the 'T *v' variable static
since new value always be assigned before use it.
Signed-off-by: Mao Wenan
---
kernel/locking/rtmutex.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c
index 2823d41
There is no need to have the 'T *v' variable static
since new value always be assigned before use it.
Signed-off-by: Mao Wenan
---
kernel/locking/rtmutex.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c
index 2823d41
This patch provides a way to enable relaxed ordering, where it helps with
performance in some architecture.
The default value of wro_enable is 0, if you want to enable relaxed ordering,
please set wro_enable=1.
Mao Wenan (1):
add one parameter wro_enable for IXGBE
drivers/net/ethernet/intel
---
drivers/net/ethernet/intel/ixgbe/ixgbe.h| 1 +
drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c | 29 ++---
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 28 +---
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 9
4 files
This patch provides a way to enable relaxed ordering, where it helps with
performance in some architecture.
The default value of wro_enable is 0, if you want to enable relaxed ordering,
please set wro_enable=1.
Mao Wenan (1):
add one parameter wro_enable for IXGBE
drivers/net/ethernet/intel
---
drivers/net/ethernet/intel/ixgbe/ixgbe.h| 1 +
drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c | 29 ++---
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 28 +---
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 9
4 files
90 matches
Mail list logo