diff options
author | 2020-06-26 05:04:52 +0000 | |
---|---|---|
committer | 2020-06-26 05:04:52 +0000 | |
commit | 74585d59ec33407cbbe3f0cbb3fab7f6b4453a50 (patch) | |
tree | faa1691ae7fc742dc1fd3ebeab4ab66117fefd52 | |
parent | allow "ssh-add -d -" to read keys to be deleted from stdin (diff) | |
download | wireguard-openbsd-74585d59ec33407cbbe3f0cbb3fab7f6b4453a50.tar.xz wireguard-openbsd-74585d59ec33407cbbe3f0cbb3fab7f6b4453a50.zip |
drm/amd/display: Use kvfree() to free coeff in build_regamma()
From Denis Efremov
b89722d873c7544fe74f50b7a26e3f2ae50e32ae in linux 5.7.y/5.7.6
81921a828b94ce2816932c19a5ec74d302972833 in mainline linux
-rw-r--r-- | sys/dev/pci/drm/amd/display/modules/color/color_gamma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/display/modules/color/color_gamma.c b/sys/dev/pci/drm/amd/display/modules/color/color_gamma.c index cac09d500fd..e89694eb90b 100644 --- a/sys/dev/pci/drm/amd/display/modules/color/color_gamma.c +++ b/sys/dev/pci/drm/amd/display/modules/color/color_gamma.c @@ -843,7 +843,7 @@ static bool build_regamma(struct pwl_float_data_ex *rgb_regamma, pow_buffer_ptr = -1; // reset back to no optimize ret = true; release: - kfree(coeff); + kvfree(coeff); return ret; } |