* BSD LICENSE
*
* Copyright (c) 2016 Freescale Semiconductor, Inc. All rights reserved.
- * Copyright (c) 2016 NXP. All rights reserved.
+ * Copyright 2016 NXP.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
snprintf(string, STRING_LEN, "dpio.%d", dpio_id);
file = fopen("/proc/interrupts", "r");
if (!file) {
- PMD_DRV_LOG(WARN, "Failed to open /proc/interrupts file\n");
+ PMD_DRV_LOG(WARNING, "Failed to open /proc/interrupts file\n");
return;
}
while (getline(&temp, &len, file) != -1) {
}
if (!token) {
- PMD_DRV_LOG(WARN, "Failed to get interrupt id for dpio.%d\n",
+ PMD_DRV_LOG(WARNING, "Failed to get interrupt id for dpio.%d\n",
dpio_id);
if (temp)
free(temp);
cpu_mask, token);
ret = system(command);
if (ret < 0)
- PMD_DRV_LOG(WARN,
+ PMD_DRV_LOG(WARNING,
"Failed to affine interrupts on respective core\n");
else
- PMD_DRV_LOG(WARN, " %s command is executed\n", command);
+ PMD_DRV_LOG(WARNING, " %s command is executed\n", command);
free(temp);
fclose(file);
io_space_count++;
dpio_dev->index = io_space_count;
TAILQ_INSERT_TAIL(&dpio_dev_list, dpio_dev, next);
- PMD_INIT_LOG(DEBUG, "DPAA2: Added [dpio-%d]", object_id);
+ PMD_INIT_LOG(DEBUG, "DPAA2: Added [dpio.%d]", object_id);
return 0;
}