Messages in this thread | | | Date | Thu, 13 Oct 2022 15:21:23 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH v14 2/3] virt: Add TDX guest driver |
| |
On Wed, Oct 12, 2022 at 04:01:31PM -0700, Sathyanarayanan Kuppuswamy wrote: > I am fine with adding an error message here. What about the above -EINVAL > case? Do you suggest adding it there as well?
Right, you could dump the req.* fields it read from luserspace so that one staring at the error message can actually see which of the fields failed the check.
Thx.
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
| |