summaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/mlx4.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-06-09 01:29:43 +0200
committerRoland Dreier <rolandd@cisco.com>2007-07-10 01:17:33 +0200
commit1d3f4b905a786d69103d9e6d8e92683fb2c7a027 (patch)
treeddb38919eadaf8aff6b59240e0a49f3e85baadc4 /drivers/net/mlx4/mlx4.h
parentIB: Remove garbage non-ASCII characters from comments (diff)
downloadlinux-1d3f4b905a786d69103d9e6d8e92683fb2c7a027.tar.xz
linux-1d3f4b905a786d69103d9e6d8e92683fb2c7a027.zip
IB: Fix ib_umem_get() when npages == 0
gcc correctly warned: drivers/infiniband/core/umem.c: In function 'ib_umem_get': drivers/infiniband/core/umem.c:78: warning: 'ret' may be used uninitialized in this function Set ret to 0 in case npages == 0 and the loop isn't entered at all. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/net/mlx4/mlx4.h')
0 files changed, 0 insertions, 0 deletions