Thread (15 messages) 15 messages, 5 authors, 2024-07-12

Re: [PATCH v2 3/4] platform/x86/intel/ifs: Add SBAF test support

From: Ashok Raj <hidden>
Date: 2024-07-11 21:21:58
Also in: platform-driver-x86

On Thu, Jul 11, 2024 at 12:44:23PM +0300, Ilpo Järvinen wrote:
quoted
+static bool sbaf_bundle_completed(union ifs_sbaf_status status)
+{
+	if (status.sbaf_status || status.error_code)
+		return false;
+	return true;
This is same as:

	return !status.sbaf_status && !status.error_code;
Maybe another simplification

	return !(status.sbaf_status || status.error_code);


-- 
Cheers,
Ashok
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help