Thread (27 messages) 27 messages, 8 authors, 2021-07-15

Re: [PATCH v2 1/6] x86/tdx: Add TDREPORT TDX Module call support

flat view

From: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Date: 2021-07-08 17:07:08
Also in: bpf, lkml, platform-driver-x86


On 7/8/21 7:20 AM, Hans de Goede wrote:
Yes, new error codes might be introduced and you might forget to
update this (or other) checks.

Checking for errors really MUST always be done by checking for
ret != success (typically ret != 0 or ret < 0).

Only checking for known error codes means that if somehow an
unknown error code gets thrown this gets treated as success,
which is not acceptable behavior.
Got it. I will include this change in next version.

-- 
Sathyanarayanan Kuppuswamy
Linux Kernel Developer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help