Re: [PATCH v2] jailhouse: Hold reference returned from of_find_xxx API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16.09.22 11:00, Liang He wrote:
In jailhouse_paravirt(), we should hold the reference returned from
of_find_compatible_node() which has increased the refcount and then
call of_node_put() with it when done.

Fixes: 63338a38db95 ("jailhouse: Provide detection for non-x86 systems")
Signed-off-by: Liang He <windhl@xxxxxxx>
Co-developed-by: Kelin Wang <wangkelin2023@xxxxxxx>
Signed-off-by: Kelin Wang <wangkelin2023@xxxxxxx>

Reviewed-by: Juergen Gross <jgross@xxxxxxxx>


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux