From: Nicholas Krause Date: Thu, 27 Aug 2015 03:00:59 +0000 (-0400) Subject: IB/cxgb4: Fix if statement in pick_local_ip6adddrs X-Git-Tag: omap-for-v4.3/fixes-rc1~52^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54b9a96f10d9acb7b1ffd40e2e1736443eb7656d;p=pandora-kernel.git IB/cxgb4: Fix if statement in pick_local_ip6adddrs This fixes an if statement checking the return value of the function get_lladdr for success in the function pick_local_ip6addrs to instead of directly checking the return value of this call check the opposite as get_lladdr returns zero for success which would incorrectly make this if statement block not execute with the current if statement check. Signed-off-by: Nicholas Krause Acked-by: Steve Wise Signed-off-by: Doug Ledford --- Reading git-diff-tree failed