Messages in this thread | | | Date | Sun, 27 Feb 2005 17:45:06 -0800 | From | Nish Aravamudan <> | Subject | Re: [ patch 6/7] drivers/serial/jsm: new serial device driver |
| |
> diff -Nuar linux-2.6.9.orig/drivers/serial/jsm/jsm_driver.h linux-2.6.9.new/drivers/serial/jsm/jsm_driver.h > --- linux-2.6.9.orig/drivers/serial/jsm/jsm_driver.h 1969-12-31 18:00:00.000000000 -0600 > +++ linux-2.6.9.new/drivers/serial/jsm/jsm_driver.h 2005-02-27 17:14:44.747952016 -0600
<snip>
> +#define jsm_jiffies_from_ms(a) (((a) * HZ) / 1000)
Please use the existing msecs_to_jiffies(), which has both a more sensible name and is correct.
Thanks, Nish - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |