From: Randy Dunlap <randy.dunlap@oracle.com>
To: Tim Wright <timw@splhi.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: [PATCH] Fix miscalculation of sg_io timeout in CDROM_SEND_PACKET handler.
Date: Wed, 30 Jul 2008 08:45:08 -0700 [thread overview]
Message-ID: <20080730084508.ce14b30b.randy.dunlap@oracle.com> (raw)
In-Reply-To: <48908C27.2060308@splhi.com>
On Wed, 30 Jul 2008 08:43:35 -0700 Tim Wright wrote:
> James Bottomley wrote:
> > On Sun, 2008-07-27 at 17:50 -0700, Tim Wright wrote:
> >
> >> @@ -629,7 +629,7 @@ int scsi_cmd_ioctl(struct file *file, st
> >> hdr.sbp = cgc.sense;
> >> if (hdr.sbp)
> >> hdr.mx_sb_len = sizeof(struct
> >> request_sense);
> >> - hdr.timeout = cgc.timeout;
> >> + hdr.timeout = jiffies_to_msecs(cgc.timeout);
> >> hdr.cmdp = ((struct cdrom_generic_command
> >> __user*) arg)->cmd;
> >> hdr.cmd_len = sizeof(cgc.cmd);
> >>
> >
> > I'm afraid this patch is completely whitespace damaged: the tabs have
> > all become spaces and the mailer has broken some of the lines.
> >
> > Since it's a one liner, I can make the fix directly, but if you look at
> >
> > Documentation/SubmittingPatches
> >
> > It has some good advice about how to fix your email tool to prevent this
> > from happening in future.
> >
> > James
> >
> >
> >
> Ugh, mea culpa! Thanks James. I haven't submitted anything in a while,
> and was using Thunderbird. I will
> go off and figure out how to make it leave the contents alone, or I'll
> use a less "clever" client in future.
> Many thanks for the response and the gentle coaching :-)
also see Documentation/email-clients.txt
---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/
prev parent reply other threads:[~2008-07-30 15:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-28 0:50 [PATCH] Fix miscalculation of sg_io timeout in CDROM_SEND_PACKET handler Tim Wright
2008-07-30 15:18 ` James Bottomley
2008-07-30 15:43 ` Tim Wright
2008-07-30 15:45 ` Randy Dunlap [this message]
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=20080730084508.ce14b30b.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=timw@splhi.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox