On Thu, 26 Oct 2023, Jiri Slaby wrote:
On 25. 10. 23, 16:26, Vamshi Gajjela wrote:
From: VAMSHI GAJJELA <vamshigajjela@xxxxxxxxxx>
The function uart_fifo_timeout() returns an unsigned long value, which is
the number of jiffies. Therefore, the function uart_poll_timeout() has been
modified to use an unsigned long type for timeout values instead of an int
and to avoid truncation.
Hi,
there is no truncation possible, right?
That's very likely true (I didn't run the calculations), thus it's correct
to not have Fixes tag.
It's more about having consistent typing since
we're talking about jiffies, so unsigned long as usual.