aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cxgbe
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2021-08-22 17:21:01 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2021-08-22 17:43:12 +0000
commiteccb516db8b7fec957b139c3a9a2e16175551067 (patch)
tree61995f62db08bb81b712a018af4495941acd86b2 /sys/dev/cxgbe
parent614faa32691bf9ccd2690624ad37470e08fd14d3 (diff)
downloadsrc-eccb516db8b7fec957b139c3a9a2e16175551067.tar.gz
src-eccb516db8b7fec957b139c3a9a2e16175551067.zip
vm: use __func__ for the correct function name
In fee2a2fa39834d8d5eaa981298fce9d2ed31546d the KASSERTs in vm_page_unwire_noq() changed from "vm_page_unwire" to "vm_page_unref". While the former no longer was part of that function the latter does not exist as a function and is highly confusing when hit when using tools to lookup the functions and not doing a full-text search. Use %s __func__ for printing the function name, as that will do the right thing as code moves around and functions get renamed. Hit: while debugging a wired page leak with linuxkpi/iwlwifi Sponsored by: The FreeBSD Foundation Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D31635
Diffstat (limited to 'sys/dev/cxgbe')
0 files changed, 0 insertions, 0 deletions