Re: [PATCH] staging: &&/|| typo



On Sun, Feb 15, 2009 at 11:36:54AM -0800, Roland Dreier wrote:
> - if(fifo_size != 0x400 || fifo_size != 0x2000)
> + if(fifo_size != 0x400 && fifo_size != 0x2000)

What does the presence of this bug say about the probability that this
code has ever been used for anything real?

With the comedi drivers, I really don't know, they have not had that
much wide exposure before, despite being around for a very long time.

thanks,

greg k-h
--
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: [PATCH] staging: &&/|| typo
    ... What does the presence of this bug say about the probability that this ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: Why less emphasis on private data?
    ... misunderstanding of probability, not to mention a shocking lack of common ... a bug that results from following just one of those paths. ... more reliable than the hardware you run it on. ... This is too convenient - This lead developer is about as likely as ...
    (comp.lang.python)
  • Re: Ada noob here! Is Ada widely used?
    ... I.e. you have a certain probability of fault (due ... to physical processes involved in production and function of the given ... On the contrary, a software fault is not stochastic, ... Whether the bug is encountered is sometimes stochastic. ...
    (comp.lang.ada)
  • Re: Why less emphasis on private data?
    ... misunderstanding of probability, not to mention a shocking lack of common ... a bug that results from following just one of those paths. ... If it were easy to fix, the developer wouldn't even have mentioned it. ... And that mean free path increases without limit as the volume of the ...
    (comp.lang.python)
  • Re: Primality testing
    ... And you may remember the infamous Pentium bug. ... But the OP asked for a primality test with zero error, ... sure that the probability of error is exactly zero. ... mainframe I once used developed a strange pattern of errors. ...
    (sci.crypt)