Juergen Gross
2022-Sep-15 07:00 UTC
[PATCH] jailhouse: Hold reference returned from of_find_xxx API
On 15.09.22 04:23, 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 at 126.com> > Signed-off-by: Kelin Wang <wangkelin2023 at 163.com>Reviewed-by: Juergen Gross <jgross at suse.com> Juergen -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_0xB0DE9DD628BF132F.asc Type: application/pgp-keys Size: 3098 bytes Desc: OpenPGP public key URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20220915/f397188b/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 495 bytes Desc: OpenPGP digital signature URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20220915/f397188b/attachment.sig>