From: Josh Hay Date: Fri, 4 Jan 2013 03:34:42 +0000 (+0000) Subject: ixgbe: fix return values and memcpy parameters to eliminate Smatch warnings X-Git-Tag: v3.9-rc1~139^2~157^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2c47b626ecdd0efa907355fc7eeb34236b3713a;p=pandora-kernel.git ixgbe: fix return values and memcpy parameters to eliminate Smatch warnings This patch removes the rval variable returns from function and replaces them with direct returns in ixgbe_dcbnl_getnumtcs. It also changes how ixgbe_gstrings_test is copied into data with memcpy in ixgbe_get_strings because "*ixgbe_gstrings_test too small (32 vs 160)". Signed-off-by: Josh Hay Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed