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

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

From: Joseph, Jithu <hidden>
Date: 2024-07-12 03:18:40
Also in: platform-driver-x86


On 7/12/2024 2:51 AM, Ashok Raj wrote:
On Thu, Jul 11, 2024 at 12:44:23PM +0300, Ilpo Järvinen wrote:
quoted
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);
Agree, this looks simpler


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