From: Alexander Chiang Date: Tue, 2 Feb 2010 19:07:59 +0000 (+0000) Subject: IB/uverbs: Use stack variable 'devnum' in ib_uverbs_add_one X-Git-Tag: v2.6.34-rc1~225^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38707980c42c58e2d00b34ecaa40cf5207bdd9d1;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed