]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/ipath: Fix sparse warning about shadowed symbol
authorRoland Dreier <rolandd@cisco.com>
Thu, 17 Apr 2008 04:01:07 +0000 (21:01 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 17 Apr 2008 04:01:07 +0000 (21:01 -0700)
commit6358ae25fd0d8cb4eab5e4e152ade8ac406b5278
tree9f4c3d192f3dd944c38401b359d2a2c8971e4b7b
parent6ef6aee2f0ff111a2439b02b9d788097ca82f9d1
IB/ipath: Fix sparse warning about shadowed symbol

Fix

    drivers/infiniband/hw/ipath/ipath_init_chip.c:526:10: warning: symbol 'val' shadows an earlier one
    drivers/infiniband/hw/ipath/ipath_init_chip.c:473:6: originally declared here

by giving the second val a different name.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Acked-by: Arthur Jones <arthur.jones@qlogic.com>
drivers/infiniband/hw/ipath/ipath_init_chip.c