On 7/12/2024 2:51 AM, Ashok Raj wrote: > On Thu, Jul 11, 2024 at 12:44:23PM +0300, Ilpo Järvinen wrote: >>> +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
- [PATCH v2 0/4] Add SBAF test to IFS Kuppuswamy Sathyanarayanan
- [PATCH v2 1/4] platform/x86/intel/ifs: Ref... Kuppuswamy Sathyanarayanan
- Re: [PATCH v2 1/4] platform/x86/intel/... Ilpo Järvinen
- [PATCH v2 2/4] platform/x86/intel/ifs: Add... Kuppuswamy Sathyanarayanan
- Re: [PATCH v2 2/4] platform/x86/intel/... Ilpo Järvinen
- [PATCH v2 3/4] platform/x86/intel/ifs: Add... Kuppuswamy Sathyanarayanan
- Re: [PATCH v2 3/4] platform/x86/intel/... Ilpo Järvinen
- Re: [PATCH v2 3/4] platform/x86/in... Kuppuswamy Sathyanarayanan
- Re: [PATCH v2 3/4] platform/x8... Joseph, Jithu
- Re: [PATCH v2 3/4] platform/x86/in... Ashok Raj
- Re: [PATCH v2 3/4] platform/x8... Joseph, Jithu
- [PATCH v2 4/4] trace: platform/x86/intel/i... Kuppuswamy Sathyanarayanan
- Re: [PATCH v2 4/4] trace: platform/x86... Ilpo Järvinen
- Re: [PATCH v2 4/4] trace: platform/x86... Steven Rostedt