Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76a4d10e authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent af31ed21
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@ int snd_device_free(struct snd_card *card, void *device_data)
		kfree(dev);
		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));
	return -ENXIO;
}
@@ -135,7 +135,7 @@ int snd_device_disconnect(struct snd_card *card, void *device_data)
		}
		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));
	return -ENXIO;
}