Andrew Geissler | 19d408c | 2015-02-28 13:51:47 -0600 | [diff] [blame] | 1 | From 5a3e8e0e91dfee9f7f6b1e31f07789e2c2788e21 Mon Sep 17 00:00:00 2001 |
| 2 | From: Richard J. Knight <rjknight@us.ibm.com> |
| 3 | Date: Fri, 27 Feb 2015 19:45:56 -0600 |
| 4 | Subject: [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 | |
| 10 | Change-Id: Id1aa002ea3d79cf24b5c123cbd92647257d12093 |
| 11 | RTC:124846 |
| 12 | (cherry picked from commit eadb8a16b0f04ce10169091263297f3dc4372c9c) |
| 13 | --- |
| 14 | src/usr/ipmi/ipmisensor.C | 2 +- |
| 15 | 1 files changed, 1 insertions(+), 1 deletions(-) |
| 16 | |
| 17 | diff --git a/src/usr/ipmi/ipmisensor.C b/src/usr/ipmi/ipmisensor.C |
| 18 | index 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 | -- |
| 31 | 1.7.4.1 |
| 32 | |