Skip to content
Commit 6358ae25 authored by Roland Dreier's avatar Roland Dreier
Browse files

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: default avatarRoland Dreier <rolandd@cisco.com>
Acked-by: default avatarArthur Jones <arthur.jones@qlogic.com>
parent 6ef6aee2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment