Juergen Gross
2022-Sep-16 10:36 UTC
[PATCH v2] jailhouse: Hold reference returned from of_find_xxx API
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 at 126.com> > Co-developed-by: Kelin Wang <wangkelin2023 at 163.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/20220916/213b5bc3/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/20220916/213b5bc3/attachment.sig>