summaryrefslogtreecommitdiff
path: root/drivers/fpga/tests/fpga-bridge-test.c
diff options
context:
space:
mode:
authorLiu Shixin <liushixin2@huawei.com>2025-04-03 09:41:38 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-04-12 03:32:36 +0300
commit382360d289c1e1d89df06f33c4d5b874b38ef267 (patch)
treef3636601b90e9da3e7126b051b0f05d6f699d3b4 /drivers/fpga/tests/fpga-bridge-test.c
parentc5bb27e2da3a6e1006f3e0aeb36d57c1dd1144aa (diff)
downloadlinux-382360d289c1e1d89df06f33c4d5b874b38ef267.tar.xz
mm/hugetlb: fix nid mismatch in alloc_surplus_hugetlb_folio()
It's wrong to use nid directly since the nid may be changed in allocation. Use folio_nid() to obtain the nid of folio instead. Fix: 2273dea6b1e1 ("mm/hugetlb: update nr_huge_pages and surplus_huge_pages together") Link: https://lkml.kernel.org/r/20250403064138.2867929-1-liushixin2@huawei.com Signed-off-by: Liu Shixin <liushixin2@huawei.com> Acked-by: Oscar Salvador <osalvador@suse.de> Cc: David Hildenbrand <david@redhat.com> Cc: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: Muchun Song <muchun.song@linux.dev> Cc: Nanyong Sun <sunnanyong@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions