All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: cciss update [1 of 6]
@ 2004-08-05 14:23 Miller, Mike (OS Dev)
  2004-08-05 15:02 ` Jens Axboe
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Miller, Mike (OS Dev) @ 2004-08-05 14:23 UTC (permalink / raw)
  To: Andrew Morton; +Cc: axboe, linux-kernel

Sorry, I thought the descriptions in the patch were sufficient. 
Again, I wish viro would copy me on patches to cciss. Isn't that the normal protocol, include the maintainer in any updates?

mikem

-----Original Message-----
From: Andrew Morton [mailto:akpm@osdl.org]
Sent: Wednesday, August 04, 2004 6:29 PM
To: Miller, Mike (OS Dev)
Cc: axboe@suse.de; linux-kernel@vger.kernel.org
Subject: Re: cciss update [1 of 6]


"Miller, Mike (OS Dev)" <mike.miller@hp.com> wrote:
>
> Patch 1 of 6
> Name: p001_ioctl32_fix_for_268rc2.patch

It would make life easier for me if you could give each patch a nice
Subject: which describes what it does.  "cciss update [N of 6]" isn't very
meaningful.  And the name of the file into which you chose to place the
patch isn't a suitable description either.  Thanks.

All of these patches are generating rejects for me - eager beavers have
been patching your driver when you weren't looking.  Could you please redo
and reissue the patch series against -rc3?

Thanks.

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: cciss update [1 of 6]
@ 2004-08-05 20:44 Miller, Mike (OS Dev)
  0 siblings, 0 replies; 7+ messages in thread
From: Miller, Mike (OS Dev) @ 2004-08-05 20:44 UTC (permalink / raw)
  To: viro; +Cc: Andrew Morton, axboe, linux-kernel



-----Original Message-----
From: viro@www.linux.org.uk [mailto:viro@www.linux.org.uk]On Behalf Of
viro@parcelfarce.linux.theplanet.co.uk
Sent: Thursday, August 05, 2004 1:26 PM
To: Miller, Mike (OS Dev)
Cc: Andrew Morton; axboe@suse.de; linux-kernel@vger.kernel.org
Subject: Re: cciss update [1 of 6]


On Thu, Aug 05, 2004 at 09:23:20AM -0500, Miller, Mike (OS Dev) wrote:
>> Sorry, I thought the descriptions in the patch were sufficient. 
>> Again, I wish viro would copy me on patches to cciss. Isn't that the normal protocol, include the maintainer in any updates?

>My apologies; it *was* a part of huge series, though ;-/

I understand. I'm over it now. :)

mikem

^ permalink raw reply	[flat|nested] 7+ messages in thread
* cciss update [1 of 6]
@ 2004-08-04 20:58 Miller, Mike (OS Dev)
  2004-08-04 23:29 ` Andrew Morton
  0 siblings, 1 reply; 7+ messages in thread
From: Miller, Mike (OS Dev) @ 2004-08-04 20:58 UTC (permalink / raw)
  To: akpm, axboe; +Cc: linux-kernel

Patch 1 of 6
Name: p001_ioctl32_fix_for_268rc2.patch

This patch fixes a bug in our call to copy_to_user in our 32/64 conversions.
We were passing in the sizeof the address instead of the sizeof the struct.
Stupid bug.
This applies to 2.6.8-rc2. Please consider this for inclusion.

Thanks,
mikem
-------------------------------------------------------------------------------
diff -burpN lx268-rc2.orig/drivers/block/cciss.c lx268-rc2/drivers/block/cciss.c
--- lx268-rc2.orig/drivers/block/cciss.c        2004-07-30 10:00:16.670069000 -0500
+++ lx268-rc2/drivers/block/cciss.c     2004-07-30 10:26:55.243049808 -0500
@@ -579,7 +579,7 @@ int cciss_ioctl32_passthru(unsigned int
        set_fs(old_fs);
        if (err)
                return err;
-       err |= copy_to_user(&arg32->error_info, &arg64.error_info, sizeof(&arg32->error_info));
+       err |= copy_to_user(&arg32->error_info, &arg64.error_info, sizeof(arg32->error_info));
        if (err)
                return -EFAULT;
        return err;
@@ -612,7 +612,7 @@ int cciss_ioctl32_big_passthru(unsigned
        set_fs(old_fs);
        if (err)
                return err;
-       err |= copy_to_user(&arg32->error_info, &arg64.error_info, sizeof(&arg32->error_info));
+       err |= copy_to_user(&arg32->error_info, &arg64.error_info, sizeof(arg32->error_info));
        if (err)
                return -EFAULT;
        return err;

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-08-05 20:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-05 14:23 cciss update [1 of 6] Miller, Mike (OS Dev)
2004-08-05 15:02 ` Jens Axboe
2004-08-05 17:26 ` Andrew Morton
2004-08-05 18:26 ` viro
  -- strict thread matches above, loose matches on Subject: below --
2004-08-05 20:44 Miller, Mike (OS Dev)
2004-08-04 20:58 Miller, Mike (OS Dev)
2004-08-04 23:29 ` Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.