This patch verifies two conditions before executing
a kmalloc call. First, it checks to see that
IoBuffer.OutputLength is not greater than an
unsigned short. If so, an invalid value may be
returned. The second change is a check to make
sure IoBuffer.OutputLength is not equal to
zero. Which simply k
> -Original Message-
> From: Greg KH [mailto:gre...@suse.de]
> Sent: Tuesday, November 08, 2011 7:49 PM
> To: KY Srinivasan
> Cc: Dmitry Torokhov; linux-ker...@vger.kernel.org;
> devel@linuxdriverproject.org; oher...@suse.com; j...@perches.com;
> jkos...@suse.cz
> Subject: Re: [PATCH 1/1]
On Wed, Nov 09, 2011 at 12:45:30AM +, KY Srinivasan wrote:
>
>
> > -Original Message-
> > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com]
> > Sent: Monday, November 07, 2011 12:51 AM
> > To: KY Srinivasan
> > Cc: gre...@suse.de; linux-ker...@vger.kernel.org;
> > devel@linuxdr
> -Original Message-
> From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com]
> Sent: Monday, November 07, 2011 12:51 AM
> To: KY Srinivasan
> Cc: gre...@suse.de; linux-ker...@vger.kernel.org;
> devel@linuxdriverproject.org; virtualizat...@lists.osdl.org; oher...@suse.com;
> j...@perche
From: Thomas Meyer
Use kmemdup rather than duplicating its implementation
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.
More information about semantic patching is available at
http://coccinelle.lip6.fr/
Signed-off-by: Thomas Meyer
---
di
From: Thomas Meyer
Use kmemdup rather than duplicating its implementation
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.
More information about semantic patching is available at
http://coccinelle.lip6.fr/
Signed-off-by: Thomas Meyer
---
di
On Tue, Nov 08, 2011 at 08:05:53PM +0100, Thomas Meyer wrote:
> From: Thomas Meyer
>
> Use kzalloc rather than kmalloc followed by memset with 0
>
> This considers some simple cases that are common and easy to validate
> Note in particular that there are no ...s in the rule, so all of the
>
From: Thomas Meyer
Use kmemdup rather than duplicating its implementation
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.
More information about semantic patching is available at
http://coccinelle.lip6.fr/
Signed-off-by: Thomas Meyer
---
di
On Tue, 8 Nov 2011, Thomas Meyer wrote:
> From: Thomas Meyer
>
You should seriously consider giving your patch mails unique subjects.
Many patches with identical subjects are prone to be missed by people on
the list and it's also harder to refer to a specific patch later.
--
Jesper Juhl
From: Thomas Meyer
Use kzalloc rather than kmalloc followed by memset with 0
This considers some simple cases that are common and easy to validate
Note in particular that there are no ...s in the rule, so all of the
matched code has to be contiguous
The semantic patch that makes this chang
From: Thomas Meyer
Use kzalloc rather than kmalloc followed by memset with 0
This considers some simple cases that are common and easy to validate
Note in particular that there are no ...s in the rule, so all of the
matched code has to be contiguous
The semantic patch that makes this chang
From: Thomas Meyer
Use kzalloc rather than kmalloc followed by memset with 0
This considers some simple cases that are common and easy to validate
Note in particular that there are no ...s in the rule, so all of the
matched code has to be contiguous
The semantic patch that makes this chang
From: Thomas Meyer
Use kzalloc rather than kmalloc followed by memset with 0
This considers some simple cases that are common and easy to validate
Note in particular that there are no ...s in the rule, so all of the
matched code has to be contiguous
The semantic patch that makes this chang
From: Thomas Meyer
Use kzalloc rather than kmalloc followed by memset with 0
This considers some simple cases that are common and easy to validate
Note in particular that there are no ...s in the rule, so all of the
matched code has to be contiguous
The semantic patch that makes this chang
From: Thomas Meyer
Use kzalloc rather than kmalloc followed by memset with 0
This considers some simple cases that are common and easy to validate
Note in particular that there are no ...s in the rule, so all of the
matched code has to be contiguous
The semantic patch that makes this chang
On Tue, Nov 08, 2011 at 03:10:07PM -0300, Ezequiel García wrote:
> El 8 de noviembre de 2011 13:56, Greg KH escribió:
> >
> > On Tue, Nov 08, 2011 at 01:50:40PM -0300, Ezequiel García wrote:
> > > Hi,
> > > I would like to start working in the staging easycap driver. I have one of
> > > those devi
El 8 de noviembre de 2011 13:56, Greg KH escribió:
>
> On Tue, Nov 08, 2011 at 01:50:40PM -0300, Ezequiel García wrote:
> > Hi,
> > I would like to start working in the staging easycap driver. I have one of
> > those devices, so I will be able to do some testing.
> >
> > I have a couple of questio
Support hot add of scsi disks.
Signed-off-by: K. Y. Srinivasan
Signed-off-by: Haiyang Zhang
---
drivers/staging/hv/storvsc_drv.c | 38 ++
1 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/s
The storage driver (storvsc_drv.c) handles all block storage devices
assigned to Linux guests hosted on Hyper-V. This driver has been in the
staging tree for a while and this patch moves it out of the staging area.
As per Greg's recommendation, this patch makes no changes to the staging/hv
director
On Tue, Nov 08, 2011 at 01:50:40PM -0300, Ezequiel García wrote:
> Hi,
> I would like to start working in the staging easycap driver. I have one of
> those devices, so I will be able to do some testing.
>
> I have a couple of questions though:
> - Is there anyone working on it right now?
> - I ha
> -Original Message-
> From: James Bottomley [mailto:james.bottom...@hansenpartnership.com]
> Sent: Tuesday, November 08, 2011 11:40 AM
> To: KY Srinivasan
> Cc: gre...@suse.de; linux-ker...@vger.kernel.org;
> devel@linuxdriverproject.org; virtualizat...@lists.osdl.org; oher...@suse.com;
On Tue, 2011-11-08 at 09:01 -0800, K. Y. Srinivasan wrote:
> Cleanup storvsc based on review comments from James and
> implement a couple of new features:
>
> 1) The bulk of this patch-set addresses the review comments by James.
> James, the last time I had posted the patch to move
We intend to use the storage driver to manage the root device.
To avoid deadlocks, use mempools to allocate struct storvsc_cmd_request.
Signed-off-by: K. Y. Srinivasan
Signed-off-by: Haiyang Zhang
---
drivers/staging/hv/storvsc_drv.c | 30 +-
1 files changed, 25 in
Get rid of an unnecessary forward declaration.
Signed-off-by: K. Y. Srinivasan
Signed-off-by: Haiyang Zhang
---
drivers/staging/hv/storvsc_drv.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c
index 91
Use the accessor function shost_priv().
Signed-off-by: K. Y. Srinivasan
Signed-off-by: Haiyang Zhang
---
drivers/staging/hv/storvsc_drv.c | 14 +-
1 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c
ind
Use the macro KBUILD_MODNAME.
Signed-off-by: K. Y. Srinivasan
Signed-off-by: Haiyang Zhang
---
drivers/staging/hv/storvsc_drv.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c
index 827bc68..916f5d0 10
Fix error handling storvsc_host_reset(). I would like to thank
Long Li for reporting this.
Signed-off-by: K. Y. Srinivasan
Signed-off-by: Haiyang Zhang
Reported-by: Long Li
---
drivers/staging/hv/storvsc_drv.c | 20 ++--
1 files changed, 6 insertions(+), 14 deletions(-)
dif
Support hot-removing of scsi devices.
Signed-off-by: K. Y. Srinivasan
Signed-off-by: Haiyang Zhang
---
drivers/staging/hv/storvsc_drv.c | 45 ++
1 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/stagi
Use the unlocked version queuecommand.
Signed-off-by: K. Y. Srinivasan
Signed-off-by: Haiyang Zhang
---
drivers/staging/hv/storvsc_drv.c | 19 +--
1 files changed, 5 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.
Fixup the error when processing SET_WINDOW command.
Signed-off-by: K. Y. Srinivasan
Signed-off-by: Haiyang Zhang
---
drivers/staging/hv/storvsc_drv.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c
ind
Cleanup error handling in the probe function.
Signed-off-by: K. Y. Srinivasan
Signed-off-by: Haiyang Zhang
---
drivers/staging/hv/storvsc_drv.c | 42 +
1 files changed, 24 insertions(+), 18 deletions(-)
diff --git a/drivers/staging/hv/storvsc_drv.c b/drive
In preparation for supporting hot add/remove of scsi devices,
upgrade the vmstor protocol version.
Signed-off-by: K. Y. Srinivasan
Signed-off-by: Haiyang Zhang
---
drivers/staging/hv/storvsc_drv.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/hv/st
Cleanup storvsc based on review comments from James and
implement a couple of new features:
1) The bulk of this patch-set addresses the review comments by James.
James, the last time I had posted the patch to move the storage
driver out of staging, you wanted to wait
You are receiving this email because we wish you to use our digital photo
editing services.
Digital Photo Editing Services:
We are a China based Imaging Professionals. We offer basic and advanced digital
photo Editing services and solutions like photo Cutout, morphological photo
Editing, photo
Hi Dan,
On Tue, Nov 8, 2011 at 1:08 AM, Dan Carpenter wrote:
> Your patch to IOCTL_BCM_REGISTER_READ_PRIVATE fixed some real
> security problems, but there aren't any here in the original code
> that I can see.
>
> It's true that the usb_control_msg() can only handle a USHRT_MAX so
> if you passed
This is a patch to the daqboard2000.c file that fixes up a brace
warning found by the checkpatch.pl tool.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/daqboard2000.c | 20
1 files changed, 8 insertions(+), 12 deletions(-)
diff --g
This is a patch to the das800.c file that fixes up a printk
warning found by the checkpatch.pl tool.
converted printks to dev_dbg.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/das800.c | 24
1 files changed, 12 insertions(+),
This is a patch to the cb_pcimdas.c file that fixes up a printk
warning found by the checkpatch.pl tool.
converted printks to dev_version.
Removed ifdef CBPCIMDAS_DEBUG and unecessary printk statements.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/cb_pc
This is a patch to the daqboard2000.c file that fixes up a brace
warning found by the checkpatch.pl tool.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/daqboard2000.c | 15 +--
1 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/
This is a patch to the das800.c file that fixes up a printk
warning found by the checkpatch.pl tool.
converted printks to dev_version.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/das800.c | 19 ++-
1 files changed, 10 insertions(+), 9
This is a patch to the das08_cs.c file that fixes up a printk
warning found by the checkpatch.pl tool.
converted printks to dev_printk.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/das08_cs.c |8 +++-
1 files changed, 3 insertions(+), 5 deletion
This is a patch to the adv_pci_dio.c file that fixes up a printk
warning found by the checkpatch.pl tool.
converted printks to dev_version.
Removed unnecessary printk statements.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/adv_pci_dio.c | 23 +++-
This is a patch to the cb_pcimdas.c file that fixes up a printk
warning found by the checkpatch.pl tool.
converted printks to dev_version.
Removed ifdef CBPCIMDAS_DEBUG.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/cb_pcimdas.c | 12 +---
1 fi
This is a patch to the cb_pcimdas.c file that fixes up a printk
warning found by the checkpatch.pl tool.
converted printks to dev_printk.
Removed unnecessary printk statements.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/cb_pcimdas.c | 19 +++
This is a patch to the cb_pcidda.c file that fixes up a printk
warning found by the checkpatch.pl tool.
converted printks to dev_printk and Removed unnecessary
printk statements.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/cb_pcidda.c | 18 ++
This is a patch to the das16m1.c file that fixes up a brace coding
warning found by the checkpatch.pl tool.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/das16m1.c | 13 ++---
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/driver
This is a patch to the pcl818.c file that fixes up a brace
coding style warning found by the checkpatch.pl tool.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/pcl818.c | 63 +--
1 files changed, 26 insertions(+), 37 deletions
This is a patch to the cb_pcidas.c file that fixes up a printk
warning found by the checkpatch.pl tool.
converted printks to dev_printk and Removed unnecessary
printk statements.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/cb_pcidas.c | 17 +++---
This is a patch to the cb_pcidio.c file that fixes up a printk
warning found by the checkpatch.pl tool.
converted printks to dev_printk and Removed unnecessary printk
statements.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/cb_pcidio.c | 23 --
This is a patch to the adv_pci1710.c file that fixes up a printk
warning found by the checkpatch.pl tool.
Converted printks to dev_version and Removed an unnecessary printk
statements.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/adv_pci1710.c | 32 ++
This is a patch to the pcl818.c file that fixes up a NULL initilization
warning found by the checkpatch.pl tool.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/pcl818.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/sta
This is a patch to the c6xdigio.c file that fixes up a printk
warning found by the checkpatch.pl tool.
Converted printks to dev_version.
Function name is converted to %s, __func__ format.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/c6xdigio.c | 15 ++
This is a patch to the cb_das16_cs.c file that fixes up a printk
warning found by the checkpatch.pl tool.
Converted printks to dev_printk.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/cb_das16_cs.c | 18 --
1 files changed, 8 insertion
This is a patch to the serial2002.c file that fixes up a printk
warning found by the checkpatch.pl tool.
converted printks to dev_version.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/serial2002.c |7 ---
1 files changed, 4 insertions(+), 3 dele
This is a patch to the das6402.c file that fixes up a printk
warning found by the checkpatch.pl tool.
Converted printks to dev_version.
Removed unnecessary printk statements.
Signed-off-by: Ravishankar Karkala Mallikarjunayya
---
drivers/staging/comedi/drivers/das6402.c | 23 +++-
This patch implements a driver for the GE PIO2 VME Parallel I/O Card. This
card is a 6U VME Card, implementing 32 solid-state relay switched IO lines,
in 4 groups of 8. Each bank of IO lines is built to function as input,
output or both depending on the variant of the card.
Signed-off-by: Martyn
On 07/11/11 18:26, Paul Bolle wrote:
> On Mon, 2011-11-07 at 17:27 +, Martyn Welch wrote:
>> + If you say Y here you have a GE PIO2. The PIO2 is a 6U VME Card,
>
> I've tried that about a dozen times and I still don't have a GE PIO2.
> But perhaps its very small, than I might have simply
57 matches
Mail list logo