IB/uverbs: use stack variable 'base' in ib_uverbs_add_one
authorAlexander Chiang <achiang@hp.com>
Tue, 2 Feb 2010 19:08:04 +0000 (19:08 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 24 Feb 2010 18:23:40 +0000 (10:23 -0800)
commitddbd6883013dcc9f9ca5c0b26f79d9334a95926c
tree755aa7301cab6a8ed417b55c7d8cd3c7b721e99d
parent38707980c42c58e2d00b34ecaa40cf5207bdd9d1
IB/uverbs: use stack variable 'base' in ib_uverbs_add_one

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

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