commit | 38707980c42c58e2d00b34ecaa40cf5207bdd9d1 | [log] [tgz] |
---|---|---|
author | Alexander Chiang <achiang@hp.com> | Tue Feb 02 19:07:59 2010 +0000 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Feb 24 10:23:40 2010 -0800 |
tree | 4cfaea86bc627a219313a2905f89cbab19552948 | |
parent | 2a72f212263701b927559f6850446421d5906c41 [diff] |
IB/uverbs: Use stack variable 'devnum' in ib_uverbs_add_one This change is not useful by itself, but it sets us up for a future change that allows us to dynamically allocate device numbers in case we have more than IB_UVERBS_MAX_DEVICES in the system. Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>