]> Gentwo Git Trees - linux/.git/commit
cxl: Set range param for region_res_match_cxl_range() as const
authorDave Jiang <dave.jiang@intel.com>
Fri, 10 Oct 2025 20:57:54 +0000 (13:57 -0700)
committerDave Jiang <dave.jiang@intel.com>
Tue, 14 Oct 2025 20:01:29 +0000 (13:01 -0700)
commit0f6f1982cb28abf1b8a3a8ba906e2c6ade6a70e8
tree456e08404abf4e580b87895c5bba51cab14f14bb
parent2e41e5a91a37202ff6743c3ae5329e106aeb1c6c
cxl: Set range param for region_res_match_cxl_range() as const

The function takes two parameters and compares them. The second parameter
should be const since no modification should be done to it.

Reviewed-by: Gregory Price <gourry@gourry.net>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/core/region.c