summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-21 12:38:46 -0700
committerPatrick Venture <venture@google.com>2018-10-29 09:10:17 -0700
commit6de1d92574639c4bd26af33627312d82d5498b46 (patch)
tree8fff264399ef1df260a91dd4f6674e93219fc5a2
parentb25fb9fd438efc9db42c36485b315e11d5cc23b6 (diff)
downloadipmi-fru-parser-6de1d92574639c4bd26af33627312d82d5498b46.zip
ipmi-fru-parser-6de1d92574639c4bd26af33627312d82d5498b46.tar.gz
strgfnhandler: rename function per openbmc style guide
Function names should be lower camel and not snake case. Change-Id: I6f8683850ce017e63641415846e8a0f031fccba7 Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r--strgfnhandler.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/strgfnhandler.cpp b/strgfnhandler.cpp
index 93d3a50..1c7e047 100644
--- a/strgfnhandler.cpp
+++ b/strgfnhandler.cpp
@@ -17,11 +17,11 @@ using namespace phosphor::logging;
///-------------------------------------------------------
// Called by IPMI netfn router for write fru data command
//--------------------------------------------------------
-ipmi_ret_t ipmi_storage_write_fru_data(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
- ipmi_request_t request,
- ipmi_response_t response,
- ipmi_data_len_t dataLen,
- ipmi_context_t context)
+ipmi_ret_t ipmiStorageWriteFruData(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
+ ipmi_request_t request,
+ ipmi_response_t response,
+ ipmi_data_len_t dataLen,
+ ipmi_context_t context)
{
FILE* fp = NULL;
char fruFilename[16] = {0};
@@ -117,5 +117,5 @@ void register_netfn_storage_write_fru()
IPMI_CMD_WRITE_FRU_DATA);
ipmi_register_callback(NETFUN_STORAGE, IPMI_CMD_WRITE_FRU_DATA, NULL,
- ipmi_storage_write_fru_data, SYSTEM_INTERFACE);
+ ipmiStorageWriteFruData, SYSTEM_INTERFACE);
}
OpenPOWER on IntegriCloud