Re: [PATCH 1/3] msi vector targeting abstractions

From: Paul Mackerras <>
Date: 2006-01-12 16:47:27
Grant Grundler writes:

> > +	if ((status = msi_arch_init()) < 0) {
> Willy told me I should always complain about assignment in if() statements :)

We are getting incredibly politically correct these days, aren't we.

I see nothing wrong with that if statement.  It's perfectly valid,
idiomatic C.  You can ignore Willy if you like. :)

(I would look askance at something that did an assignment as one of
the parameters of a procedure call in an if statement, though.)

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Jan 12 16:49:18 2006

This archive was generated by hypermail 2.1.8 : 2006-01-12 16:49:26 EST