Re: [PATCH] r8169: Add new device ID support

2018-10-23 Thread Shawn Lin
On 2018/10/24 13:54, David Miller wrote: From: Shawn Lin Date: Wed, 24 Oct 2018 13:48:55 +0800 Hi David, On 2018/10/24 10:19, David Miller wrote: From: Shawn Lin Date: Wed, 24 Oct 2018 09:46:47 +0800 It's found my r8169 ethernet card at hand has a device ID of 0x which wasn

Re: [PATCH] r8169: Add new device ID support

2018-10-23 Thread Shawn Lin
Hi David, On 2018/10/24 10:19, David Miller wrote: From: Shawn Lin Date: Wed, 24 Oct 2018 09:46:47 +0800 It's found my r8169 ethernet card at hand has a device ID of 0x which wasn't on the list of rtl8169_pci_tbl. Add a new entry to make it work: ... 01:00.0 Class 0200: 10e

System hung for reg_check_changs_work()-> rtnl_lock()->mutex_lock()

2018-05-20 Thread Shawn Lin
Hi, I found this hung for several times these days, and seems syzbot already reported a similar problem. Is there any patch(es) for that? Successfully initialized wpa_supplicant [ 240.091941] INFO: task kworker/u8:1:39 blocked for more than 120 seconds. [ 240.092004] Not tainted 4.4.126

Re: [PATCH] ethernet: stmmac: dwmac-rk: Add GMAC support for px30

2018-05-15 Thread Shawn Lin
Hi David, On 2018/5/16 11:38, David Wu wrote: Add constants and callback functions for the dwmac on px30 soc. s/soc/SoC The base structure is the same, but registers and the bits in them moved slightly, and add the clk_mac_speed for the select s/moved/are moved of mac speed. for select

Re: [PATCH] PCI: Allow PCI express root ports to find themselves

2017-08-17 Thread Shawn Lin
evice") which added an extra check that would now be redundant. Fixes: a99b646afa8a ("PCI: Disable PCIe Relaxed Ordering if unsupported") Fixes: c56d4450eb68 ("PCI: Turn off Request Attributes to avoid Chelsio T5 Completion erratum") Signed-off-by: Thierry Reding Tested-by: Sh

Re: [PATCH] mwifiex: fix compile warning of unused variable

2017-07-06 Thread Shawn Lin
Hi Kalle, On 2017/7/6 15:57, Kalle Valo wrote: Shawn Lin writes: We got a compile warning shows below: drivers/net/wireless/marvell/mwifiex/sdio.c: In function 'mwifiex_sdio_remove': drivers/net/wireless/marvell/mwifiex/sdio.c:377:6: warning: variable 'ret' set but no

[PATCH] mwifiex: fix compile warning of unused variable

2017-07-06 Thread Shawn Lin
, it didn't check if mwifiex_sdio_read_fw_status finish successfully. We should at least check the return of mwifiex_sdio_read_fw_status, otherwise the following check of firmware_stat and adapter->mfg_mode is pointless as the device is probably dead. Signed-off-by: Shawn Lin --- drivers/net/wireless/marvell/mw

[PATCH] mwifiex: debugfs: remove redunant check of mwifiex_dfs_dir

2017-06-15 Thread Shawn Lin
debugfs_remove already check mwifiex_dfs_dir, so remove it. Signed-off-by: Shawn Lin --- drivers/net/wireless/marvell/mwifiex/debugfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/marvell/mwifiex/debugfs.c b/drivers/net/wireless/marvell/mwifiex

[PATCH] mwifiex: simplify the code around ra_list

2017-05-25 Thread Shawn Lin
We don't need to check if the list is empty separately as we could use list_first_entry_or_null to cover it. Signed-off-by: Shawn Lin --- drivers/net/wireless/marvell/mwifiex/tdls.c | 7 ++- drivers/net/wireless/marvell/mwifiex/wmm.c | 8 ++-- 2 files changed, 4 insertions(+