> - if( SCset->eh_timeout.expires == 0 )
> + if( SCset->eh_timeout.next == NULL )
You seem to want to add some nice abstractions to timeout handling in
Linux, and this is a good point. But the above is bad spot in my opinion.
Better to fail than to write that.
I like italian spaghetti, but the kernel is not the right place for
preparing such an excellent dish, in my opinion. ;-)
Regards,
Gerard.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/