summaryrefslogtreecommitdiffstats
path: root/samples/vfio-mdev
diff options
context:
space:
mode:
authorWang Wensheng <wangwensheng4@huawei.com>2021-04-30 07:57:58 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2021-04-30 20:20:39 +0200
commit2284f47fe9fe2ed2ef619e5474e155cfeeebd569 (patch)
tree712b1d0364e2a7904fd5c94d7d23c7eaaa31d968 /samples/vfio-mdev
parentmm/dmapool: switch from strlcpy to strscpy (diff)
downloadlinux-2284f47fe9fe2ed2ef619e5474e155cfeeebd569.tar.xz
linux-2284f47fe9fe2ed2ef619e5474e155cfeeebd569.zip
mm/sparse: add the missing sparse_buffer_fini() in error branch
sparse_buffer_init() and sparse_buffer_fini() should appear in pair, or a WARN issue would be through the next time sparse_buffer_init() runs. Add the missing sparse_buffer_fini() in error branch. Link: https://lkml.kernel.org/r/20210325113155.118574-1-wangwensheng4@huawei.com Fixes: 85c77f791390 ("mm/sparse: add new sparse_init_nid() and sparse_init()") Signed-off-by: Wang Wensheng <wangwensheng4@huawei.com> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Oscar Salvador <osalvador@suse.de> Cc: Pavel Tatashin <pasha.tatashin@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples/vfio-mdev')
0 files changed, 0 insertions, 0 deletions