]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
resource: correct reallocate_resource() documentation
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 9 Oct 2024 12:57:51 +0000 (15:57 +0300)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 6 Nov 2024 01:12:31 +0000 (17:12 -0800)
commit834b251b1db6b88b9364955196e5e32746e5ccc7
tree751f310a5f5cdb198c37d48b06020ebf30440f0e
parent5a3c9366cbbf876521f570ce1fb525dc2cb0ed5c
resource: correct reallocate_resource() documentation

reallocate_resource() documentation claims constraint is about "the size
and alignment" but the size is provided in another parameter.  Instead of
size, constraint has the allowed memory range (min, max) so change the
wording to reflect that.

Link: https://lkml.kernel.org/r/20241009125751.8090-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/resource.c