DM: refine vRPMB logs
Remove unused logs and correct spelling
@@ -206,7 +206,7 @@ static int rpmb_check_frame(const char *cmd_str, int *err,
if (addr && !memcmp(cmd_str, WRITE_DATA_STR, sizeof(WRITE_DATA_STR))) {
if (*addr < get_common_blocks()) {
*err = RPMB_RES_WRITE_FAILURE;
- DPRINTF(("%s: Common block is readed only\n", cmd_str));
+ DPRINTF(("%s: Common block is read only\n", cmd_str));
return -1;
}
}
@@ -298,8 +298,6 @@ static int rpmb_virt_write(uint32_t ioc_cmd, void* seq_data,
__u16 rpmb_result = 0;
int rc;
- DPRINTF(("enter to %s\n", __func__));
-
if (in_cnt == 0 || in_frame == NULL || seq_data == NULL) {
DPRINTF(("%s: in_frame, in_cnt or seq_data is not available.\n", __func__));
return -1;
@@ -359,7 +357,6 @@ static int rpmb_virt_write(uint32_t ioc_cmd, void* seq_data,
if (out_frame->result == RPMB_RES_OK) {
phy_counter++;
virt_counter++;
- DPRINTF(("%s: rpmb virt ioctl result is ok.\n", __func__));
}
rpmb_replace_frame(out_frame, out_cnt, virt_rpmb_key, NULL,
@@ -384,8 +381,6 @@ static int rpmb_virt_read(uint32_t ioc_cmd, void* seq_data,
uint16_t block_count;
uint8_t uos_id;
- DPRINTF(("enter to %s\n", __func__));
-
if (in_cnt == 0 || in_frame == NULL) {
DPRINTF(("%s: in_frame, in_cnt or seq_data is not available\n", __func__));
return -1;
@@ -435,8 +430,6 @@ static int rpmb_virt_get_counter(struct rpmb_frame* in_frame, uint32_t in_cnt,
int err = RPMB_RES_OK;
int resp = RPMB_RESP_GET_COUNTER;
- DPRINTF(("enter to %s\n", __func__));
-
if (in_cnt == 0 || in_frame == NULL) {
DPRINTF(("%s: in_frame or in_cnt is not available\n", __func__));
return -1;
