]> git.karo-electronics.de Git - karo-tx-linux.git/commit
IB/umad: Use stack variable 'base' in ib_umad_init_port
authorAlexander Chiang <achiang@hp.com>
Tue, 2 Feb 2010 19:08:40 +0000 (19:08 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 24 Feb 2010 18:23:45 +0000 (10:23 -0800)
commitdc2ed5e3c963490a4fe934b482537d1274961ecb
tree7dd120ca45df9cd64c2ee666f5bda5538f573feb
parentd451b8df9f7e572ea77f976745f424dd1dae8aeb
IB/umad: Use stack variable 'base' in ib_umad_init_port

This change is not useful by itself, but sets us up for a future change
that allows us to support more than IB_UMAD_MAX_PORTS in a system.

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/user_mad.c