From: Mukesh Kacker Date: Thu, 3 Aug 2017 21:13:01 +0000 (-0700) Subject: Revert "IB/mlx4: Suppress warning for not handled portmgmt event subtype" X-Git-Tag: v4.1.12-110.0.20170822_0730~36 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a3793723f459c57786fbe0743a197c056039b6e5;p=users%2Fjedix%2Flinux-maple.git Revert "IB/mlx4: Suppress warning for not handled portmgmt event subtype" This reverts commit cef258494a818e96db0e4ed40ddd2c52e6084846. Revert needed to add code for proper handling of the port management change event in a subsequent commit (instead of a workaround that suppresses an error message for an unhandled event). Orabug: 26198210 Signed-off-by: Mukesh Kacker Reviewed-by: Knut Omang --- diff --git a/drivers/infiniband/hw/mlx4/mad.c b/drivers/infiniband/hw/mlx4/mad.c index 413d6937e41ee..4a225042dfa08 100644 --- a/drivers/infiniband/hw/mlx4/mad.c +++ b/drivers/infiniband/hw/mlx4/mad.c @@ -1107,11 +1107,6 @@ void handle_port_mgmt_change_event(struct work_struct *work) handle_slaves_guid_change(dev, port, tbl_block, change_bitmap); } break; - case MLX4_DEV_PMC_SUBTYPE_SL_TO_VL_MAP: - pr_debug("Subtype sl to vl map change (0x%x) for " - "Port Management Change event received - " - "not supported yet\n", eqe->subtype); - break; default: pr_warn("Unsupported subtype 0x%x for " "Port Management Change event\n", eqe->subtype); diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index 31ba41fca16a3..80ee7f1a80f60 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h @@ -429,7 +429,6 @@ enum { MLX4_DEV_PMC_SUBTYPE_GUID_INFO = 0x14, MLX4_DEV_PMC_SUBTYPE_PORT_INFO = 0x15, MLX4_DEV_PMC_SUBTYPE_PKEY_TABLE = 0x16, - MLX4_DEV_PMC_SUBTYPE_SL_TO_VL_MAP = 0x17, }; /* Port mgmt change event handling */