Re: [PATCH v4 1/2] arcmsr: simplify ioctl data read/write

2014-09-15 Thread Ching Huang
On Mon, 2014-09-15 at 13:50 +0200, Tomas Henzl wrote: > On 09/15/2014 12:36 PM, Ching Huang wrote: > > On Mon, 2014-09-15 at 12:25 +0200, Tomas Henzl wrote: > >> On 09/15/2014 04:56 AM, Ching Huang wrote: > >>> On Fri, 2014-09-12 at 15:34 +0200, Tomas Henzl wrote: > On 09/12/2014 09:29 AM, Chi

Re: [PATCH v4 1/2] arcmsr: simplify ioctl data read/write

2014-09-15 Thread Tomas Henzl
On 09/15/2014 12:36 PM, Ching Huang wrote: > On Mon, 2014-09-15 at 12:25 +0200, Tomas Henzl wrote: >> On 09/15/2014 04:56 AM, Ching Huang wrote: >>> On Fri, 2014-09-12 at 15:34 +0200, Tomas Henzl wrote: On 09/12/2014 09:29 AM, Ching Huang wrote: > From: Ching Huang > > This patch

Re: [PATCH v4 1/2] arcmsr: simplify ioctl data read/write

2014-09-15 Thread Ching Huang
On Mon, 2014-09-15 at 12:25 +0200, Tomas Henzl wrote: > On 09/15/2014 04:56 AM, Ching Huang wrote: > > On Fri, 2014-09-12 at 15:34 +0200, Tomas Henzl wrote: > >> On 09/12/2014 09:29 AM, Ching Huang wrote: > >>> From: Ching Huang > >>> > >>> This patch is to modify previous patch 13/17 and it is re

Re: [PATCH v4 1/2] arcmsr: simplify ioctl data read/write

2014-09-15 Thread Tomas Henzl
On 09/15/2014 04:56 AM, Ching Huang wrote: > On Fri, 2014-09-12 at 15:34 +0200, Tomas Henzl wrote: >> On 09/12/2014 09:29 AM, Ching Huang wrote: >>> From: Ching Huang >>> >>> This patch is to modify previous patch 13/17 and it is relative to >>> http://git.infradead.org/users/hch/scsi-queue.git/tr

Re: [PATCH v4 1/2] arcmsr: simplify ioctl data read/write

2014-09-14 Thread Ching Huang
On Fri, 2014-09-12 at 15:34 +0200, Tomas Henzl wrote: > On 09/12/2014 09:29 AM, Ching Huang wrote: > > From: Ching Huang > > > > This patch is to modify previous patch 13/17 and it is relative to > > http://git.infradead.org/users/hch/scsi-queue.git/tree/arcmsr-for-3.18:/drivers/scsi/arcmsr > > >

Re: [PATCH v4 1/2] arcmsr: simplify ioctl data read/write

2014-09-12 Thread Tomas Henzl
On 09/12/2014 09:29 AM, Ching Huang wrote: > From: Ching Huang > > This patch is to modify previous patch 13/17 and it is relative to > http://git.infradead.org/users/hch/scsi-queue.git/tree/arcmsr-for-3.18:/drivers/scsi/arcmsr > > change in v4: > 1. for readability, rename firstindex to getIndex,

[PATCH v4 1/2] arcmsr: simplify ioctl data read/write

2014-09-12 Thread Ching Huang
From: Ching Huang This patch is to modify previous patch 13/17 and it is relative to http://git.infradead.org/users/hch/scsi-queue.git/tree/arcmsr-for-3.18:/drivers/scsi/arcmsr change in v4: 1. for readability, rename firstindex to getIndex, rename lastindex to putIndex 2. define ARCMSR_API_DATA