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 > > > +++ b/drivers/staging/lustre/in

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(i

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 Srinivasa

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 > Cc: K. Y. Srinivasan > Signed-off-by: Dexuan Cui > --- > > v2: I fixed the logic error in v1, pointed by Jason Wang: > In

[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 Cc: K. Y. Srinivasan Signed-off-by: Dexuan Cui --- v2: I fixed the logic error in v1, pointed by Jason Wang: In v1: in the case of partially-allocated 2MB, alloc_error is

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 wrote: > >> On Mon, Nov 24, 2014 at 07:55:41PM +0100,

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, > unsign

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

2014-11-24 Thread SF Markus Elfring
From: Markus Elfring 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 software. Signed-off-by: Markus Elf

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: [

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 t

[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 +- drivers/staging/lustre/lnet/klnds/sockl

[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] *iov_base lib-lnet.h:787:47:got void *dest Signed-off-by: Zahari Doychev --- drivers/staging/lustre/include/lin

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

2014-11-24 Thread Zahari Doychev
This patch fixes the following warnings: socklnd_cb.c:134:39: warning: incorrect type in assignment (different address spaces) socklnd_cb.c:134:39:expected void [noderef] *iov_base socklnd_cb.c:134:39:got void * Signed-off-by: Zahari Doychev --- drivers/staging/lustre/lnet/klnds/sockln

[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 fun

[PATCH v2 2/2] MAINTAINERS: add maintainer for i.MX DRM driver

2014-11-24 Thread Philipp Zabel
Add myself as the maintainer of the i.MX DRM driver. Signed-off-by: Philipp Zabel Acked-by: Shawn Guo --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3c69a3c7..b29325d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3202,6 +3202,13 @@ F:

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 patc

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

2014-11-24 Thread Andy Yan
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? On 2014年11月17日 18:53, Andy Yan wrote: We found Freescale imx6 and Rockchip rk3288 and Ingenic JZ4780 (Xburst/MIPS) use the interface compati

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

2014-11-24 Thread Zubair Lutfullah Kakakhel
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 patches as much as I could. They look good to me. But I don't know t

Re: [PATCH] [media] omap24xx/tcm825x: remove pointless Makefile entry

2014-11-24 Thread Paul Bolle
On Mon, 2014-11-24 at 12:08 +0100, Hans Verkuil wrote: > I found the same thing and it is already part of my pull request > to Mauro. Either way, this trivial issue will be solved. Thanks, Paul Bolle ___ devel mailing list de...@linuxdriverproject.or

Re: [PATCH] [media] omap24xx/tcm825x: remove pointless Makefile entry

2014-11-24 Thread Hans Verkuil
grepping the tree. > > Triggered by commit db85a0403be4 ("[media] omap24xx/tcm825x: remove > deprecated omap2 camera drivers."), which is included in next-20141124. > What happened is that it removed only one of the two Makefile entries > for omap24xx. > > d

[PATCH] [media] omap24xx/tcm825x: remove pointless Makefile entry

2014-11-24 Thread Paul Bolle
. Triggered by commit db85a0403be4 ("[media] omap24xx/tcm825x: remove deprecated omap2 camera drivers."), which is included in next-20141124. What happened is that it removed only one of the two Makefile entries for omap24xx. drivers/staging/media/Makefile | 1 - 1 file changed, 1 deletio

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 d

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: Hai

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