Re: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-24 Thread Jason Wang
On 11/24/2014 03:54 PM, Dexuan Cui wrote: -Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Monday, November 24, 2014 15:28 PM To: Dexuan Cui; gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; driverdev-devel@linuxdriverproject.org; o...@aepfle.de;

RE: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-24 Thread Dexuan Cui
-Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Monday, November 24, 2014 16:48 PM To: Dexuan Cui; gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; driverdev-devel@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; KY Srinivasan Cc: Haiyang

Re: [PATCH 00/11] staging: comedi: adv_pci1723: cleanup driver

2014-11-24 Thread Ian Abbott
On 21/11/14 21:22, H Hartley Sweeten wrote: Following is the big cleanup for the adv_pci1723 driver. H Hartley Sweeten (11): staging: comedi: adv_pci1723: tidy up register map staging: comedi: adv_pci1723: remove private data 'da_range' staging: comedi: adv_pci1723: remove board reset

Re: [PATCH v12 0/11] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-11-24 Thread Andy Yan
Hi ZubairLK: On 2014年11月24日 22:22, Zubair Lutfullah Kakakhel wrote: Hi Andy, On 24/11/14 14:17, Andy Yan wrote: Hi ZubairLK, Russel King, Greg Kroah-Hartman , Philipp Zabel and Daniel: Do you have any further opinions or suggestions about the the current patch set? I have reviewed the

[PATCH v2 1/2] drm: imx: Move imx-drm driver out of staging

2014-11-24 Thread Philipp Zabel
The imx-drm driver was put into staging mostly for the following reasons, all of which have been addressed or superseded: - convert the irq driver to use linear irq domains - work out the device tree bindings, this lead to the common of_graph bindings being used - factor out common helper

[PATCH 1/2] [drivers] staging/lustre: fix sparse warnings

2014-11-24 Thread Zahari Doychev
This patch fixes the following sparse warnings: lib-lnet.h:787:47: warning: incorrect type in initializer (different address spaces) lib-lnet.h:787:47:expected void [noderef] asn:1*iov_base lib-lnet.h:787:47:got void *dest Signed-off-by: Zahari Doychev zahari.doyc...@linux.com ---

[PATCH 0/2] fix some sparse warnings in lustre

2014-11-24 Thread Zahari Doychev
The two patches fix several sparse warning in the lustre module. Zahari Doychev (2): [drivers] staging/lustre: fix sparse warnings [drivers] staging/lustre: fix sparse warnings drivers/staging/lustre/include/linux/lnet/lib-lnet.h | 14 +-

I wish you a pleasant day as I hope to read from you today.

2014-11-24 Thread Mr.Richard Blanc
From Mr.Richard Blanc Banque Atlantique Benin Hello Dear, My name is Mr.Richard Blanc ,staff of BANQUE ATLANTIQUE BANK BENIN,Admin / Investment Manager. I have a business project which I believed will be of mutual benefits to both of us. It involves an investment portfolio of an excess

RE: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-24 Thread KY Srinivasan
-Original Message- From: Dexuan Cui Sent: Monday, November 24, 2014 12:55 AM To: Jason Wang; gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; driverdev-devel@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; KY Srinivasan Cc: Haiyang Zhang Subject: RE: [PATCH]

[PATCH 1/1] staging: olpc_dcon: Deletion of a check before backlight_device_unregister()

2014-11-24 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 24 Nov 2014 22:58:48 +0100 The backlight_device_unregister() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle

Re: [PATCH 1/2] [drivers] staging/lustre: fix sparse warnings

2014-11-24 Thread Dan Carpenter
On Mon, Nov 24, 2014 at 07:55:41PM +0100, Zahari Doychev wrote: --- a/drivers/staging/lustre/include/linux/lnet/lib-lnet.h +++ b/drivers/staging/lustre/include/linux/lnet/lib-lnet.h @@ -784,7 +784,8 @@ lnet_copy_iov2flat(int dlen, void *dest, unsigned int doffset, unsigned

Re: [PATCH 1/2] [drivers] staging/lustre: fix sparse warnings

2014-11-24 Thread Dilger, Andreas
The non-posix initializers are a holdover from Windows, where the compiler doesn't have C99 initializers. We don't need that anymore, so the initializer can indeed be uncommented. Cheers, Andreas On Nov 24, 2014, at 16:41, Dan Carpenter dan.carpen...@oracle.com wrote: On Mon, Nov 24, 2014

[PATCH v2] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-24 Thread Dexuan Cui
If num_ballooned is not 0, we shouldn't neglect the already-partially-allocated 2MB memory block(s). Cc: Jason Wang jasow...@redhat.com Cc: K. Y. Srinivasan k...@microsoft.com Signed-off-by: Dexuan Cui de...@microsoft.com --- v2: I fixed the logic error in v1, pointed by Jason Wang: In

Re: [PATCH v2] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-24 Thread Jason Wang
On 11/25/2014 12:32 PM, Dexuan Cui wrote: If num_ballooned is not 0, we shouldn't neglect the already-partially-allocated 2MB memory block(s). Cc: Jason Wang jasow...@redhat.com Cc: K. Y. Srinivasan k...@microsoft.com Signed-off-by: Dexuan Cui de...@microsoft.com --- v2: I fixed the logic

RE: [PATCH v2] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-24 Thread KY Srinivasan
-Original Message- From: Dexuan Cui [mailto:de...@microsoft.com] Sent: Monday, November 24, 2014 8:33 PM To: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; driverdev- de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; jasow...@redhat.com; KY Srinivasan

Re: [PATCH 1/2] [drivers] staging/lustre: fix sparse warnings

2014-11-24 Thread Zahari Doychev
On Tue, Nov 25, 2014 at 02:40:36AM +0300, Dan Carpenter wrote: On Mon, Nov 24, 2014 at 07:55:41PM +0100, Zahari Doychev wrote: --- a/drivers/staging/lustre/include/linux/lnet/lib-lnet.h +++ b/drivers/staging/lustre/include/linux/lnet/lib-lnet.h @@ -784,7 +784,8 @@ lnet_copy_iov2flat(int

Re: [PATCH 1/2] [drivers] staging/lustre: fix sparse warnings

2014-11-24 Thread Dan Carpenter
On Tue, Nov 25, 2014 at 08:35:42AM +0100, Zahari Doychev wrote: On Tue, Nov 25, 2014 at 02:40:36AM +0300, Dan Carpenter wrote: On Mon, Nov 24, 2014 at 07:55:41PM +0100, Zahari Doychev wrote: --- a/drivers/staging/lustre/include/linux/lnet/lib-lnet.h +++