Re: [PATCH] ipath: use time_before()/_after()

2014-05-25 Thread Manuel Schoelling
On So, 2014-05-25 at 22:17 +0800, Dongsheng Yang wrote: > On Sun, May 25, 2014 at 9:26 PM, Manuel Schölling > wrote: > > To be future-proof and for better readability the time comparisons are > > modified to use time_before/_after() instead of plain, error-prone math. > > > > Signed-off-by: Manuel

Re: [PATCH] ipath: use time_before()/_after()

2014-05-25 Thread Dongsheng Yang
On Sun, May 25, 2014 at 9:26 PM, Manuel Schölling wrote: > To be future-proof and for better readability the time comparisons are > modified to use time_before/_after() instead of plain, error-prone math. > > Signed-off-by: Manuel Schölling > --- > drivers/infiniband/hw/ipath/ipath_intr.c |4

[PATCH] ipath: use time_before()/_after()

2014-05-25 Thread Manuel Schölling
To be future-proof and for better readability the time comparisons are modified to use time_before/_after() instead of plain, error-prone math. Signed-off-by: Manuel Schölling --- drivers/infiniband/hw/ipath/ipath_intr.c |4 ++-- drivers/infiniband/hw/ipath/ipath_sdma.c |4 ++-- 2 files