]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
resource: Make resource_alignment() input const resource
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 29 Apr 2026 12:26:11 +0000 (15:26 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 23 Jun 2026 17:08:51 +0000 (12:08 -0500)
commit71c6e7808ee99a6e1b29bc30486baf825f9ec728
tree82c2e915aa7ac0be63ecf9f0770a7643d371868b
parent854f9522a20b6b61a0d6fc9db53e8a1437f65f08
resource: Make resource_alignment() input const resource

resource_alignment() does not need to change resource so it can be made
const.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260429122617.7324-6-ilpo.jarvinen@linux.intel.com
include/linux/ioport.h
kernel/resource.c