On Wed, 2011-01-12 at 12:43 -0500, Roland Dreier wrote: > Just noticed this in my latest build: > > drivers/infiniband/ulp/srp/ib_srp.c: In function ‘srp_queuecommand’: > drivers/infiniband/ulp/srp/ib_srp.c:1116: warning: ‘req’ may be used > uninitialized in this function [snip]
> and my gcc at least is not smart enough to see that we can't reach the > use of req without initializing req. Hmm, my version was, so I never saw this. :( Out of curiosity, what version are you using? I've been using 4.4.5 and 4.5.1. > Simplest fix is to mark req with uninitialized_var() but maybe there's a > nicer way to handle this. I'll take a look. -- Dave Dillow National Center for Computational Science Oak Ridge National Laboratory (865) 241-6602 office -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html