From: Matthew Wilcox Date: Wed, 16 Mar 2011 20:52:19 +0000 (-0400) Subject: NVMe: Simplify queue lookup X-Git-Tag: v3.3-rc1~16^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ecdc946212f7cd592986b2c519b470404caa6b8;p=pandora-kernel.git NVMe: Simplify queue lookup Fill in all the num_possible_cpus() entries with duplicate pointers. This reduces the complexity of the frequently-called get_nvmeq(), as well as avoiding a bug in it when there are fewer queues than CPUs. Reported-by: Shane Michael Matthews Signed-off-by: Matthew Wilcox --- Reading git-diff-tree failed