linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Harvey Harrison <harvey.harrison@gmail.com>
Cc: linux-ide <linux-ide@vger.kernel.org>,
	Borislav Petkov <petkovbb@googlemail.com>
Subject: Re: [PATCH 1/2] ide: ide-tape.c sparse annotations and unaligned access removal
Date: Mon, 21 Jul 2008 20:40:54 +0200	[thread overview]
Message-ID: <200807212040.54975.bzolnier@gmail.com> (raw)
In-Reply-To: <1216236538.28841.12.camel@brick>

On Wednesday 16 July 2008, Harvey Harrison wrote:
> On Wed, 2008-07-16 at 19:43 +0200, Bartlomiej Zolnierkiewicz wrote:
> > On Tuesday 15 July 2008, Harvey Harrison wrote:
> > > If this is actually unaligned the access of speed/max_speed above
> > > is already broken and needs a get_unaligned.  Otherwise it is
> > > aligned and they can be removed.
> > > 
> > > Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
> > > ---
> > > Bart, if this truly should be unaligned, let me know and I'll send you
> > > a patch fixing the speed/maxspeed issue.
> > 
> > I applied the patch as it is for now as I don't see a reason to
> > use unaligned access there but I could have forgotten some details
> > (added Borislav to cc:).
> > 
> > I've also noticed that there are some put_unaligned()-s left in
> > idetape_get_mode_sense_results(), is this intended?
> 
> I just fixed the immediate ones I saw right below the aligned access to 
> speed/max_speed.  I can't be sure about tape->caps being aligned or not,
> but at least the following incremental patch is ok if caps is 2-byte
> aligned.  Feel free to fold it into my original or put my signed-off by on
> a new commit.

Thanks, I folded it into original patch.

      reply	other threads:[~2008-07-21 19:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-15 20:14 [PATCH 1/2] ide: ide-tape.c sparse annotations and unaligned access removal Harvey Harrison
2008-07-16 17:43 ` Bartlomiej Zolnierkiewicz
2008-07-16 19:28   ` Harvey Harrison
2008-07-21 18:40     ` Bartlomiej Zolnierkiewicz [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=200807212040.54975.bzolnier@gmail.com \
    --to=bzolnier@gmail.com \
    --cc=harvey.harrison@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=petkovbb@googlemail.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;
as well as URLs for NNTP newsgroup(s).