From a3793723f459c57786fbe0743a197c056039b6e5 Mon Sep 17 00:00:00 2001 From: Mukesh Kacker Date: Thu, 3 Aug 2017 14:13:01 -0700 Subject: [PATCH] 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 --- drivers/infiniband/hw/mlx4/mad.c | 5 ----- include/linux/mlx4/device.h | 1 - 2 files changed, 6 deletions(-) diff --git a/drivers/infiniband/hw/mlx4/mad.c b/drivers/infiniband/hw/mlx4/mad.c index 413d6937e41e..4a225042dfa0 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 31ba41fca16a..80ee7f1a80f6 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 */ -- 2.50.1