And this one is kern/49927

El 24/05/15 a les 15:52, Robert Millan ha escrit:
Hi!

Please consider attached patch:

     Avoid division by zero

     As wait_us is calculated by polling an I/O register, it is possible
     in certain environments (e.g. emulated hardware) that its value is
     zero. That is, that the I/O poll loop exits in less than 1 μs.

     The check avoids division by zero in such situation.

Thanks


--
Robert Millan

Reply via email to