diff options
author | Neelesh Gupta <neelegup@linux.vnet.ibm.com> | 2015-08-31 21:12:07 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-09-01 17:13:03 +1000 |
commit | 87bceba1846dc00e687ed3370eb3fd71fb02c8ca (patch) | |
tree | de957d107feb34be8ef09d8a6cfb93e0304fc207 /.travis.yml | |
parent | 2c50e850d01e8387c883decbadfa2a02e78772d6 (diff) | |
download | skiboot-87bceba1846dc00e687ed3370eb3fd71fb02c8ca.zip skiboot-87bceba1846dc00e687ed3370eb3fd71fb02c8ca.tar.gz skiboot-87bceba1846dc00e687ed3370eb3fd71fb02c8ca.tar.bz2 |
external/opal-prd: Refactor the handle_prd_control() function
Depending upon the control message type, the daemon parses the incoming
messages, invoke the corresponding HBRT interface and sends the response
back to the waiting client. Putting all this into one leads to cumbersome
switch-case and a fat function.
This patch creates the individual functions for different types of control
messages keeping the common code into the handle_prd_control(). It also
does clean up and minor fixes.
Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>
Acked-by: Jeremy Kerr <jk@ozlabs.org>
Reviewed-by: Patrick Williams <iawillia@us.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions