Fixes:
9ccb76b24c1d ("bus/fslmc: enable portal interrupt handling")
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
snprintf(string, STRING_LEN, "dpio.%d", dpio_id);
file = fopen("/proc/interrupts", "r");
if (!file) {
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) {
return;
}
while (getline(&temp, &len, file) != -1) {
- 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);
dpio_id);
if (temp)
free(temp);
cpu_mask, token);
ret = system(command);
if (ret < 0)
cpu_mask, token);
ret = system(command);
if (ret < 0)
"Failed to affine interrupts on respective core\n");
else
"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);
free(temp);
fclose(file);