[PATCH] intel: Fix missing ETIME on BSD operating systems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 10 Nov 2012 16:36:26 -0500
Richard Yao <ryao at gentoo.org> wrote:

> On 11/10/2012 03:12 PM, Eric Anholt wrote:
> > Richard Yao <ryao at cs.stonybrook.edu> writes:
> > 
> >> From: David Shao <davshao at gmail.com>
> >>
> >> Originally posted to Free Desktop bug #52549 by David Shao.
> >> Resolves Gentoo Bug #433403.
> >> Commit message by Richard Yao.
> > 
> > Are you really unable to get the same errnos in your port of the
> > kernel modules?  Having mismatched errno returns from upstream is a
> > great way to have obscure bugs on your port, given that our kernel
> > guys like to look for alternative errnos to be able to distinguish
> > failure modes from userland.
> > 
> > I don't like the idea of this patch landing.
> 
> I have added the FreeBSD x11 team alias to CC, which I probably should
> have done in my original email. They are in a better position to
> answer this than I am.
> 
> At present, MySQL also does this. Changing that would require changes
> to the userland of FreeBSD (and other BSDs). The FreeBSD x11 team is
> in a position to do that. I am in the process of getting Gentoo's X11
> stack working on Gentoo FreeBSD, so I am interested in their answer
> to your question as well.
> 
> 

Before pushing the patch, I did a bit of googling and I too found that
MySQL and LibreOffice does this, so it seemed okay to me. It's not
terribly prolific because I think many cross-platform products do not
use interfaces which return ETIME.

It sounds like BSD though is the only remaining holdout, as Windows and
OSX both seem to support ETIME.


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux