diff options
author | Jean Sacren <sakiwit@gmail.com> | 2014-05-01 14:31:18 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-05-21 04:22:37 -0700 |
commit | ce9ccb17ef5b5088172f46dd246c92523fd3a524 (patch) | |
tree | b70ae3e498d3561689d100bad3b9daa73c1a6a47 /drivers/of/Makefile | |
parent | fc2f2f5dfd4438bd785e773e46adf425b1e353f1 (diff) |
i40e: fix passing wrong error code to i40e_open()
The commit 6c167f582ea9 ("i40e: Refactor and cleanup i40e_open(),
adding i40e_vsi_open()") introduced a new function i40e_vsi_open()
with the regression by a typo. Due to the commit, the wrong error
code would be passed to i40e_open(). Fix this error in
i40e_vsi_open() by turning the macro into a negative value so that
i40e_open() could return the pertinent error code correctly.
Fixes: 6c167f582ea9 ("i40e: Refactor and cleanup i40e_open(), adding i40e_vsi_open()")
Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/of/Makefile')
0 files changed, 0 insertions, 0 deletions