]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2x: use param's id instead of sp_obj's id
authorYuval Mintz <yuvalmin@broadcom.com>
Mon, 12 Mar 2012 08:53:10 +0000 (08:53 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:23:20 +0000 (15:23 +0800)
commit2538cf2e100602940dea40b805762cf3dc43e957
tree47fc095c5e86aed723dbaee4d46c067759cc7672
parent09dc7362934932bae236aecf0c4ac749258e01f3
bnx2x: use param's id instead of sp_obj's id

Previously, we've used the object's function id instead of using the
input's value. This is remedied, as in other flows.

(cherry picked from commit 259afa1f725dc7ec1626835b9ac54827a46cdf80)
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/bnx2x/bnx2x_main.c
drivers/net/bnx2x/bnx2x_sp.c
drivers/net/bnx2x/bnx2x_sp.h