summaryrefslogtreecommitdiffstats
path: root/user_channel/channelcommands.cpp
diff options
context:
space:
mode:
authorVernon Mauery <vernon.mauery@linux.intel.com>2019-04-03 09:37:43 -0700
committerVernon Mauery <vernon.mauery@linux.intel.com>2019-04-08 10:31:56 -0700
commitbea5392552b3b6445adf093b97c97512d69db160 (patch)
tree388e607aa75431a9eb945c3dbcb1ccba36a5b61f /user_channel/channelcommands.cpp
parente08fbffcd9bd1976f7d26d48bf7a4c3e5843d4a8 (diff)
downloadphosphor-host-ipmid-bea5392552b3b6445adf093b97c97512d69db160.tar.gz
phosphor-host-ipmid-bea5392552b3b6445adf093b97c97512d69db160.zip
Add helper functions to simplify error responses
Most IPMI commands have some error response. This makes it more intuitive what is happening, changing return ipmi::response(cc::CommandNotAvailable); to return ipmi::responseCommandNotAvailable(); which is parallel to the success respones of: return ipmi::responseSuccess(); Change-Id: Ibbd401c4007a02e91ab4983814b920d6d7f02404 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Diffstat (limited to 'user_channel/channelcommands.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud