Re: [PATCH 2.6.11-rc2 12/29] ide: add ide_hwgroup_t.polling

From: Bartlomiej Zolnierkiewicz
Date: Wed Feb 02 2005 - 19:50:41 EST


On Wed, 2 Feb 2005 11:55:38 +0900, Tejun Heo <tj@xxxxxxxxxxx> wrote:
> > 12_ide_hwgroup_t_polling.patch
> >
> > ide_hwgroup_t.polling field added. 0 in poll_timeout field
> > used to indicate inactive polling but because 0 is a valid
> > jiffy value, though slim, there's a chance that something
> > weird can happen.

Is there really a possibility of something weird?

I'm not claiming that I like this way of coding but poll_timeout
is assigned either to '0' or to 'jiffies + WAIT_WORSTCASE'.

Bartlomiej
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/