lkml.org 
[lkml]   [2004]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: MSEC_TO_JIFFIES is messed up...
Andrew Morton wrote:
> @@ -187,7 +187,7 @@ static int act200l_change_speed(struct i
> /* Write control bytes */
> self->write(self->dev, control, 3);
> irda_task_next_state(task, IRDA_TASK_WAIT);
> - ret = MSECS_TO_JIFFIES(5);
> + ret = MSEC_TO_JIFFIES(5);


Ewww.

Just pluralize the macro, and this patch gets 75% lighter.

Jeff



-
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/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.085 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site