blob: f3d6ff6f4dc7098f3ecfcf9555e7e6259828f8a3 [file] [log] [blame]
Andrew Geissler19d408c2015-02-28 13:51:47 -06001From 5a3e8e0e91dfee9f7f6b1e31f07789e2c2788e21 Mon Sep 17 00:00:00 2001
2From: Richard J. Knight <rjknight@us.ibm.com>
3Date: Fri, 27 Feb 2015 19:45:56 -0600
4Subject: [PATCH 2/3] Assert called when trying to deconfigure a DIMM
5
6 -Remove assert call from default path. Assert
7 should not be called for targets without status
8 sensors. Path should be a no-op.
9
10Change-Id: Id1aa002ea3d79cf24b5c123cbd92647257d12093
11RTC:124846
12(cherry picked from commit eadb8a16b0f04ce10169091263297f3dc4372c9c)
13---
14 src/usr/ipmi/ipmisensor.C | 2 +-
15 1 files changed, 1 insertions(+), 1 deletions(-)
16
17diff --git a/src/usr/ipmi/ipmisensor.C b/src/usr/ipmi/ipmisensor.C
18index e5b4e64..a62e084 100644
19--- a/src/usr/ipmi/ipmisensor.C
20+++ b/src/usr/ipmi/ipmisensor.C
21@@ -640,7 +640,7 @@ namespace SENSOR
22 break;
23
24 default:
25- assert(0, "No status sensor associated with target type 0x%x",
26+ TRACFCOMP(g_trac_ipmi,"INF>>No status sensor associated with target type 0x%x",
27 i_target->getAttr<TARGETING::ATTR_TYPE>());
28 break;
29 }
30--
311.7.4.1
32