iw_cxgb4: initialize ibdev.iwcm->ifname for port mapping
authorSteve Wise <swise@opengridcomputing.com.com>
Tue, 12 Apr 2016 13:54:54 +0000 (06:54 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 26 Apr 2016 16:46:54 +0000 (12:46 -0400)
commit851d7b6b8a954b28f85e62a53cbba472907e21e4
tree645c9102aad810f519028787269f8b17d7d8051d
parent42235f80ab205bf5020cf33cb3e94455410abe36
iw_cxgb4: initialize ibdev.iwcm->ifname for port mapping

The IWCM uses ibdev.iwcm->ifname for registration with the iwarp
port map daemon.  But iw_cxgb4 did not initialize this field which
causes intermittent registration failures based on the contents of the
uninitialized memory.

Fixes: 170003c894d9 ("iw_cxgb4: remove port mapper related code")
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/provider.c