IB/ipath: Clean up handling of GUID 0
authorBryan O'Sullivan <bos@pathscale.com>
Thu, 28 Sep 2006 16:00:02 +0000 (09:00 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 28 Sep 2006 18:16:32 +0000 (11:16 -0700)
commit11b054fe1d453954449a86de178bb98274bb86ef
tree9c53e99d7496389260f717f1c5e730837a2d1cfe
parentc78f6415e964aafd3a91d834970c16b613e421d9
IB/ipath: Clean up handling of GUID 0

Respond with an error to the SM if our GUID is 0, and don't allow the
user to set our GUID to 0.

Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_mad.c
drivers/infiniband/hw/ipath/ipath_sysfs.c