RDMA/nes: Fix two sparse warnings
authorOr Gerlitz <ogerlitz@voltaire.com>
Tue, 20 Jul 2010 12:00:20 +0000 (12:00 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 4 Aug 2010 17:00:34 +0000 (10:00 -0700)
commit812d8672218e71fe3ea249f16ad990978dc3bb84
tree4b2fef9e7714c2e524c7e6cb7711310c9d03d360
parentcd6860eb036ab4320d591fdd056f86172438fae4
RDMA/nes: Fix two sparse warnings

Simple changes to fix warnings:

      CHECK   drivers/infiniband/hw/nes/nes_verbs.c
    nes_verbs.c:1944:45: warning: Using plain integer as NULL pointer
    nes_verbs.c:1944:48: warning: Using plain integer as NULL pointer
      CHECK   drivers/infiniband/hw/nes/nes_cm.c
    nes_cm.c:2645:43: warning: mixing different enum types
    nes_cm.c:2645:43:     int enum iw_cm_event_type  versus
    nes_cm.c:2645:43:     int enum iw_cm_event_status

Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>
Acked-by: Chien Tung <chien.tin.tung@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_cm.c
drivers/infiniband/hw/nes/nes_verbs.c