mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
ALSA: Print function symbol in the error messages
Use the new %pF for error messages in snd_device_*() functions to give more understandable results. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
af31ed217a
commit
76a4d10e52
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ int snd_device_free(struct snd_card *card, void *device_data)
|
||||||
kfree(dev);
|
kfree(dev);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
snd_printd("device free %p (from %p), not found\n", device_data,
|
snd_printd("device free %p (from %pF), not found\n", device_data,
|
||||||
__builtin_return_address(0));
|
__builtin_return_address(0));
|
||||||
return -ENXIO;
|
return -ENXIO;
|
||||||
}
|
}
|
||||||
|
@ -135,7 +135,7 @@ int snd_device_disconnect(struct snd_card *card, void *device_data)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
snd_printd("device disconnect %p (from %p), not found\n", device_data,
|
snd_printd("device disconnect %p (from %pF), not found\n", device_data,
|
||||||
__builtin_return_address(0));
|
__builtin_return_address(0));
|
||||||
return -ENXIO;
|
return -ENXIO;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue