]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
RDMA/nes: Fix compiler warning at nes_verbs.c:1955
authorChien Tung <chien.tin.tung@intel.com>
Mon, 20 Apr 2009 21:50:36 +0000 (14:50 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 20 Apr 2009 21:50:36 +0000 (14:50 -0700)
commit1af9222b5223a7b04102dc8c403fa55fa15d5184
tree67a94d7fa273da026dc3601cc15f95e7a74660f4
parenta939b96cccdb65df80a52447ec8e4a6d79c56dbb
RDMA/nes: Fix compiler warning at nes_verbs.c:1955

Initialize pbl_count_256 to 0 to get rid of the warning:

    drivers/infiniband/hw/nes/nes_verbs.c: In function 'nes_reg_mr':
    drivers/infiniband/hw/nes/nes_verbs.c:1955: warning: 'pbl_count_256' may be used uninitialized in this function

Reported-by: Roland Dreier <rdreier@cisco.com>
Signed-off-by: Chien Tung <chien.tin.tung@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_verbs.c