Changeset a57dde4 in mainline for uspace/srv/bd/hr/hr.c


Ignore:
Timestamp:
2025-03-28T21:28:21Z (11 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
b04f7af
Parents:
5fe0b9b5
Message:

hr: use func for DEBUG printing fcn names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/hr/hr.c

    r5fe0b9b5 ra57dde4  
    101101static void hr_create_srv(ipc_call_t *icall, bool assemble)
    102102{
    103         HR_DEBUG("hr_create_srv()\n");
     103        HR_DEBUG("%s()", __func__);
    104104
    105105        errno_t rc;
     
    232232                break;
    233233        default:
    234                 HR_ERROR("unkown level: %d, aborting\n", new_volume->level);
     234                HR_DEBUG("unkown level: %d, aborting\n", new_volume->level);
    235235                rc = EINVAL;
    236236                goto error;
     
    289289static void hr_stop_srv(ipc_call_t *icall)
    290290{
    291         HR_DEBUG("hr_stop_srv()\n");
     291        HR_DEBUG("%s()", __func__);
    292292
    293293        errno_t rc = EOK;
     
    330330static void hr_add_hotspare_srv(ipc_call_t *icall)
    331331{
    332         HR_DEBUG("hr_add_hotspare()\n");
     332        HR_DEBUG("%s()", __func__);
    333333
    334334        errno_t rc = EOK;
     
    360360static void hr_print_status_srv(ipc_call_t *icall)
    361361{
    362         HR_DEBUG("hr_status_srv()\n");
     362        HR_DEBUG("%s()", __func__);
    363363
    364364        errno_t rc;
     
    428428static void hr_ctl_conn(ipc_call_t *icall, void *arg)
    429429{
    430         HR_DEBUG("hr_ctl_conn()\n");
     430        HR_DEBUG("%s()", __func__);
    431431
    432432        async_accept_0(icall);
     
    466466static void hr_client_conn(ipc_call_t *icall, void *arg)
    467467{
    468         HR_DEBUG("hr_client_conn()\n");
     468        HR_DEBUG("%s()", __func__);
    469469
    470470        hr_volume_t *vol;
Note: See TracChangeset for help on using the changeset viewer.