summaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
authorMark Rustad <mark.d.rustad@intel.com>2014-07-22 08:50:52 +0200
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-07-26 04:26:44 +0200
commit4e86281b59ce7881cc21dfb6fb4b596f737d6ee5 (patch)
treef50ba1f3e24bec7262ee70668fb10c2e808eb1c4 /mm/memory.c
parentixgbe: Correct X540 semaphore error (diff)
downloadlinux-4e86281b59ce7881cc21dfb6fb4b596f737d6ee5.tar.xz
linux-4e86281b59ce7881cc21dfb6fb4b596f737d6ee5.zip
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 <mark.d.rustad@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions