]> www.infradead.org Git - users/jedix/linux-maple.git/commit
e1000e: potentially incorrect return for e1000_cfg_kmrn_10_100_80003es2lan
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 8 Feb 2012 02:54:53 +0000 (02:54 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 07:49:07 +0000 (15:49 +0800)
commitf7a1f9c9d4e5755a73fc9db5c27e11606a47d86c
treefe3956ef3453592f134a66dc7f8c5b6ca4c2e8ba
parentaaec93257e386a8198b4b5c05a16d15250a99069
e1000e: potentially incorrect return for e1000_cfg_kmrn_10_100_80003es2lan

In the unlikely event that e1e_wphy() returns an error, the returned error
code value is not propogated to the caller of
e1000_cfg_kmrn_10_100_80003es2lan().

(cherry picked from commit 520d6f225f83128e9ea083a9a226f807235cc76c)
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/e1000e/80003es2lan.c