Re: [PATCH] connector: Some fixes for ia64 unaligned access errors



But it's rather a lot of churn for such a thing. Did you consider simply using
put_unaligned() against the specific offending field(s)?

Hi. This was not considered.

I wanted to give you some quick feedback, so I tried your suggestion in the
fork path. It seemed to fix the problem as well.

put_unaligned(timespec_to_ns(&ts), (__u64 *) &ev->timestamp_ns);

Is what I tried.

I'm on vacation tomorrow but on Thursday, if you like, I can whip up
a patch that does this and test it more thoroughly. Is this the
direction you prefer? What I did just now was really quick and dirty
to see if it has a shot or not but it looks like put_unaligned will
fix it too.

--
Erik Jacobson - Linux System Software - SGI - Eagan, Minnesota
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Powerpoint changes file modification date when opened, but not
    ... I CAN'T believe that you won't fix this for me.... ... You made a great suggestion -- I just put feedback in on www.mactopia.com. ... they'll fix this very annoying bug. ...
    (microsoft.public.mac.office.powerpoint)
  • Re: [PATCH] connector: Some fixes for ia64 unaligned access errors
    ... I wanted to give you some quick feedback, so I tried your suggestion in the ... fork path. ... It seemed to fix the problem as well. ... It'll be an easier patch for the -stable guys to swallow too. ...
    (Linux-Kernel)
  • Re: fix of help and support
    ... Go back to the first suggestion and this time create a batch file with the ... "Jessie the flower of Dunblane" ... fix problem I was tempted to try and add back the file in question from the ...
    (microsoft.public.windowsxp.general)
  • Re: XP wont start, reporting Windows file errors
    ... I solve the password problem and tried your suggestion but it didn't fix the ... "David B." ... console and run chkdsk /r ... I want to fix my files with my original OS disk but this is a SP1 ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Computer Help Question
    ... I guess my suggestion to reinstall it got you thinking to reinstall it. ... work and not interested in learning how to fix it. ... Same with my car. ...
    (alt.sports.baseball.bos-redsox)