From: Mark Rustad Date: Tue, 22 Jul 2014 06:50:52 +0000 (+0000) Subject: ixgbe: Fix ixgbe_write_mbx error result X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~76^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e86281b59ce7881cc21dfb6fb4b596f737d6ee5;p=pandora-kernel.git ixgbe: Fix ixgbe_write_mbx error result If ixgbe_write_mbx is called and no mbx->ops.write method exists, no error code is returned. The corresponding read function explicitly returns an error in such a case as do other functions, so this appears to be a minor bug. Fix it for consistency, and generate return values directly to make things clearer. Signed-off-by: Mark Rustad Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed