Re: [2/2] virtiofs: Improve error handling in virtio_fs_get_tree()

From: Markus Elfring
Date: Tue Jan 02 2024 - 05:48:04 EST


> Do you consider more clarity in your argumentation?

It is probably clear that the function call “kfree(NULL)” does not perform
data processing which is really useful for the caller.
Such a call is kept in some cases because programmers did not like to invest
development resources for its avoidance.

Regards,
Markus