From: Douglas Gilbert <dougg@torque.net>
To: Rusty Trivial Russell <rusty@rustcorp.com.au>
Cc: linux-scsi@vger.kernel.org, wstinson@infonie.fr
Subject: Re: [TRIVIAL] copy_XX_user for sg.c - take 2
Date: Tue, 16 Jul 2002 23:25:46 -0400 [thread overview]
Message-ID: <3D34E3BA.2B2EE2AC@torque.net> (raw)
In-Reply-To: 20020715082116.98C2A434C@lists.samba.org
Rusty Trivial Russell wrote:
>
> [ This one is hardly trivial: it seems correct, but... Please check ]
>
> From: (via Rusty) william stinson <wstinson@infonie.fr>
>
> Hi Rusty,
>
> here is version 2 of my sg.c patch to correct indentation to 4blanks as you pointed out (I hope I didn't miss anything).
>
> This proposed patch for the sg.c driver which allows user process control of SCSI devices
> 1) checks the result of copy_XX_user
> 2) returns -EFAULT in case not all data was copied
> 3) releases resources in case of failure
> 4) return value of sg_read_oxfer changed from void to int
> in order to be able to pass back error conditions
Rusty,
This patch, together with one to disable kiobufs usage
(for Andrew Morton's direct-to-BIO changes), are in
lk 2.5.26
Doug Gilbert
next prev parent reply other threads:[~2002-07-17 3:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-15 8:19 [TRIVIAL] copy_XX_user for sg.c - take 2 Rusty Trivial Russell
2002-07-17 3:25 ` Douglas Gilbert [this message]
2002-07-18 1:59 ` Rusty Russell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D34E3BA.2B2EE2AC@torque.net \
--to=dougg@torque.net \
--cc=linux-scsi@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
--cc=wstinson@infonie.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.