| 117 | } |
| 118 | |
| 119 | static inline enum mc_cmd_status mc_cmd_read_status(struct mc_command *cmd) |
| 120 | { |
| 121 | struct mc_cmd_header *hdr = (struct mc_cmd_header *)&cmd->header; |
| 122 | uint8_t status = hdr->status; |
| 123 | |
| 124 | return (enum mc_cmd_status)status; |
| 125 | } |
| 126 | |
| 127 | /** |
| 128 | * mc_write_command - writes a command to a Management Complex (MC) portal |
no outgoing calls
no test coverage detected