]> git.baikalelectronics.ru Git - kernel.git/commit
resource: Set type when reserving new regions
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 1 Dec 2017 20:07:18 +0000 (14:07 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 19 Dec 2017 05:07:47 +0000 (23:07 -0600)
commit261552b64e93d5c60407f26653ab804ffc73474d
tree1d2e1a501b6ebc2412ff34e26b97af9ab28812f8
parenta92bb198064d0321f4cdb1a77135ca437524c8d9
resource: Set type when reserving new regions

Set resource structs inserted by __reserve_region_with_split() to have the
correct type.  Setting the type doesn't fix any functional problem but
makes %pR on the resource work better.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
kernel/resource.c