From: Libo Chen libo.c...@huawei.com
On 2013-1-29 4:23, Kirill Tkhai wrote:
Just switched pinned task is not able to be pushed. If the rq had had
several RT tasks before they have already been considered as candidates
to be pushed (or pulled).
Signed-off-by: Kirill V Tkhai tk...@yandex.ru
decrease device_node refcount np1 in err case.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c
b/drivers/net/ethernet
decrease device_node refcount np after task completion
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/edac/cell_edac.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/edac/cell_edac.c b/drivers/edac/cell_edac.c
index c2eaf33..493dc30 100644
decrease np device_node refcount after task completion
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/power/max8925_power.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/power/max8925_power.c b/drivers/power/max8925_power.c
index 0ee1e14..b4513f2
Unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/host/ohci-at91.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with pdev-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/renesas_usbhs/common.c |2 +-
1
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with pdev-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/host/r8a66597-hcd.c |4 ++--
1
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with pdev-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/phy/phy-tegra-usb.c |2 +-
1 files
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with pdev-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/gadget/fotg210-udc.c |4 ++--
1
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with pdev-dev,
so we can directly pass a struct platform_device.
Libo Chen (4):
usb: fotg210-udc: use platform_{get,set}_drvdata()
usb: r8a66597-hcd: use platform_
On 2013/8/28 12:36, Greg KH wrote:
On Tue, Aug 27, 2013 at 04:10:22PM +0800, Libo Chen wrote:
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with pdev-dev,
so we can directly pass a struct platform_device
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with pdev-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/freescale/fsl_pq_mdio.c |2
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with of-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/freescale/fec_mpc52xx_phy.c
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with of-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/sun/sunhme.c |2 +-
1 files
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with of-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/sun/sunbmac.c |2 +-
1 files
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with pdev-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
Acked-by: Mugunthan V N mugunthan...@ti.com
Acked-by: Lad
Unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/freescale/ucc_geth.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff
Unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/freescale/fec_mpc52xx_phy.c |1 -
1 files changed, 0 insertions(+), 1 deletions
Unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/freescale/fsl_pq_mdio.c |2 --
1 files changed, 0 insertions(+), 2 deletions
Unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/xilinx/xilinx_emaclite.c |1 -
1 files changed, 0 insertions(+), 1 deletions
Unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/sun/sunbmac.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git
Unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/sun/sunhme.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git
Unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/ibm/emac/core.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff
Unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/ti/davinci_mdio.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_set_drvdata() with pdev-dev,
so we can directly pass a struct platform_device.
Libo Chen (2):
net: can: at91_can: use platform_set_drvdata()
net: can: flexcan: use platform_set_drvdata
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_set_drvdata() with pdev-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/can/flexcan.c |2 +-
1 files changed, 1
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_set_drvdata() with pdev-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/phy/mdio-octeon.c |2 +-
1 files changed
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using deva_set_drvdata() with pdev-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/irda/pxaficp_ir.c |2 +-
1 files changed
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_set_drvdata() with pdev-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/can/at91_can.c |2 +-
1 files changed, 1
On 2013/8/22 9:53, Jingoo Han wrote:
The driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.
Signed-off-by: Jingoo Han jg1@samsung.com
---
It looks good.
Acked-by: Libo Chen
:
this version add modify record about dev_set_drvdata().
Libo Chen (8):
net: fsl_pq_mdio: use platform_{get,set}_drvdata()
net: ucc_geth: use platform_{get,set}_drvdata()
net: fec_mpc52xx_phy: use platform_{get,set}_drvdata()
net: fs_enet: remove unnecessary dev_set_drvdata()
net
-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/freescale/ucc_geth.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/freescale/ucc_geth.c
b/drivers/net/ethernet/freescale/ucc_geth.c
index 3c43dac..5930c39 100644
--- a/drivers/net
-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/freescale/fec_mpc52xx_phy.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/freescale/fec_mpc52xx_phy.c
b/drivers/net/ethernet/freescale/fec_mpc52xx_phy.c
index 360a578..e052890 100644
unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c |1 -
1 files changed, 0 insertions(+), 1
-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/sun/sunhme.c |8 +++-
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ethernet/sun/sunhme.c
b/drivers/net/ethernet/sun/sunhme.c
index 171f5b0..a111f29 100644
--- a/drivers/net/ethernet/sun/sunhme.c
+++ b
-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/sun/sunbmac.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/sun/sunbmac.c
b/drivers/net/ethernet/sun/sunbmac.c
index 0d43fa9..34b94cc 100644
--- a/drivers/net/ethernet/sun/sunbmac.c
+++ b
-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/ti/davinci_mdio.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/ti/davinci_mdio.c
b/drivers/net/ethernet/ti/davinci_mdio.c
index 16ddfc3..2249b2c 100644
--- a/drivers/net/ethernet/ti
-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/xilinx/xilinx_emaclite.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c
b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
index fd4dbda..4c619ea 100644
-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/freescale/fsl_pq_mdio.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/freescale/fsl_pq_mdio.c
b/drivers/net/ethernet/freescale/fsl_pq_mdio.c
index c93a056..995a3ab 100644
--- a/drivers/net
On 2013/8/15 2:54, Sergei Shtylyov wrote:
Hello.
On 08/14/2013 07:39 AM, Libo Chen wrote:
We can use the wrapper functions platform_{get,set}_drvdata() instead of
dev_{get,set}_drvdata() with pdev-dev, it is convenient for user.
Also, unnecessary dev_set_drvdata() is removed, because
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with op-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/sun/sunbmac.c |2 +-
1 files
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with of-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/freescale/fec_mpc52xx_phy.c
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with pdev-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/freescale/fsl_pq_mdio.c |2
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with pdev-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/ti/davinci_mdio.c |3 +--
1
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with of_dev-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/xilinx/xilinx_emaclite.c
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with pdev-dev,
so we can directly pass a struct platform_device.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/sun/sunhme.c |6 +++---
1
On 2013/8/16 6:23, David Miller wrote:
From: Libo Chen clbchenlibo.c...@huawei.com
Date: Thu, 15 Aug 2013 21:01:47 +0800
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with of_dev-dev,
so we can directly pass
-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/sun/sunhme.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ethernet/sun/sunhme.c
b/drivers/net/ethernet/sun/sunhme.c
index 171f5b0..b90d311 100644
--- a/drivers/net/ethernet/sun/sunhme.c
+++ b/drivers/net
Hello LXC experts,
I meet a problem. When using vlan as network device in suse11 system
container,
I can not use halt to stop this container. It hung on eth0 is still used from
interfaces eth0 in cycle.
The config file:
lxc.network.type = vlan
lxc.network.flags = up
lxc.network.link =
On 2013/11/29 13:05, Serge Hallyn wrote:
Quoting Libo Chen (clbchenlibo.c...@huawei.com):
Hello LXC experts,
I meet a problem. When using vlan as network device in suse11 system
container,
I can not use halt to stop this container. It hung on eth0 is still used
from interfaces eth0
On 2013/11/29 22:18, Serge Hallyn wrote:
Quoting Libo Chen (clbchenlibo.c...@huawei.com):
On 2013/11/29 13:05, Serge Hallyn wrote:
Quoting Libo Chen (clbchenlibo.c...@huawei.com):
Hello LXC experts,
I meet a problem. When using vlan as network device in suse11 system
container,
I can
fix two wrong mem release
Libo Chen (2):
i2c: i2c-bfin-twi:don`t free peripheral before it`s init successful
i2c: pxa: no need release_mem_region before request_mem_region
successful
drivers/i2c/busses/i2c-bfin-twi.c |2 +-
drivers/i2c/busses/i2c-pxa.c |5 +++--
2 files
move release_mem_region above kfree(i2c) below clk_put(i2c-clk)
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/i2c/busses/i2c-pxa.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c
index ea6d45d
down out_error_no_irq. When platform_get_irq fail, no need to free peripheral
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/i2c/busses/i2c-bfin-twi.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/i2c/busses/i2c-bfin-twi.c
b/drivers/i2c/busses/i2c
On 2013/5/7 10:59, Gu Zheng wrote:
Hi libo,
On 05/06/2013 09:11 PM, Libo Chen wrote:
move release_mem_region above kfree(i2c) below clk_put(i2c-clk)
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/i2c/busses/i2c-pxa.c |5 +++--
1 files changed, 3 insertions(+), 2
fix four goto wrong tag, avoid memleak
Libo Chen (4):
usb: ehci-s5p: fix memleak when fallback to pdata
usb: isp1760-if: fix memleak when platform_get_resource fail
usb: ohci: fix goto wrong tag in err case
usb: tilegx: fix memleak when create hcd fail
drivers/usb/host/ehci-s5p.c
From: Libo Chen chenlib...@gmail.com
When usb_create_hcd fail, we should call gxio_usb_host_destroy
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/host/ohci-tilegx.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host/ohci-tilegx.c b
From: Libo Chen chenlib...@gmail.com
When platform_get_resource fail, we should release_mem_region
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/host/isp1760-if.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/host/isp1760-if.c b/drivers
From: Libo Chen chenlib...@gmail.com
When devm_usb_get_phy fail, we should free hcd
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/host/ehci-s5p.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c
From: Libo Chen chenlib...@gmail.com
fix goto wrong tag in usb_hcd_nxp_probe
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/host/ohci-nxp.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/host/ohci-nxp.c b/drivers/usb/host/ohci
fix goto wrong tag in usb_hcd_nxp_probe
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/host/ohci-nxp.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/host/ohci-nxp.c b/drivers/usb/host/ohci-nxp.c
index f4988fb..eb294a9 100644
When devm_usb_get_phy fail, we should free hcd
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/host/ehci-s5p.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c
index 6357752..3fbab58 100644
When platform_get_resource fail, we should release_mem_region
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/host/isp1760-if.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/host/isp1760-if.c b/drivers/usb/host/isp1760-if.c
index bbb791b
change address from Libo Chen chenlib...@gmail.com to Libo Chen
libo.c...@huawei.com
fix four goto wrong tag, avoid memleak
Libo Chen (4):
usb: ehci-s5p: fix memleak when devm_usb_get_phy fail
usb: isp1760-if: fix memleak when platform_get_resource fail
usb: ohci: fix goto wrong tag
When usb_create_hcd fail, we should call gxio_usb_host_destroy
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/host/ohci-tilegx.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host/ohci-tilegx.c b/drivers/usb/host/ohci-tilegx.c
index
fix two wrong mem release
* Changelog from v1:
* exchange out_error_no_irq and out_error_pin_mux suggested by Sonic
sonic.zh...@analog.com
* add some new tag , make code cleanly
Libo Chen (2):
i2c: i2c-bfin-twi: don`t free peripheral before it init successful
i2c: pxa: no need
When kzalloc fail, there is no reason to release_mem_region
fix confuse tag, add new tag: emem, eirq, edt and make it cleanly
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/i2c/busses/i2c-pxa.c | 13 -
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git
down out_error_no_irq. When platform_get_irq fail, no need to free peripheral
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/i2c/busses/i2c-bfin-twi.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/i2c/busses/i2c-bfin-twi.c
b/drivers/i2c/busses/i2c
On 2013/5/9 16:33, Zhang, Sonic wrote:
Hi Libo,
-Original Message-
From: Libo Chen [mailto:libo.c...@huawei.com]
Sent: Thursday, May 09, 2013 4:27 PM
To: Zhang, Sonic; w...@the-dreams.de
Cc: uclinux-dist-de...@blackfin.uclinux.org; linux-kernel@vger.kernel.org;
linux-
i
On 2013/5/10 2:02, Chris Metcalf wrote:
On 5/9/2013 2:08 AM, Libo Chen wrote:
When usb_create_hcd fail, we should call gxio_usb_host_destroy
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/host/ohci-tilegx.c |7 +--
1 files changed, 5 insertions(+), 2 deletions
On 2013/5/10 9:09, Libo Chen wrote:
On 2013/5/10 2:02, Chris Metcalf wrote:
On 5/9/2013 2:08 AM, Libo Chen wrote:
When usb_create_hcd fail, we should call gxio_usb_host_destroy
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/host/ohci-tilegx.c |7 +--
1 files changed
On 2013/6/18 7:30, Samuel Ortiz wrote:
Hi Libo,
On Mon, May 27, 2013 at 10:28:56AM +0800, Libo Chen wrote:
use module_pci_driver instead of init/exit, make code clean.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/mfd/lpc_ich.c | 13 +
1 files changed, 1
Add missing unregister tis_drv after register pdev fail
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/char/tpm/tpm_tis.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c
index 8a41b6b..d5b0af4
From: libo.c...@huawei.com
Sorry, I am not sure who this patch should be send to.
Libo Chen (2):
msm: iommu: add missing platform_device_unregister() in err case
msm: iommu: no need kfree before kzalloc successful
drivers/iommu/msm_iommu_dev.c | 8 +---
1 file changed, 5 insertions
From: libo.c...@huawei.com
We have registered msm_iommu_driver first, and need unregister it when
registered msm_iommu_ctx_driver fail
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/iommu/msm_iommu_dev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iommu
From: libo.c...@huawei.com
We don`t need to kfree drvdata before kzalloc successful
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/iommu/msm_iommu_dev.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/iommu/msm_iommu_dev.c b/drivers/iommu
we should check kzalloc, avoid to hit oops
Change from v1:
- put kzalloc outside of mutex
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/scsi/megaraid.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c
On 2013/6/4 20:14, Tomas Henzl wrote:
On 06/04/2013 11:33 AM, Libo Chen wrote:
we should check kzalloc, avoid to hit oops
Change from v1:
- put kzalloc outside of mutex
Signed-off-by: Libo Chen libo.c...@huawei.com
Your patch looks fine to me:
Acked-by: Tomas Henzl the...@redhat.com
On 2013/5/29 23:03, Tomas Henzl wrote:
On 05/24/2013 11:40 AM, Libo Chen wrote:
we should check kzalloc, avoid to hit oops
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/scsi/megaraid.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
instead of checking scmd
mtd is just member of bcm47xxsflash, so we should free bcm47xxsflash not its
member.
So I use devm_kazlloc instead of kazlloc to avoid it.
* Changelog:
convert to devm_kzalloc
Signed-off-by: Libo chen libo.c...@huawei.com
Suggested-by: Andy Shevchenko andy.shevche...@gmail.com
---
drivers
convert to module_platform_driver instead of init/exit
Suggested-by: Andy Shevchenko andy.shevche...@gmail.com
Signed-off-by: Libo chen libo.c...@huawei.com
---
drivers/mtd/devices/bcm47xxsflash.c | 20 +---
1 files changed, 1 insertions(+), 19 deletions(-)
diff --git
On 2013/5/30 9:38, Libo Chen wrote:
On 2013/5/29 23:03, Tomas Henzl wrote:
On 05/24/2013 11:40 AM, Libo Chen wrote:
we should check kzalloc, avoid to hit oops
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/scsi/megaraid.c |4
1 files changed, 4 insertions(+), 0
On 2013/5/29 17:33, Gu Zheng wrote:
From 4d4caa16f3886ae910ad6dfe13353fc836f546cc Mon Sep 17 00:00:00 2001
From: Gu Zheng guz.f...@cn.fujitsu.com
Date: Wed, 29 May 2013 17:34:22 +0900
Subject: [PATCH] driver/scsi: Introduce a help function local_time_seconds()
to simplify the getting time
is an example:
before:
Symbol: GENERIC_SMP_IDLE_THREAD [=y]
Type : boolean
Selected by: X86 [=y]
after:
Symbol: GENERIC_SMP_IDLE_THREAD [=y]
Type : boolean
Defined at arch/Kconfig:213
Selected by: X86 [=y]
Signed-off-by: Weng Meiling wengmeiling.w...@huawei.com
Signed-off-by: Libo Chen libo.c
Hi Greg,
On 2013/5/17 8:34, Greg KH wrote:
On Thu, May 09, 2013 at 12:58:11PM +0800, Libo Chen wrote:
From: Libo Chen chenlib...@gmail.com
When usb_create_hcd fail, we should call gxio_usb_host_destroy
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/host/ohci-tilegx.c
On 2013/5/15 19:55, Sergei Shtylyov wrote:
Hello.
On 15-05-2013 5:35, Libo Chen wrote:
when omap_get_control_dev fail, we should release relational platform_device
s/fail/fails/, s/relational/related/?
Signed-off-by: Libo Chen libo.c...@huawei.com
You've posted
without this patch, gdrom_major will leak when gd.cd_info alloc faild
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/cdrom/gdrom.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/cdrom/gdrom.c b/drivers/cdrom/gdrom.c
index 4afcb65..5980cb9 100644
when gptu_r32 fail, we should put clk before return
Signed-off-by: Libo Chen libo.c...@huawei.com
---
arch/mips/lantiq/xway/gptu.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/mips/lantiq/xway/gptu.c b/arch/mips/lantiq/xway/gptu.c
index 9861c86..4fa577c 100644
δΊ 2013-5-17 17:43, Wolfram Sang ει:
On Thu, May 09, 2013 at 04:27:22PM +0800, Libo Chen wrote:
fix two wrong mem release
* Changelog from v1:
* exchange out_error_no_irq and out_error_pin_mux suggested by
Sonicsonic.zh...@analog.com
* add some new tag , make code cleanly
Thanks
repost with Jens Axboe ax...@kernel.dk added suggest by Tejun Heo
t...@kernel.org
without this patch, gdrom_major will leak when gd.cd_info alloc faild
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/cdrom/gdrom.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff
1. fix two visible mistakes:
* when load_scm_model_init faild, we should call
platform_device_del(msipf_device)
* msipf_attribute_group should be remove in err case
2. change some tags, give them real meaning.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/platform/x86/msi
fix memleak or invalite point acesss about x86 platform drivers
Libo Chen (3):
x86: msi-laptop: fix memleak
x86: asus-laptop: fix invalid point access
x86 platform drivers: fix gpio leak
drivers/platform/x86/asus-laptop.c | 1 -
drivers/platform/x86/intel_pmic_gpio.c | 5
when request_irq faild, we should release gpiochip
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/platform/x86/intel_pmic_gpio.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
mode change 100644 = 100755 drivers/platform/x86/intel_pmic_gpio.c
diff --git a/drivers
asus-name is null or point to const string,so it is not suitable to kfree it.
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/platform/x86/asus-laptop.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/platform/x86/asus-laptop.c
b/drivers/platform/x86/asus-laptop.c
index
set the owner of platform_driver, to ensure that the
caller of driver holds a module refernece
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/renesas_usbhs/common.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/renesas_usbhs/common.c
b
set the owner of platform_driver, to ensure that the
caller of driver holds a module refernece
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/ethernet/natsemi/xtsonic.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/ethernet/natsemi/xtsonic.c
set the owner of platform_driver, to ensure that the
caller of driver holds a module refernece
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/dwc3/core.c|1 +
drivers/usb/dwc3/dwc3-exynos.c |1 +
drivers/usb/dwc3/dwc3-omap.c |1 +
3 files changed, 3
set the owner of platform_driver, to ensure that the
caller of driver holds a module refernece
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/usb/gadget/r8a66597-udc.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/gadget/r8a66597-udc.c
b/drivers
set the owner of platform_driver, to ensure that the
caller of driver holds a module refernece
Signed-off-by: Libo Chen libo.c...@huawei.com
---
drivers/net/wan/ixp4xx_hss.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wan/ixp4xx_hss.c b/drivers/net/wan
set the owner of platform_driver, to ensure that the
caller of driver holds a module refernece
Signed-off-by: Libo Chen libo.c...@huawei.com
---
.../net/wireless/brcm80211/brcmfmac/bcmsdh_sdmmc.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/net/wireless
1 - 100 of 468 matches
Mail list logo