On Mon, 2014-02-03 at 21:40 +0100, Christian Engelmayer wrote: > In case the function parameter 'cmd_details' is false, the pointer passed > by value is locally set to point to struct 'details'. When passing pointer > 'cmd_details' to i40evf_asq_send_command(), 'details' is already > out of scope. > > Detected by Coverity: CID 1164857. > > Signed-off-by: Christian Engelmayer <[email protected]> > --- > drivers/net/ethernet/intel/i40evf/i40e_common.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks Christian, I have added this to our (Jeff Kirsher's) queue. ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
