On Mon, Mar 25, 2013 at 4:48 PM, Grant Grundler <[email protected]> wrote:
> Stumbled across this in 3.4 kernel but still exists in 3.9-rc3:
>
> fgrep -n WARN_ON ./drivers/infiniband/ulp/srpt/ib_srpt.c
> ...
> 1377:           WARN_ON("ERROR: unexpected command state");
> ...
>
> This "works" but intent is more obvious with something like:
>     WARN(1, "Unexpected command state (%d)", state);

Agree, that would be nicer for debugging if this ever triggers.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to